56 template <
typename TSparseSpace,
typename TLocalSpace,
typename TLinearSolverType>
92 template <
typename TSparseSpace,
typename TLocalSpace,
typename TLinearSolverType>
96 rOStream <<
"TrilinosLinearSolverFactory" << std::endl;
112 #ifdef KRATOS_REGISTER_TRILINOS_LINEAR_SOLVER
113 #undef KRATOS_REGISTER_TRILINOS_LINEAR_SOLVER
115 #define KRATOS_REGISTER_TRILINOS_LINEAR_SOLVER(name, reference) ; \
116 KratosComponents<TrilinosLinearSolverFactoryType>::Add(name, reference);
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
Here we add the functions needed for the registration of linear solvers.
Definition: trilinos_linear_solver_factory.h:59
LinearSolverType::Pointer CreateSolver(Kratos::Parameters settings) const override
This method is an auxiliar method to create a new solver.
Definition: trilinos_linear_solver_factory.h:75
The space adapted for Trilinos vectors and matrices.
Definition: trilinos_space.h:75
A class template for handling data types, matrices, and vectors in a Ublas space.
Definition: ublas_space.h:121
TrilinosSpace< Epetra_FECrsMatrix, Epetra_FEVector > TrilinosSparseSpaceType
Definition: trilinos_linear_solver_factory.h:107
#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
UblasSpace< double, Matrix, Vector > TrilinosLocalSpaceType
Definition: trilinos_linear_solver_factory.h:108
LinearSolverFactory< TrilinosSparseSpaceType, TrilinosLocalSpaceType > TrilinosLinearSolverFactoryType
Definition: trilinos_linear_solver_factory.h:110
void RegisterTrilinosLinearSolvers()
Definition: trilinos_linear_solver_factory.cpp:41
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