17 #ifndef _FUELCELL__APP_READ_MESH__H
18 #define _FUELCELL__APP_READ_MESH__H
24 using namespace dealii;
34 namespace InitialSolution
60 void vector_value (
const Point<dim> &p,
61 Vector<double> &v )
const;
63 double value (
const Point<dim> &,
const unsigned int)
const;
70 component_names = names;
107 AppReadMesh ( boost::shared_ptr<FuelCell::ApplicationCore::ApplicationData> data =
108 boost::shared_ptr<FuelCell::ApplicationCore::ApplicationData> () );
120 virtual void declare_parameters ( ParameterHandler& param );
126 void _initialize ( ParameterHandler& param );
131 virtual void initialize ( ParameterHandler& param );
137 std::shared_ptr<Function<dim> > initial_function = std::shared_ptr<Function<dim> >());
173 virtual void data_out (
const std::string &basename,
WHAT DOES THIS APPLICATION DO?
Definition: app_read_mesh.h:95
std::vector< std::string > design_var
Stores the design variable names so that the name can be appended to the .vtk file name...
Definition: app_read_mesh.h:201
std::vector< std::string > component_names
List of solution variables.
Definition: app_read_mesh.h:78
virtual void solve(FEVector &dst, const FEVectors &src)
Reimplementation of the pure virtual solve function.
Definition: app_read_mesh.h:181
void set_solution_names(std::vector< std::string > names)
Function to set the component names of the initial solution.
Definition: app_read_mesh.h:68
void cell_residual(FuelCell::ApplicationCore::FEVector &, const typename DoFApplication< dim >::CellInfo &)
Integration of the rhs of the equations.
Definition: app_read_mesh.h:148
This class is created for the objects handed to the mesh loops.
Definition: mesh_loop_info_objects.h:544
std::vector< std::string > equation_names
Structure where we store the problem we want to solve.
Definition: app_read_mesh.h:192
std::vector< std::string > component_names
Structure where we store the name of each component in our problem.
Definition: app_read_mesh.h:198
This class is used when solving the problem using Newton's method to provide an initial solution...
Definition: app_read_mesh.h:43
void cell_responses(std::vector< double > &, const typename DoFApplication< dim >::CellInfo &, const FuelCell::ApplicationCore::FEVector &)
Compute the value of all objective function and constraints.
Definition: app_read_mesh.h:155
void global_responses(std::vector< double > &, const FuelCell::ApplicationCore::FEVector &)
This class is used to evaluate all responses that do not require looping over cells.
Definition: app_read_mesh.h:164
BlockVector< double > FEVector
The vector class used by applications.
Definition: application_data.h:46
The data type used in function calls of Application.
Definition: fe_vectors.h:59
Application handling matrices and assembling the linear system to solve the sensitivity equations...
Definition: optimization_block_matrix_application.h:49
std::vector< double > design_var_value
Stores the values of the design variables so that the number can be appended to the ...
Definition: app_read_mesh.h:204