22 template<
class TSparseSpace,
class TDenseSpace>
33 if (rSolverSettings[
"scheme_type"].GetString() ==
"Backward_Euler" &&
34 rSolverSettings[
"solution_type"].GetString() ==
"Quasi-Static")
36 return std::make_shared<BackwardEulerQuasistaticUPwScheme<TSparseSpace, TDenseSpace>>();
39 KRATOS_ERROR <<
"Specified solution_type/scheme_type is not supported, aborting";
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
bool Has(const std::string &rEntry) const
This method checks if the Parameter contains a certain entry.
Definition: kratos_parameters.cpp:520
Definition: scheme_factory.hpp:24
static std::shared_ptr< SchemeType > Create(const Parameters &rSolverSettings)
Definition: scheme_factory.hpp:28
This class provides the implementation of the basic tasks that are needed by the solution strategy.
Definition: scheme.h:56
#define KRATOS_ERROR
Definition: exception.h:161
#define KRATOS_ERROR_IF_NOT(conditional)
Definition: exception.h:163
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21