46 #ifndef MUELU_CGSOLVER_DECL_HPP 47 #define MUELU_CGSOLVER_DECL_HPP 49 #include <Xpetra_Matrix_fwd.hpp> 50 #include <Xpetra_MultiVector_fwd.hpp> 51 #include <Xpetra_CrsMatrixWrap_fwd.hpp> 52 #include <Xpetra_CrsMatrixFactory_fwd.hpp> 76 template <
class Scalar =
double,
class LocalOrdinal =
int,
class GlobalOrdinal = LocalOrdinal,
class Node = KokkosClassic::DefaultNode::DefaultNodeType>
78 #undef MUELU_CGSOLVER_SHORT 106 #define MUELU_CGSOLVER_SHORT 107 #endif // MUELU_CGSOLVER_DECL_HPP Implements conjugate gradient algorithm for energy-minimization.
Constraint space information for the potential prolongator.
Namespace for MueLu classes and methods.
void Iterate(const Matrix &A, const Constraint &C, const Matrix &P0, RCP< Matrix > &P) const
Iterate.
size_t nIts_
Number of performed iterations.
Base class for energy-minimization iterative solvers.