17 #ifndef _FUELCELLSHOP__MEMBRANE_LAYER_H
18 #define _FUELCELLSHOP__MEMBRANE_LAYER_H
26 namespace FuelCellShop
157 iterator->second->declare_parameters(pem_section_name, param);
164 const std::vector<double>& value_dvar,
165 const std::string pem_section_name,
166 ParameterHandler ¶m)
172 iterator->second->set_parameters(name_dvar, value_dvar, pem_section_name, param);
190 static boost::shared_ptr<FuelCellShop::Layer::MembraneLayer<dim> >
create_MembraneLayer (std::string pem_section_name,
191 ParameterHandler ¶m)
193 boost::shared_ptr<FuelCellShop::Layer::MembraneLayer<dim> > pointer;
195 std::string concrete_name;
196 param.enter_subsection(
"Fuel cell data");
198 param.enter_subsection(pem_section_name);
200 concrete_name = param.get(
"Membrane layer type");
201 deallog <<
"name: "<<concrete_name.c_str()<<std::endl;
203 param.leave_subsection();
205 param.leave_subsection();
211 if (iterator->second)
217 deallog<<
"Pointer not initialized"<<std::endl;
223 deallog<<
"Concrete name in FuelCellShop::Layer::MembraneLayer<dim>::create_MembraneLayer does not exist"<<std::endl;
227 pointer->initialize(param);
388 ParameterHandler ¶m)
const;
395 const std::vector<double>& value_dvar,
396 const std::string&
name,
397 ParameterHandler ¶m)
const
430 virtual boost::shared_ptr<FuelCellShop::Layer::MembraneLayer<dim> >
create_replica (std::string &
name)
432 const std::type_info& info =
typeid(*this);
433 deallog <<
"Pure function " << __FUNCTION__
434 <<
" called in Class "
435 << info.name() << std::endl;
450 boost::shared_ptr< FuelCellShop::Material::PolymerElectrolyteBase >
electrolyte;