47#ifndef MUELU_REGIONRFACTORY_DECL_HPP
48#define MUELU_REGIONRFACTORY_DECL_HPP
67#undef MUELU_REGIONRFACTORY_SHORT
71 using real_type =
typename Teuchos::ScalarTraits<SC>::coordinateType;
97 void Build3D(
const int numDimensions,
98 Array<LO>& lFineNodesPerDim,
100 const RCP<realvaluedmultivector_type>& fineCoordinates,
102 RCP<realvaluedmultivector_type>& coarseCoordinates,
103 Array<LO>& lCoarseNodesPerDim)
const;
111#define MUELU_REGIONRFACTORY_SHORT
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
Factory that builds a restriction operator for region multigrid.
void Build3D(const int numDimensions, Array< LO > &lFineNodesPerDim, const RCP< Matrix > &A, const RCP< realvaluedmultivector_type > &fineCoordinates, RCP< Matrix > &R, RCP< realvaluedmultivector_type > &coarseCoordinates, Array< LO > &lCoarseNodesPerDim) const
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
void Build(Level &fineLevel, Level &coarseLevel) const
Build an object with this factory.
typename Teuchos::ScalarTraits< SC >::coordinateType real_type
RCP< const ParameterList > GetValidParameterList() const
Input.
virtual ~RegionRFactory()=default
Destructor.
RegionRFactory()=default
Default Constructor.
typename Xpetra::MultiVector< real_type, LO, GO, NO > realvaluedmultivector_type
Base class for factories that use two levels (fineLevel and coarseLevel).
Namespace for MueLu classes and methods.
KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar