LifeV
RBFlocallyRescaledScalar< mesh_Type > Class Template Reference

#include <RBFlocallyRescaledScalar.hpp>

+ Inheritance diagram for RBFlocallyRescaledScalar< mesh_Type >:
+ Collaboration diagram for RBFlocallyRescaledScalar< mesh_Type >:

Public Types

typedef std::shared_ptr< mesh_TypemeshPtr_Type
 
typedef VectorEpetra vector_Type
 
typedef std::shared_ptr< vector_TypevectorPtr_Type
 
typedef MatrixEpetra< doublematrix_Type
 
typedef std::shared_ptr< matrix_TypematrixPtr_Type
 
typedef std::vector< int > flagContainer_Type
 
typedef std::unordered_set< IDidContainer_Type
 
typedef MapEpetra map_Type
 
typedef std::shared_ptr< MapEpetramapPtr_Type
 
typedef GhostHandler< mesh_Typeneighbors_Type
 
typedef std::shared_ptr< neighbors_TypeneighborsPtr_Type
 
typedef LifeV::Preconditioner basePrec_Type
 
typedef std::shared_ptr< basePrec_TypebasePrecPtr_Type
 
typedef LifeV::PreconditionerIfpack prec_Type
 
typedef std::shared_ptr< prec_TypeprecPtr_Type
 
typedef Teuchos::RCP< Teuchos::ParameterList > parameterList_Type
 
- Public Types inherited from RBFInterpolation< mesh_Type >
typedef std::shared_ptr< mesh_TypemeshPtr_Type
 
typedef VectorEpetra vector_Type
 
typedef std::shared_ptr< vector_TypevectorPtr_Type
 
typedef MatrixEpetra< doublematrix_Type
 
typedef std::shared_ptr< matrix_TypematrixPtr_Type
 
typedef std::vector< int > flagContainer_Type
 
typedef std::unordered_set< IDidContainer_Type
 
typedef MapEpetra map_Type
 
typedef std::shared_ptr< MapEpetramapPtr_Type
 
typedef GhostHandler< mesh_Typeneighbors_Type
 
typedef std::shared_ptr< neighbors_TypeneighborsPtr_Type
 
typedef LifeV::Preconditioner basePrec_Type
 
typedef std::shared_ptr< basePrec_TypebasePrecPtr_Type
 
typedef LifeV::PreconditionerIfpack prec_Type
 
typedef std::shared_ptr< prec_TypeprecPtr_Type
 
typedef Teuchos::RCP< Teuchos::ParameterList > parameterList_Type
 
typedef FactorySingleton< Factory< RBFInterpolation< mesh_Type >, std::string > > InterpolationFactory
 

Public Member Functions

 RBFlocallyRescaledScalar ()
 
virtual ~RBFlocallyRescaledScalar ()
 
void setup (meshPtr_Type fullMeshKnown, meshPtr_Type localMeshKnown, meshPtr_Type fullMeshUnknown, meshPtr_Type localMeshUnknown, flagContainer_Type flags)
 
void setupRBFData (vectorPtr_Type KnownField, vectorPtr_Type UnknownField, GetPot datafile, parameterList_Type belosList)
 
void buildOperators ()
 
void interpolationOperator ()
 
void projectionOperator ()
 
void buildRhs ()
 
void interpolateCostantField ()
 
void identifyNodes (meshPtr_Type LocalMesh, std::unordered_set< ID > &GID_nodes, vectorPtr_Type CheckVector)
 
bool isInside (ID pointMarker, flagContainer_Type Flags)
 
double computeRBFradius (meshPtr_Type MeshNeighbors, meshPtr_Type MeshGID, idContainer_Type Neighbors, ID GlobalID)
 
double rbf (double x1, double y1, double z1, double x2, double y2, double z2, double radius)
 
void interpolate ()
 
void solution (vectorPtr_Type &Solution)
 
void solutionrbf (vectorPtr_Type &Solution_rbf)
 
void updateRhs (vectorPtr_Type newRhs)
 
void setRadius (double radius)
 
void getinterpolationOperatorMap (mapPtr_Type &map)
 
void getprojectionOperatorMap (mapPtr_Type &map)
 
- Public Member Functions inherited from RBFInterpolation< mesh_Type >
 RBFInterpolation ()
 
virtual ~RBFInterpolation ()
 
virtual void setupRBFData (vectorPtr_Type KnownField, vectorPtr_Type UnknownField)
 
virtual void identifyNodes (meshPtr_Type LocalMesh, std::set< ID > &GID_nodes, vectorPtr_Type CheckVector)
 
virtual void setBasis (const std::string &)
 
virtual void updateRhs (const vectorPtr_Type &)
 
virtual void approximateInverse ()
 
virtual void getInterpolationOperatorMap (mapPtr_Type &)
 
virtual void buildUnknownVectorialInterfaceMap ()
 
virtual void buildKnownInterfaceMap ()
 
virtual void buildUnknownInterfaceMap ()
 
virtual void buildInterpolationOperatorMap ()
 
virtual void buildProjectionOperatorMap ()
 
virtual void getKnownInterfaceMap (mapPtr_Type &map)
 
virtual void getNumerationInterfaceKnown (vectorPtr_Type &vector)
 
virtual void getSolutionOnGamma (vectorPtr_Type &)
 
virtual void expandGammaToOmega_Known (const vectorPtr_Type &, vectorPtr_Type &)
 
virtual void restrictOmegaToGamma_Known (const vectorPtr_Type &, vectorPtr_Type &)
 
virtual void getVectorialInterpolationMap (mapPtr_Type &)
 

Private Attributes

meshPtr_Type M_fullMeshKnown
 
meshPtr_Type M_localMeshKnown
 
meshPtr_Type M_fullMeshUnknown
 
meshPtr_Type M_localMeshUnknown
 
flagContainer_Type M_flags
 
vectorPtr_Type M_knownField
 
vectorPtr_Type M_unknownField
 
GetPot M_datafile
 
parameterList_Type M_belosList
 
idContainer_Type M_GIdsKnownMesh
 
idContainer_Type M_GIdsUnknownMesh
 
matrixPtr_Type M_interpolationOperator
 
matrixPtr_Type M_projectionOperator
 
vectorPtr_Type M_RhsF
 
vectorPtr_Type M_RhsOne
 
vectorPtr_Type M_rbf_one
 
mapPtr_Type M_interpolationOperatorMap
 
mapPtr_Type M_projectionOperatorMap
 
neighborsPtr_Type M_neighbors
 
vectorPtr_Type M_unknownField_rbf
 
double M_radius
 
std::vector< doubleM_kx
 
std::vector< doubleM_ky
 
std::vector< doubleM_kz
 
std::vector< doubleM_ukx
 
std::vector< doubleM_uky
 
std::vector< doubleM_ukz
 

Detailed Description

template<typename mesh_Type>
class LifeV::RBFlocallyRescaledScalar< mesh_Type >

Definition at line 46 of file RBFlocallyRescaledScalar.hpp.

Member Typedef Documentation

◆ meshPtr_Type

typedef std::shared_ptr<mesh_Type> meshPtr_Type

Definition at line 50 of file RBFlocallyRescaledScalar.hpp.

◆ vector_Type

Definition at line 52 of file RBFlocallyRescaledScalar.hpp.

◆ vectorPtr_Type

typedef std::shared_ptr<vector_Type > vectorPtr_Type

Definition at line 53 of file RBFlocallyRescaledScalar.hpp.

◆ matrix_Type

Definition at line 55 of file RBFlocallyRescaledScalar.hpp.

◆ matrixPtr_Type

typedef std::shared_ptr<matrix_Type> matrixPtr_Type

Definition at line 56 of file RBFlocallyRescaledScalar.hpp.

◆ flagContainer_Type

typedef std::vector<int> flagContainer_Type

Definition at line 58 of file RBFlocallyRescaledScalar.hpp.

◆ idContainer_Type

typedef std::unordered_set<ID> idContainer_Type

Definition at line 60 of file RBFlocallyRescaledScalar.hpp.

◆ map_Type

Definition at line 62 of file RBFlocallyRescaledScalar.hpp.

◆ mapPtr_Type

typedef std::shared_ptr<MapEpetra> mapPtr_Type

Definition at line 63 of file RBFlocallyRescaledScalar.hpp.

◆ neighbors_Type

◆ neighborsPtr_Type

typedef std::shared_ptr<neighbors_Type> neighborsPtr_Type

Definition at line 66 of file RBFlocallyRescaledScalar.hpp.

◆ basePrec_Type

◆ basePrecPtr_Type

typedef std::shared_ptr<basePrec_Type> basePrecPtr_Type

Definition at line 69 of file RBFlocallyRescaledScalar.hpp.

◆ prec_Type

◆ precPtr_Type

typedef std::shared_ptr<prec_Type> precPtr_Type

Definition at line 72 of file RBFlocallyRescaledScalar.hpp.

◆ parameterList_Type

typedef Teuchos::RCP< Teuchos::ParameterList > parameterList_Type

Definition at line 74 of file RBFlocallyRescaledScalar.hpp.

Constructor & Destructor Documentation

◆ RBFlocallyRescaledScalar()

◆ ~RBFlocallyRescaledScalar()

Definition at line 154 of file RBFlocallyRescaledScalar.hpp.

Member Function Documentation

◆ setup()

void setup ( meshPtr_Type  fullMeshKnown,
meshPtr_Type  localMeshKnown,
meshPtr_Type  fullMeshUnknown,
meshPtr_Type  localMeshUnknown,
flagContainer_Type  flags 
)
virtual

Reimplemented from RBFInterpolation< mesh_Type >.

Definition at line 158 of file RBFlocallyRescaledScalar.hpp.

◆ setupRBFData()

void setupRBFData ( vectorPtr_Type  KnownField,
vectorPtr_Type  UnknownField,
GetPot  datafile,
parameterList_Type  belosList 
)
virtual

Reimplemented from RBFInterpolation< mesh_Type >.

Definition at line 191 of file RBFlocallyRescaledScalar.hpp.

◆ buildOperators()

void buildOperators ( )
virtual

Reimplemented from RBFInterpolation< mesh_Type >.

Definition at line 206 of file RBFlocallyRescaledScalar.hpp.

◆ interpolationOperator()

void interpolationOperator ( )
virtual

Reimplemented from RBFInterpolation< mesh_Type >.

Definition at line 221 of file RBFlocallyRescaledScalar.hpp.

◆ projectionOperator()

void projectionOperator ( )
virtual

Reimplemented from RBFInterpolation< mesh_Type >.

Definition at line 284 of file RBFlocallyRescaledScalar.hpp.

◆ buildRhs()

void buildRhs ( )
virtual

Reimplemented from RBFInterpolation< mesh_Type >.

Definition at line 371 of file RBFlocallyRescaledScalar.hpp.

◆ interpolateCostantField()

void interpolateCostantField ( )
virtual

Reimplemented from RBFInterpolation< mesh_Type >.

Definition at line 381 of file RBFlocallyRescaledScalar.hpp.

◆ identifyNodes()

void identifyNodes ( meshPtr_Type  LocalMesh,
std::unordered_set< ID > &  GID_nodes,
vectorPtr_Type  CheckVector 
)

Definition at line 446 of file RBFlocallyRescaledScalar.hpp.

◆ isInside()

bool isInside ( ID  pointMarker,
flagContainer_Type  Flags 
)
virtual

Reimplemented from RBFInterpolation< mesh_Type >.

Definition at line 468 of file RBFlocallyRescaledScalar.hpp.

◆ computeRBFradius()

double computeRBFradius ( meshPtr_Type  MeshNeighbors,
meshPtr_Type  MeshGID,
idContainer_Type  Neighbors,
ID  GlobalID 
)
virtual

Reimplemented from RBFInterpolation< mesh_Type >.

Definition at line 356 of file RBFlocallyRescaledScalar.hpp.

◆ rbf()

double rbf ( double  x1,
double  y1,
double  z1,
double  x2,
double  y2,
double  z2,
double  radius 
)
virtual

Reimplemented from RBFInterpolation< mesh_Type >.

Definition at line 481 of file RBFlocallyRescaledScalar.hpp.

◆ interpolate()

void interpolate ( )
virtual

Reimplemented from RBFInterpolation< mesh_Type >.

Definition at line 407 of file RBFlocallyRescaledScalar.hpp.

◆ solution()

void solution ( vectorPtr_Type Solution)
virtual

Reimplemented from RBFInterpolation< mesh_Type >.

Definition at line 495 of file RBFlocallyRescaledScalar.hpp.

◆ solutionrbf()

void solutionrbf ( vectorPtr_Type Solution_rbf)
virtual

Reimplemented from RBFInterpolation< mesh_Type >.

Definition at line 501 of file RBFlocallyRescaledScalar.hpp.

◆ updateRhs()

void updateRhs ( vectorPtr_Type  newRhs)

Definition at line 488 of file RBFlocallyRescaledScalar.hpp.

◆ setRadius()

void setRadius ( double  radius)
virtual

Reimplemented from RBFInterpolation< mesh_Type >.

Definition at line 200 of file RBFlocallyRescaledScalar.hpp.

◆ getinterpolationOperatorMap()

void getinterpolationOperatorMap ( mapPtr_Type map)
inline

Definition at line 112 of file RBFlocallyRescaledScalar.hpp.

◆ getprojectionOperatorMap()

void getprojectionOperatorMap ( mapPtr_Type map)
inlinevirtual

Reimplemented from RBFInterpolation< mesh_Type >.

Definition at line 114 of file RBFlocallyRescaledScalar.hpp.

Field Documentation

◆ M_fullMeshKnown

meshPtr_Type M_fullMeshKnown
private

Definition at line 118 of file RBFlocallyRescaledScalar.hpp.

◆ M_localMeshKnown

meshPtr_Type M_localMeshKnown
private

Definition at line 119 of file RBFlocallyRescaledScalar.hpp.

◆ M_fullMeshUnknown

meshPtr_Type M_fullMeshUnknown
private

Definition at line 120 of file RBFlocallyRescaledScalar.hpp.

◆ M_localMeshUnknown

meshPtr_Type M_localMeshUnknown
private

Definition at line 121 of file RBFlocallyRescaledScalar.hpp.

◆ M_flags

flagContainer_Type M_flags
private

Definition at line 122 of file RBFlocallyRescaledScalar.hpp.

◆ M_knownField

vectorPtr_Type M_knownField
private

Definition at line 123 of file RBFlocallyRescaledScalar.hpp.

◆ M_unknownField

vectorPtr_Type M_unknownField
private

Definition at line 124 of file RBFlocallyRescaledScalar.hpp.

◆ M_datafile

GetPot M_datafile
private

Definition at line 125 of file RBFlocallyRescaledScalar.hpp.

◆ M_belosList

parameterList_Type M_belosList
private

Definition at line 126 of file RBFlocallyRescaledScalar.hpp.

◆ M_GIdsKnownMesh

idContainer_Type M_GIdsKnownMesh
private

Definition at line 127 of file RBFlocallyRescaledScalar.hpp.

◆ M_GIdsUnknownMesh

idContainer_Type M_GIdsUnknownMesh
private

Definition at line 128 of file RBFlocallyRescaledScalar.hpp.

◆ M_interpolationOperator

matrixPtr_Type M_interpolationOperator
private

Definition at line 129 of file RBFlocallyRescaledScalar.hpp.

◆ M_projectionOperator

matrixPtr_Type M_projectionOperator
private

Definition at line 130 of file RBFlocallyRescaledScalar.hpp.

◆ M_RhsF

vectorPtr_Type M_RhsF
private

Definition at line 131 of file RBFlocallyRescaledScalar.hpp.

◆ M_RhsOne

vectorPtr_Type M_RhsOne
private

Definition at line 132 of file RBFlocallyRescaledScalar.hpp.

◆ M_rbf_one

vectorPtr_Type M_rbf_one
private

Definition at line 133 of file RBFlocallyRescaledScalar.hpp.

◆ M_interpolationOperatorMap

mapPtr_Type M_interpolationOperatorMap
private

Definition at line 134 of file RBFlocallyRescaledScalar.hpp.

◆ M_projectionOperatorMap

mapPtr_Type M_projectionOperatorMap
private

Definition at line 135 of file RBFlocallyRescaledScalar.hpp.

◆ M_neighbors

neighborsPtr_Type M_neighbors
private

Definition at line 136 of file RBFlocallyRescaledScalar.hpp.

◆ M_unknownField_rbf

vectorPtr_Type M_unknownField_rbf
private

Definition at line 137 of file RBFlocallyRescaledScalar.hpp.

◆ M_radius

double M_radius
private

Definition at line 138 of file RBFlocallyRescaledScalar.hpp.

◆ M_kx

std::vector<double> M_kx
private

Definition at line 140 of file RBFlocallyRescaledScalar.hpp.

◆ M_ky

std::vector<double> M_ky
private

Definition at line 141 of file RBFlocallyRescaledScalar.hpp.

◆ M_kz

std::vector<double> M_kz
private

Definition at line 142 of file RBFlocallyRescaledScalar.hpp.

◆ M_ukx

std::vector<double> M_ukx
private

Definition at line 144 of file RBFlocallyRescaledScalar.hpp.

◆ M_uky

std::vector<double> M_uky
private

Definition at line 145 of file RBFlocallyRescaledScalar.hpp.

◆ M_ukz

std::vector<double> M_ukz
private

Definition at line 146 of file RBFlocallyRescaledScalar.hpp.


The documentation for this class was generated from the following file: