17 #ifndef _FUELCELL__APP_READ_MESH__H
18 #define _FUELCELL__APP_READ_MESH__H
21 #include "base/parameter_handler.h"
22 #include "base/function_lib.h"
23 #include "base/function.h"
24 #include "base/quadrature_lib.h"
26 #include "lac/block_vector.h"
27 #include "lac/solver_cg.h"
28 #include "lac/solver_gmres.h"
29 #include "lac/precondition.h"
30 #include "lac/precondition_block.h"
31 #include "lac/block_matrix_array.h"
32 #include "lac/filtered_matrix.h"
33 #include "lac/sparse_ilu.h"
34 #include "lac/sparse_direct.h"
36 #include "grid/grid_generator.h"
37 #include "grid/tria_accessor.h"
38 #include "grid/tria_iterator.h"
39 #include "grid/tria_boundary_lib.h"
41 #include "fe/fe_values.h"
43 #include "numerics/vector_tools.h"
44 #include "numerics/matrix_tools.h"
45 #include "numerics/error_estimator.h"
46 #include "base/data_out_base.h"
47 #include "numerics/data_out.h"
48 #include "boost/shared_ptr.hpp"
69 using namespace dealii;
79 namespace InitialSolution
105 void vector_value (
const Point<dim> &p,
108 double value (
const Point<dim> &,
const unsigned int)
const;
113 void set_solution_names ( std::vector<std::string> names )
115 component_names = names;
128 namespace Application
152 AppReadMesh ( boost::shared_ptr<AppFrame::ApplicationData> data =
153 boost::shared_ptr<AppFrame::ApplicationData> () );
165 virtual void declare_parameters ( ParameterHandler& param );
171 void _initialize ( ParameterHandler& param );
176 virtual void initialize ( ParameterHandler& param );
182 void initialize_grid ( ParameterHandler& param );
206 void cell_responses ( std::vector<double>& ,
215 void global_responses ( std::vector<double>&,
224 virtual void data_out (
const std::string &basename,
229 boost::shared_ptr< FuelCellShop::Geometry::GridBase<dim> >
grid;