38 #ifndef RBF_INTERPOLATION_HPP 39 #define RBF_INTERPOLATION_HPP 41 #include <lifev/core/LifeV.hpp> 42 #include <lifev/core/array/MatrixEpetra.hpp> 43 #include <lifev/core/array/GhostHandler.hpp> 44 #include <lifev/core/algorithm/PreconditionerIfpack.hpp> 45 #include <lifev/core/algorithm/LinearSolver.hpp> 46 #include <Teuchos_ParameterList.hpp> 47 #include <Teuchos_XMLParameterListHelpers.hpp> 48 #include <Teuchos_RCP.hpp> 52 template <
typename mesh_Type>
113 virtual double rbf (
double x1,
double y1,
double z1,
double x2,
double y2,
double z2,
double radius) {
RETURN_UNDEFINED;};
159 template <
typename mesh_Type>
virtual void solutionrbf(vectorPtr_Type &)
virtual void getSolutionOnGamma(vectorPtr_Type &)
virtual void interpolationOperator()
virtual void interpolateCostantField()
virtual void buildProjectionOperatorMap()
virtual void getprojectionOperatorMap(mapPtr_Type &)
virtual double computeRBFradius(meshPtr_Type, meshPtr_Type, idContainer_Type, ID)
std::shared_ptr< prec_Type > precPtr_Type
virtual void expandGammaToOmega_Known(const vectorPtr_Type &, vectorPtr_Type &)
std::shared_ptr< neighbors_Type > neighborsPtr_Type
std::shared_ptr< vector_Type > vectorPtr_Type
virtual void setupRBFData(vectorPtr_Type KnownField, vectorPtr_Type UnknownField)
virtual void identifyNodes(meshPtr_Type LocalMesh, std::set< ID > &GID_nodes, vectorPtr_Type CheckVector)
std::shared_ptr< matrix_Type > matrixPtr_Type
LifeV::PreconditionerIfpack prec_Type
virtual void getInterpolationOperatorMap(mapPtr_Type &)
virtual ~RBFInterpolation()
virtual void approximateInverse()
GhostHandler< mesh_Type > neighbors_Type
virtual void buildOperators()
virtual void setupRBFData(vectorPtr_Type KnownField, vectorPtr_Type UnknownField, GetPot datafile, parameterList_Type belosList)
virtual void buildKnownInterfaceMap()
Teuchos::RCP< Teuchos::ParameterList > parameterList_Type
Epetra_Import const & importer()
Getter for the Epetra_Import.
virtual void updateRhs(const vectorPtr_Type &)
virtual void interpolate()
std::shared_ptr< MapEpetra > mapPtr_Type
std::shared_ptr< basePrec_Type > basePrecPtr_Type
virtual void setup(meshPtr_Type fullMeshKnown, meshPtr_Type localMeshKnown, meshPtr_Type fullMeshUnknown, meshPtr_Type localMeshUnknown, flagContainer_Type flags)
virtual void buildUnknownInterfaceMap()
virtual void buildUnknownVectorialInterfaceMap()
LifeV::Preconditioner basePrec_Type
MatrixEpetra< double > matrix_Type
virtual void projectionOperator()
virtual void getNumerationInterfaceKnown(vectorPtr_Type &vector)
std::unordered_set< ID > idContainer_Type
virtual bool isInside(ID pointMarker, flagContainer_Type Flags)
virtual void getVectorialInterpolationMap(mapPtr_Type &)
virtual void setRadius(double)
virtual void setBasis(const std::string &)
virtual double rbf(double x1, double y1, double z1, double x2, double y2, double z2, double radius)
virtual void solution(vectorPtr_Type &Solution)
virtual void getKnownInterfaceMap(mapPtr_Type &map)
std::shared_ptr< mesh_Type > meshPtr_Type
virtual void restrictOmegaToGamma_Known(const vectorPtr_Type &, vectorPtr_Type &)
std::vector< int > flagContainer_Type
FactorySingleton< Factory< RBFInterpolation< mesh_Type >, std::string > > InterpolationFactory
void importFromHDF5(std::string const &fileName="ghostmap")
Import neighbor lists to an hdf5 file.
virtual void buildInterpolationOperatorMap()