1 #ifndef VERTEXCFD_FULLINDUCTIONINITIALCONDITIONFACTORY_IMPL_HPP
2 #define VERTEXCFD_FULLINDUCTIONINITIALCONDITIONFACTORY_IMPL_HPP
4 #include "VertexCFD_InitialCondition_DivergenceAdvectionTest.hpp"
5 #include "VertexCFD_InitialCondition_MHDVortexProblem.hpp"
9 namespace InitialCondition
12 template<
class EvalType,
int NumSpaceDim>
13 void FullInductionICFactory<EvalType, NumSpaceDim>::buildClosureModel(
14 const std::string& ic_type,
15 const std::vector<Teuchos::RCP<const panzer::PureBasis>>& bases,
16 const Teuchos::ParameterList& ,
17 const Teuchos::ParameterList& ic_params,
19 std::string& error_msg,
20 Teuchos::RCP<std::vector<Teuchos::RCP<PHX::Evaluator<panzer::Traits>>>>
23 if (ic_type ==
"MHDVortexProblem")
25 for (
const auto& b : bases)
27 auto eval = Teuchos::rcp(
28 new MHDVortexProblem<EvalType, panzer::Traits, num_space_dim>(
30 evaluators->push_back(eval);
35 if (ic_type ==
"DivergenceAdvectionTest")
37 for (
const auto& b : bases)
39 auto eval = Teuchos::rcp(
40 new DivergenceAdvectionTest<EvalType, panzer::Traits, num_space_dim>(
42 evaluators->push_back(eval);
47 error_msg = availableInitialConditions();
55 #endif // end VERTEXCFD_FULLINDUCTIONINITIALCONDITIONFACTORY_IMPL_HPP