37 #ifndef INTERPOLATION_H 38 #define INTERPOLATION_H 1
40 #include <lifev/core/mesh/RegionMesh.hpp> 41 #include <lifev/core/fem/FESpace.hpp> 42 #include <lifev/core/array/MatrixEpetra.hpp> 43 #include <lifev/core/algorithm/PreconditionerIfpack.hpp> 44 #include <lifev/core/algorithm/LinearSolver.hpp> 45 #include <Teuchos_ParameterList.hpp> 46 #include <Teuchos_XMLParameterListHelpers.hpp> 47 #include <Teuchos_RCP.hpp> 49 #include <lifev/core/fem/CurrentFEManifold.hpp> 142 double rbf (
double x1,
double y1,
double z1,
double x2,
double y2,
double z2,
double radius);
void identifyNodes_known()
std::vector< std::vector< int > > M_dof_connectivity_unknown
VectorEpetra - The Epetra Vector format Wrapper.
mapPtr_Type M_interpolationOperatorMapVectorial
mapPtr_Type M_knownInterfaceMap
std::shared_ptr< vector_Type > vectorPtr_Type
std::shared_ptr< prec_Type > precPtr_Type
void solution(vectorPtr_Type &Solution)
vectorPtr_Type M_numerationInterfaceKnown
double computeRBFradius_unknown(const ID &index, std::vector< int > indexes)
void getNumerationInterfaceKnown(vectorPtr_Type &vector)
void interpolationOperator()
std::set< ID > M_GIdsUnknownMesh_common
vectorPtr_Type M_solutionOnGamma
std::vector< Real > M_zcoord_known
std::vector< UInt > M_marker_known
void buildInterpolationOperatorMap()
Teuchos::RCP< Teuchos::ParameterList > parameterList_Type
void importFromHDF5(std::string const &fileName, std::string const &matrixName="matrix")
Read a matrix from a HDF5 (.h5) file.
void getSolutionOnGamma(vectorPtr_Type &GammaSolution)
matrixPtr_Type M_projectionOperator
void getKnownInterfaceMap(mapPtr_Type &map)
std::vector< Real > M_ycoord_unknown
void buildKnownInterfaceMap()
void setFlag(const UInt &flag)
MatrixEpetra< Real > matrix_Type
std::vector< vectorPtr_Type > M_numerationInterfaceKnownColumns
void buildTableDofs_unknown(const FESpacePtr_Type &fespace)
std::set< ID > M_GIdsKnownMesh
void updateInverseJacobian(const UInt &iQuadPt)
FESpace< mesh_Type, MapEpetra > FESpace_Type
std::shared_ptr< mesh_Type > meshPtr_Type
PreconditionerIfpack(std::shared_ptr< Epetra_Comm > comm=std::shared_ptr< Epetra_Comm >(new Epetra_MpiComm(MPI_COMM_WORLD)))
Empty constructor.
Epetra_Import const & importer()
Getter for the Epetra_Import.
void getInterpolationOperatorMap(mapPtr_Type &map)
vectorPtr_Type M_unknownField
void getprojectionOperatorMap(mapPtr_Type &map)
std::vector< Real > M_zcoord_unknown
mapPtr_Type M_unknownInterfaceMap
void setVectors(const vectorPtr_Type &KnownField, const vectorPtr_Type &UnknownField)
matrixPtr_Type M_interpolationOperator
void projectionOperator()
mapPtr_Type M_projectionOperatorMapVectorial
void setMeshSize(const Real &mesh_size)
std::shared_ptr< MapEpetra > mapPtr_Type
std::vector< UInt > M_marker_unknown
LifeV::PreconditionerIfpack prec_Type
void buildProjectionOperatorMap()
vectorPtr_Type M_numerationInterfaceUnknown
std::shared_ptr< basePrec_Type > basePrecPtr_Type
RegionMesh< LinearTetra > mesh_Type
parameterList_Type M_belosList
double Real
Generic real data.
std::vector< Real > M_xcoord_known
double computeRBFradius_known(const ID &index, std::vector< int > indexes)
void setup(const GetPot &datafile, parameterList_Type belosList)
Preconditioner - Abstract preconditioner class.
void buildTableDofs_known(const FESpacePtr_Type &fespace)
std::shared_ptr< FESpace_Type > FESpacePtr_Type
void updateRhs(const vectorPtr_Type &newRhs)
void identifyNodes_unknown()
std::shared_ptr< matrix_Type > matrixPtr_Type
std::vector< Real > M_ycoord_known
std::set< ID > M_GIdsUnknownMesh
double rbf(double x1, double y1, double z1, double x2, double y2, double z2, double radius)
void buildUnknownInterfaceMap()
std::set< ID > M_GIdsKnownMesh_common
std::vector< std::vector< int > > M_dof_connectivity_known
void getVectorialInterpolationMap(mapPtr_Type &map)
vectorPtr_Type M_knownField
void expandGammaToOmega_Known(const vectorPtr_Type &vectorOnGamma, vectorPtr_Type &vectorOnOmega)
LifeV::Preconditioner basePrec_Type
mapPtr_Type M_projectionOperatorMap
std::vector< Real > M_xcoord_unknown
void interpolateCostantField()
basePrecPtr_Type M_precPtr
uint32_type UInt
generic unsigned integer (used mainly for addressing)
mapPtr_Type M_interpolationOperatorMap
void restrictOmegaToGamma_Known(const vectorPtr_Type &vectorOnOmega, vectorPtr_Type &vectorOnGamma)