46 #ifndef MUELU_STEEPESTDESCENTSOLVER_DECL_HPP
47 #define MUELU_STEEPESTDESCENTSOLVER_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>
73 #undef MUELU_STEEPESTDESCENTSOLVER_SHORT
103 #define MUELU_STEEPESTDESCENTSOLVER_SHORT
104 #endif // MUELU_STEEPESTDESCENTSOLVER_DECL_HPP
MueLu::DefaultLocalOrdinal LocalOrdinal
KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Constraint space information for the potential prolongator.
size_t nIts_
Number of performed iterations.
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Implements steepest descent algorithm for energy-minimization.
void Iterate(const Matrix &A, const Constraint &C, const Matrix &P0, RCP< Matrix > &P) const
Iterate.
SC stepLength_
Modifier of the step length.
SteepestDescentSolver(size_t Its, SC StepLength=Teuchos::ScalarTraits< Scalar >::one())
Base class for energy-minimization iterative solvers.