14 #if !defined(KRATOS_STANDARD_LINEAR_SOLVER_FACTORY_H_INCLUDED )
15 #define KRATOS_STANDARD_LINEAR_SOLVER_FACTORY_H_INCLUDED
59 template <
typename TSparseSpace,
typename TLocalSpace,
typename TLinearSolverType>
80 if(settings.
Has(
"scaling") && settings[
"scaling"].
GetBool()) {
81 auto pinner_solver =
typename LinearSolverType::Pointer(
new TLinearSolverType(settings));
101 template <
typename TSparseSpace,
typename TLocalSpace,
typename TLinearSolverType>
105 rOStream <<
"StandardLinearSolverFactory" << std::endl;
Here we add the functions needed for the registration of linear solvers.
Definition: linear_solver_factory.h:62
Base class for all the linear solvers in Kratos.
Definition: linear_solver.h:65
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
bool GetBool() const
This method returns the boolean contained in the current Parameter.
Definition: kratos_parameters.cpp:675
This solvers rescales in order to improve the conditioning of the system.
Definition: scaling_solver.h:64
Here we add the functions needed for the registration of linear solvers.
Definition: standard_linear_solver_factory.h:62
LinearSolverType::Pointer CreateSolver(Kratos::Parameters settings) const override
This method is an auxiliar method to create a new solver.
Definition: standard_linear_solver_factory.h:78
void RegisterLinearSolvers()
Definition: standard_linear_solver_factory.cpp:35
LinearSolver< TSpaceType< TDataType >, TLocalSpaceType< TOtherDataType > > TLinearSolverType
Definition: add_linear_solvers_to_python.cpp:50
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
std::ostream & operator<<(std::ostream &rOStream, const LinearMasterSlaveConstraint &rThis)
output stream function
Definition: linear_master_slave_constraint.h:432