47 #ifndef MUELU_REGIONRFACTORY_DECL_HPP 48 #define MUELU_REGIONRFACTORY_DECL_HPP 51 #ifdef HAVE_MUELU_KOKKOS_REFACTOR 67 class RegionRFactory :
public TwoLevelFactoryBase {
68 #undef MUELU_REGIONRFACTORY_SHORT 72 using real_type =
typename Teuchos::ScalarTraits<SC>::coordinateType;
73 using realvaluedmultivector_type =
typename Xpetra::MultiVector<real_type, LO, GO, NO>;
79 RegionRFactory() =
default;
82 virtual ~RegionRFactory() =
default;
87 RCP<const ParameterList> GetValidParameterList()
const;
89 void DeclareInput(Level& fineLevel, Level& coarseLevel)
const;
96 void Build(Level& fineLevel, Level& coarseLevel)
const;
98 void Build3D(
const int numDimensions,
99 Array<LO>& lFineNodesPerDim,
100 const RCP<Matrix>& A,
101 const RCP<realvaluedmultivector_type>& fineCoordinates,
103 RCP<realvaluedmultivector_type>& coarseCoordinates,
104 Array<LO>& lCoarseNodesPerDim)
const;
112 #define MUELU_REGIONRFACTORY_SHORT 113 #endif //ifdef HAVE_MUELU_KOKKOS_REFACTOR 114 #endif // MUELU_REGIONRFACTORY_DECL_HPP MueLu::DefaultLocalOrdinal LocalOrdinal
KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Namespace for MueLu classes and methods.
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal