10#ifndef MUELU_CGSOLVER_DECL_HPP
11#define MUELU_CGSOLVER_DECL_HPP
13#include <Xpetra_Matrix_fwd.hpp>
14#include <Xpetra_CrsMatrixWrap_fwd.hpp>
15#include <Xpetra_CrsMatrixFactory_fwd.hpp>
44#undef MUELU_CGSOLVER_SHORT
62 void Iterate(
const Matrix& A,
const Constraint& C,
const Matrix& P0, RCP<Matrix>& P)
const;
72#define MUELU_CGSOLVER_SHORT
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Implements conjugate gradient algorithm for energy-minimization.
void Iterate(const Matrix &A, const Constraint &C, const Matrix &P0, RCP< Matrix > &P) const
Iterate.
size_t nIts_
Number of performed iterations.
Constraint space information for the potential prolongator.
Base class for energy-minimization iterative solvers.
Namespace for MueLu classes and methods.
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar