14typename AssembleFEFactory<SC,LO,GO,NO>::AssembleFEPtr_Type
AssembleFEFactory<SC,LO,GO,NO>::build(std::string problemType,
int flag, vec2D_dbl_Type nodesRefConfig, ParameterListPtr_Type params,tuple_disk_vec_ptr_Type tuple)
16 AssembleFEPtr_Type assembleFE;
18 AssembleFEPtr_Type assembleFESpecific;
20 if(problemType ==
"Laplace"){
23 assembleFE = assembleFESpecific;
25 else if (problemType ==
"NonLinearLaplace") {
28 assembleFE = assembleFESpecific;
30 else if(problemType ==
"NavierStokes"){
32 assembleFE = assembleFESpecific;
34 else if(problemType ==
"GeneralizedNewtonian"){
36 assembleFE = assembleFESpecific;
38 else if(problemType ==
"LinearElasticity"){
40 assembleFE = assembleFESpecific;
42 else if(problemType ==
"NonLinearElasticity"){
44 assembleFE = assembleFESpecific;
46 else if(problemType ==
"NonLinearElasticity2"){
48 assembleFE = assembleFESpecific;
50 else if(problemType ==
"SCI_NH"){
52 assembleFE = assembleFESpecific;
55 else if(problemType ==
"SCI_SMC_MLCK"){
57 assembleFE = assembleFESpecific;
59 else if(problemType ==
"SCI_SMC_Active_Growth_Reorientation"){
61 assembleFE = assembleFESpecific;
64 TEUCHOS_TEST_FOR_EXCEPTION(
true, std::logic_error,
"AssembleFE for problem \"" + problemType +
"\" is not implemented");
AssembleFEPtr_Type build(std::string problemType, int flag, vec2D_dbl_Type nodesRefConfig, ParameterListPtr_Type params, tuple_disk_vec_ptr_Type tuple)
We only need this one function to build assembleFE, where we define the problem type and the Assemble...
Definition AssembleFEFactory_def.hpp:14