35 #include "libmesh/getpot.h"
51 bool mesh_adaptive = input(
"MeshAdaptivity/mesh_adaptive",
false );
53 bool transient = input(
"unsteady-solver/transient",
false );
55 std::tr1::shared_ptr<Solver> solver;
57 std::string solver_type = input(
"SolverOptions/solver_type",
"DIE!");
59 if( solver_type == std::string(
"displacement_continuation") )
63 else if(
transient && !mesh_adaptive)
67 else if( !
transient && !mesh_adaptive )
71 else if( !
transient && mesh_adaptive )
75 else if(
transient && mesh_adaptive )
77 libmesh_not_implemented();
81 std::cerr <<
"Invalid solver options!" << std::endl;
virtual std::tr1::shared_ptr< GRINS::Solver > build(const GetPot &input)
Builds GRINS::Solver object.