14 #if !defined (KRATOS_AMGCL_MPI_SOLVER_H_INCLUDED)
15 #define KRATOS_AMGCL_MPI_SOLVER_H_INCLUDED
17 #ifndef AMGCL_PARAM_UNKNOWN
19 # define AMGCL_PARAM_UNKNOWN(name) \
20 Kratos::Logger("AMGCL") << KRATOS_CODE_LOCATION << Kratos::Logger::Severity::WARNING << "Unknown parameter " << name << std::endl
49 template<
class TSparseSpaceType,
class TDenseSpaceType,
50 class TReordererType = Reorderer<TSparseSpaceType, TDenseSpaceType> >
88 AMGCLSolver< TSparseSpaceType,TDenseSpaceType, TReordererType>(ThisParameters) { }
110 rOStream <<
"AMGCL-MPI-Solver";
118 template<
class TSparseSpaceType,
class TDenseSpaceType,
class TReordererType>
121 TDenseSpaceType, TReordererType>& rThis)
123 rThis.PrintInfo(rOStream);
124 rOStream << std::endl;
125 rThis.PrintData(rOStream);
This is a multigrid solver based on the AMGCL library.
Definition: amgcl_solver.h:112
This is a multigrid solver based on the AMGCL library.
Definition: amgcl_mpi_solver.h:52
TSparseSpaceType::MatrixType SparseMatrixType
The sparse matric type.
Definition: amgcl_mpi_solver.h:61
AmgclMPISolver(const AmgclMPISolver &Other)=delete
Copy constructor.
TDenseSpaceType::MatrixType DenseMatrixType
Dense matrix type.
Definition: amgcl_mpi_solver.h:67
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: amgcl_mpi_solver.h:108
AmgclMPISolver(Parameters ThisParameters=Parameters(R"({})"))
This is the default constructor.
Definition: amgcl_mpi_solver.h:86
~AmgclMPISolver() override=default
Destructor.
std::size_t IndexType
The index type definition.
Definition: amgcl_mpi_solver.h:73
KRATOS_CLASS_POINTER_DEFINITION(AmgclMPISolver)
Pointer definition of AmgclMPISolver.
TSparseSpaceType::VectorType VectorType
Vector type definition.
Definition: amgcl_mpi_solver.h:64
AmgclMPISolver & operator=(const AmgclMPISolver &Other)=delete
Assignment operator.
ModelPart::DofsArrayType DofsArrayType
DofArray type.
Definition: amgcl_mpi_solver.h:70
std::size_t SizeType
The size type definition.
Definition: amgcl_mpi_solver.h:76
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
A sorted associative container similar to an STL set, but uses a vector to store pointers to its data...
Definition: pointer_vector_set.h:72
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