17 #ifndef _FUELCELLSHOP__SOLID_LAYER_H
18 #define _FUELCELLSHOP__SOLID_LAYER_H
29 #include <deal.II/base/parameter_handler.h>
30 #include <deal.II/base/point.h>
31 #include <deal.II/base/function.h>
32 #include <deal.II/lac/vector.h>
33 #include <deal.II/fe/fe_values.h>
39 using namespace dealii;
41 namespace FuelCellShop
94 virtual void effective_electron_conductivity(Tensor<2,dim>& )
const;
101 virtual void effective_electron_conductivity(std::vector<Tensor<2,dim>>& )
const;
109 virtual void derivative_effective_electron_conductivity(std::map<
VariableNames, Tensor<2,dim>>& )
const;
117 virtual void derivative_effective_electron_conductivity(std::vector< std::map<
VariableNames, Tensor<2,dim> > >& )
const;
122 virtual void effective_thermal_conductivity(Tensor<2,dim>& )
const;
131 virtual void effective_thermal_conductivity(std::vector< Tensor<2,dim> >&)
const;
137 virtual void derivative_effective_thermal_conductivity(std::map<
VariableNames, Tensor<2,dim> >& )
const;
143 virtual void derivative_effective_thermal_conductivity(std::vector< std::map<
VariableNames, Tensor<2,dim> > >& )
const;
149 inline void set_solution (std::map<VariableNames, SolutionVariable>& sol)
152 for (std::map<VariableNames, SolutionVariable>::iterator iterator = sol.begin();
153 iterator != sol.end();
156 Assert( iterator->second.get_variablename() == iterator->first, ExcMessage(
"Wrong solution variable passed in PureSolid::set_solution.") );
159 this->Solutions = sol;
199 SolidLayer(
const std::string §ion_layer_name, ParameterHandler& param);
223 void declare_parameters (
const std::string& solidlayer_section_name,
224 ParameterHandler ¶m)
const;
230 void initialize (ParameterHandler ¶m) ;
241 boost::shared_ptr<FuelCellShop::Material::PureSolid>
solid;
270 #endif // _FUELCELLSHOP__SOLID_LAYER_H
std::map< VariableNames, SolutionVariable > Solutions
Solutions at every quadrature point inside the cell.
Definition: solid_layer.h:253
std::vector< unsigned int > boundary_ids
Boundary ids.
Definition: solid_layer.h:238
VariableNames
The enumeration containing the names of some of the available FCST solution variables and their deriv...
Definition: system_management.h:63
This structure is used to encapsulate data from constant values and variable solution data that is us...
Definition: fcst_variables.h:86
void set_solution(std::map< VariableNames, SolutionVariable > &sol)
Member function used to set the solution [Kelvin] at every quadrature point inside the cell...
Definition: solid_layer.h:149
boost::shared_ptr< FuelCellShop::Material::PureSolid > solid
Data member that stores the solid material the layer is made of.
Definition: solid_layer.h:241
This class is used to represent a solid layer.
Definition: solid_layer.h:83
const std::type_info & get_base_type() const
This member function returns a type_info object with the name of the base layer type the inherited cl...
Definition: solid_layer.h:181
std::string concrete_solid_name
Name in the input file used to select the material.
Definition: solid_layer.h:244
SolutionVariable T_vector
Solution Varaible at each quadrature point.
Definition: solid_layer.h:247
Virtual class used to characterize a generic layer interface.
Definition: base_layer.h:58
std::map< VariableNames, SolutionVariable >::iterator solution_iterator
Definition: solid_layer.h:258
VariableNames temperature_enum
Definition: solid_layer.h:263