16typename 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)
18 AssembleFEPtr_Type assembleFE;
20 AssembleFEPtr_Type assembleFESpecific;
22 if(problemType ==
"Laplace"){
25 assembleFE = assembleFESpecific;
27 else if (problemType ==
"NonLinearLaplace") {
30 assembleFE = assembleFESpecific;
32 else if(problemType ==
"NavierStokes"){
34 assembleFE = assembleFESpecific;
36 else if(problemType ==
"GeneralizedNewtonian"){
38 assembleFE = assembleFESpecific;
40 else if(problemType ==
"LinearElasticity"){
42 assembleFE = assembleFESpecific;
44 else if(problemType ==
"NonLinearElasticity"){
46 assembleFE = assembleFESpecific;
48 else if(problemType ==
"NonLinearElasticity2"){
50 assembleFE = assembleFESpecific;
52 else if(problemType ==
"SCI_NH"){
54 assembleFE = assembleFESpecific;
57 else if(problemType ==
"SCI_SMC_MLCK"){
59 assembleFE = assembleFESpecific;
61 else if(problemType ==
"SCI_SMC_Active_Growth_Reorientation"){
63 assembleFE = assembleFESpecific;
66 TEUCHOS_TEST_FOR_EXCEPTION(
true, std::logic_error,
"No specific implementation for your request.");
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:16