46 #ifndef MUELU_GEOMETRICINTERPOLATIONPFACTORY_DECL_HPP
47 #define MUELU_GEOMETRICINTERPOLATIONPFACTORY_DECL_HPP
54 #include "Xpetra_CrsGraph.hpp"
56 #include "MueLu_PFactory.hpp"
62 template <
class Scalar,
class LocalOrdinal,
class GlobalOrdinal,
class Node>
64 #undef MUELU_GEOMETRICINTERPOLATIONPFACTORY_SHORT
106 const int numDimensions,
const bool keepD2,
119 #define MUELU_GEOMETRICINTERPOLATIONPFACTORY_SHORT
120 #endif // MUELU_GEOMETRICINTERPOLATIONPFACTORY_DECL_HPP
virtual ~GeometricInterpolationPFactory()
Destructor.
GeometricInterpolationPFactory()
Constructor.
void BuildLinearP(Level &coarseLevel, RCP< Matrix > &A, RCP< const CrsGraph > &prolongatorGraph, RCP< realvaluedmultivector_type > &fineCoordinates, RCP< realvaluedmultivector_type > &ghostCoordinates, const int numDimensions, const bool keepD2, RCP< Matrix > &P) const
void GetInterpolationFunctions(const LO numDimensions, const Teuchos::SerialDenseVector< LO, real_type > parametricCoordinates, real_type functions[4][8]) const
void Build(Level &fineLevel, Level &coarseLevel) const
Build an object with this factory.
Class that holds all level-specific information.
void ComputeLinearInterpolationStencil(const int numDimensions, const int numInterpolationPoints, const Array< Array< real_type > > coord, Array< real_type > &stencil) const
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
Xpetra::MultiVector< real_type, LO, GO, Node > realvaluedmultivector_type
Factory that provides an interface for a concrete implementation of a prolongation operator...
void BuildConstantP(RCP< Matrix > &P, RCP< const CrsGraph > &prolongatorGraph, RCP< Matrix > &A) const
typename Teuchos::ScalarTraits< SC >::coordinateType real_type
void BuildP(Level &fineLevel, Level &coarseLevel) const
Abstract Build method.