21 #ifndef _SIMULATION_SELECTOR_H_ 
   22 #define _SIMULATION_SELECTOR_H_ 
   27 #include <boost/shared_ptr.hpp> 
   56 using namespace boost;
 
   77        SimulationSelector(boost::shared_ptr< FuelCell::ApplicationCore::ApplicationData > data = 
 
   78             boost::shared_ptr< FuelCell::ApplicationCore::ApplicationData >());
 
   88        void declare_parameters(ParameterHandler& param) 
const;
 
   93        void initialize(ParameterHandler& param);
 
  109        boost::shared_ptr< FuelCell::ApplicationCore::OptimizationBlockMatrixApplication<dim> > select_application();
 
  131               std::stringstream result;
 
  145                      << 
"meaTwoPhaseSaturationNIT" 
  157                      << 
"meaTwoPhaseNITcapillary" 
  159                      << 
"Capillary_Testing";
 
  169               std::stringstream result;
 
  183                      << 
"reaction_and_knudsen";
 
  193               std::stringstream result;
 
  199                      << 
"NewtonLineSearch" 
  213               std::stringstream result;
 
  215               result << 
"AdaptiveRefinement";
 
  228        boost::shared_ptr <FuelCell::ApplicationCore::ApplicationData> 
data;
 
std::string name_nonlinear_solver
The name of a nonlinear solver. 
Definition: simulation_selector.h:245
 
This class selects an openFCST application which will run. 
Definition: simulation_selector.h:70
 
std::string app_specification
Variable storing the name of the concrete application to be solved from the broader class of applicat...
Definition: simulation_selector.h:240
 
const std::string get_simulator_specifications() const 
This function forms the string of names. 
Definition: simulation_selector.h:167
 
std::string name_application
Name of application. 
Definition: simulation_selector.h:233
 
This class implements either iterative or time-stepping wrapper of applications. 
Definition: application_wrapper.h:39
 
std::string name_refinement_method
Name of refinement method. 
Definition: simulation_selector.h:250
 
const std::string get_simulator_names() const 
This function forms the string of names. 
Definition: simulation_selector.h:129
 
const std::string get_refinement_methods() const 
This function forms the string of names. 
Definition: simulation_selector.h:211
 
BlockVector< double > FEVector
The vector class used by applications. 
Definition: application_data.h:46
 
Application handling matrices and assembling the linear system to solve the sensitivity equations...
Definition: optimization_block_matrix_application.h:49
 
boost::shared_ptr< FuelCell::ApplicationCore::ApplicationData > data
Data structure storing information to be shared between applications. 
Definition: simulation_selector.h:228
 
const std::string get_nonlinear_solver_names() const 
This function forms the string of names. 
Definition: simulation_selector.h:191