10 #if !defined(KRATOS_DENSE_LINEAR_SOLVER_FACTORY_H_INCLUDED )
11 #define KRATOS_DENSE_LINEAR_SOLVER_FACTORY_H_INCLUDED
53 template <
typename TGlobalSpace,
typename TLocalSpace,
typename TLinearSolverType>
89 template <
typename TGlobalSpace,
typename TLocalSpace,
typename TLinearSolverType>
93 rOStream <<
"DenseLinearSolverFactory" << std::endl;
106 #ifdef KRATOS_REGISTER_DENSE_LINEAR_SOLVER
107 #undef KRATOS_REGISTER_DENSE_LINEAR_SOLVER
109 #define KRATOS_REGISTER_DENSE_LINEAR_SOLVER(name, reference) ; \
110 KratosComponents<DenseLinearSolverFactoryType>::Add(name, reference);
116 #ifdef KRATOS_REGISTER_COMPLEX_DENSE_LINEAR_SOLVER
117 #undef KRATOS_REGISTER_COMPLEX_DENSE_LINEAR_SOLVER
119 #define KRATOS_REGISTER_COMPLEX_DENSE_LINEAR_SOLVER(name, reference) ; \
120 KratosComponents<ComplexDenseLinearSolverFactoryType>::Add(name, reference);
Here we add the functions needed for the registration of dense linear solvers.
Definition: dense_linear_solver_factory.h:56
LinearSolverType::Pointer CreateSolver(Kratos::Parameters settings) const override
This method is an auxiliar method to create a new solver.
Definition: dense_linear_solver_factory.h:72
KratosComponents class encapsulates a lookup table for a family of classes in a generic way.
Definition: kratos_components.h:49
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
void RegisterDenseLinearSolvers()
Definition: dense_linear_solver_factory.cpp:24
#define KRATOS_API_EXTERN
Definition: kratos_export_api.h:57
#define KRATOS_API(...)
Definition: kratos_export_api.h:40
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
LinearSolverFactory< ComplexLocalSparseSpaceType, ComplexLocalSparseSpaceType > ComplexDenseLinearSolverFactoryType
Definition: dense_linear_solver_factory.h:114
std::ostream & operator<<(std::ostream &rOStream, const LinearMasterSlaveConstraint &rThis)
output stream function
Definition: linear_master_slave_constraint.h:432
LinearSolver< SparseSpaceType, LocalSpaceType > LinearSolverType
Definition: distance_smoothing_process.cpp:23
LinearSolverFactory< LocalSparseSpaceType, LocalSparseSpaceType > DenseLinearSolverFactoryType
Definition: dense_linear_solver_factory.h:104