10#ifndef MUELU_STEEPESTDESCENTSOLVER_DECL_HPP
11#define MUELU_STEEPESTDESCENTSOLVER_DECL_HPP
13#include <Xpetra_Matrix_fwd.hpp>
14#include <Xpetra_CrsMatrixWrap_fwd.hpp>
15#include <Xpetra_CrsMatrixFactory_fwd.hpp>
34#undef MUELU_STEEPESTDESCENTSOLVER_SHORT
53 void Iterate(
const Matrix& A,
const Constraint& C,
const Matrix& P0, RCP<Matrix>& P)
const;
64#define MUELU_STEEPESTDESCENTSOLVER_SHORT
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Constraint space information for the potential prolongator.
Base class for energy-minimization iterative solvers.
Implements steepest descent algorithm for energy-minimization.
size_t nIts_
Number of performed iterations.
void Iterate(const Matrix &A, const Constraint &C, const Matrix &P0, RCP< Matrix > &P) const
Iterate.
SC stepLength_
Modifier of the step length.
Namespace for MueLu classes and methods.
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar