LifeV
RBFrescaledScalar< mesh_Type > Class Template Reference

#include <RBFrescaledScalar.hpp>

+ Inheritance diagram for RBFrescaledScalar< mesh_Type >:
+ Collaboration diagram for RBFrescaledScalar< 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

 RBFrescaledScalar ()
 
virtual ~RBFrescaledScalar ()
 
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 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)
 
- 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 double computeRBFradius (meshPtr_Type, meshPtr_Type, idContainer_Type, ID)
 
virtual void setBasis (const std::string &)
 
virtual void updateRhs (const vectorPtr_Type &)
 
virtual void approximateInverse ()
 
virtual void getInterpolationOperatorMap (mapPtr_Type &)
 
virtual void getprojectionOperatorMap (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
 

Detailed Description

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

Definition at line 45 of file RBFrescaledScalar.hpp.

Member Typedef Documentation

◆ meshPtr_Type

typedef std::shared_ptr<mesh_Type> meshPtr_Type

Definition at line 49 of file RBFrescaledScalar.hpp.

◆ vector_Type

Definition at line 51 of file RBFrescaledScalar.hpp.

◆ vectorPtr_Type

typedef std::shared_ptr<vector_Type > vectorPtr_Type

Definition at line 52 of file RBFrescaledScalar.hpp.

◆ matrix_Type

Definition at line 54 of file RBFrescaledScalar.hpp.

◆ matrixPtr_Type

typedef std::shared_ptr<matrix_Type> matrixPtr_Type

Definition at line 55 of file RBFrescaledScalar.hpp.

◆ flagContainer_Type

typedef std::vector<int> flagContainer_Type

Definition at line 57 of file RBFrescaledScalar.hpp.

◆ idContainer_Type

typedef std::unordered_set<ID> idContainer_Type

Definition at line 59 of file RBFrescaledScalar.hpp.

◆ map_Type

Definition at line 61 of file RBFrescaledScalar.hpp.

◆ mapPtr_Type

typedef std::shared_ptr<MapEpetra> mapPtr_Type

Definition at line 62 of file RBFrescaledScalar.hpp.

◆ neighbors_Type

Definition at line 64 of file RBFrescaledScalar.hpp.

◆ neighborsPtr_Type

typedef std::shared_ptr<neighbors_Type> neighborsPtr_Type

Definition at line 65 of file RBFrescaledScalar.hpp.

◆ basePrec_Type

Definition at line 67 of file RBFrescaledScalar.hpp.

◆ basePrecPtr_Type

typedef std::shared_ptr<basePrec_Type> basePrecPtr_Type

Definition at line 68 of file RBFrescaledScalar.hpp.

◆ prec_Type

Definition at line 70 of file RBFrescaledScalar.hpp.

◆ precPtr_Type

typedef std::shared_ptr<prec_Type> precPtr_Type

Definition at line 71 of file RBFrescaledScalar.hpp.

◆ parameterList_Type

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

Definition at line 73 of file RBFrescaledScalar.hpp.

Constructor & Destructor Documentation

◆ RBFrescaledScalar()

Definition at line 135 of file RBFrescaledScalar.hpp.

◆ ~RBFrescaledScalar()

~RBFrescaledScalar ( )
virtual

Definition at line 140 of file RBFrescaledScalar.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 144 of file RBFrescaledScalar.hpp.

◆ setupRBFData()

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

Reimplemented from RBFInterpolation< mesh_Type >.

Definition at line 160 of file RBFrescaledScalar.hpp.

◆ buildOperators()

void buildOperators ( )
virtual

Reimplemented from RBFInterpolation< mesh_Type >.

Definition at line 170 of file RBFrescaledScalar.hpp.

◆ interpolationOperator()

void interpolationOperator ( )
virtual

Reimplemented from RBFInterpolation< mesh_Type >.

Definition at line 185 of file RBFrescaledScalar.hpp.

◆ projectionOperator()

void projectionOperator ( )
virtual

Reimplemented from RBFInterpolation< mesh_Type >.

Definition at line 251 of file RBFrescaledScalar.hpp.

◆ buildRhs()

void buildRhs ( )
virtual

Reimplemented from RBFInterpolation< mesh_Type >.

Definition at line 327 of file RBFrescaledScalar.hpp.

◆ interpolateCostantField()

void interpolateCostantField ( )
virtual

Reimplemented from RBFInterpolation< mesh_Type >.

Definition at line 337 of file RBFrescaledScalar.hpp.

◆ identifyNodes()

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

Definition at line 403 of file RBFrescaledScalar.hpp.

◆ isInside()

bool isInside ( ID  pointMarker,
flagContainer_Type  Flags 
)
virtual

Reimplemented from RBFInterpolation< mesh_Type >.

Definition at line 427 of file RBFrescaledScalar.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 440 of file RBFrescaledScalar.hpp.

◆ interpolate()

void interpolate ( )
virtual

Reimplemented from RBFInterpolation< mesh_Type >.

Definition at line 363 of file RBFrescaledScalar.hpp.

◆ solution()

void solution ( vectorPtr_Type Solution)
virtual

Reimplemented from RBFInterpolation< mesh_Type >.

Definition at line 454 of file RBFrescaledScalar.hpp.

◆ solutionrbf()

void solutionrbf ( vectorPtr_Type Solution_rbf)
virtual

Reimplemented from RBFInterpolation< mesh_Type >.

Definition at line 461 of file RBFrescaledScalar.hpp.

◆ updateRhs()

void updateRhs ( vectorPtr_Type  newRhs)

Definition at line 447 of file RBFrescaledScalar.hpp.

◆ setRadius()

void setRadius ( double  radius)
virtual

Reimplemented from RBFInterpolation< mesh_Type >.

Definition at line 154 of file RBFrescaledScalar.hpp.

Field Documentation

◆ M_fullMeshKnown

meshPtr_Type M_fullMeshKnown
private

Definition at line 111 of file RBFrescaledScalar.hpp.

◆ M_localMeshKnown

meshPtr_Type M_localMeshKnown
private

Definition at line 112 of file RBFrescaledScalar.hpp.

◆ M_fullMeshUnknown

meshPtr_Type M_fullMeshUnknown
private

Definition at line 113 of file RBFrescaledScalar.hpp.

◆ M_localMeshUnknown

meshPtr_Type M_localMeshUnknown
private

Definition at line 114 of file RBFrescaledScalar.hpp.

◆ M_flags

flagContainer_Type M_flags
private

Definition at line 115 of file RBFrescaledScalar.hpp.

◆ M_knownField

vectorPtr_Type M_knownField
private

Definition at line 116 of file RBFrescaledScalar.hpp.

◆ M_unknownField

vectorPtr_Type M_unknownField
private

Definition at line 117 of file RBFrescaledScalar.hpp.

◆ M_datafile

GetPot M_datafile
private

Definition at line 118 of file RBFrescaledScalar.hpp.

◆ M_belosList

parameterList_Type M_belosList
private

Definition at line 119 of file RBFrescaledScalar.hpp.

◆ M_GIdsKnownMesh

idContainer_Type M_GIdsKnownMesh
private

Definition at line 120 of file RBFrescaledScalar.hpp.

◆ M_GIdsUnknownMesh

idContainer_Type M_GIdsUnknownMesh
private

Definition at line 121 of file RBFrescaledScalar.hpp.

◆ M_interpolationOperator

matrixPtr_Type M_interpolationOperator
private

Definition at line 122 of file RBFrescaledScalar.hpp.

◆ M_projectionOperator

matrixPtr_Type M_projectionOperator
private

Definition at line 123 of file RBFrescaledScalar.hpp.

◆ M_RhsF

vectorPtr_Type M_RhsF
private

Definition at line 124 of file RBFrescaledScalar.hpp.

◆ M_RhsOne

vectorPtr_Type M_RhsOne
private

Definition at line 125 of file RBFrescaledScalar.hpp.

◆ M_rbf_one

vectorPtr_Type M_rbf_one
private

Definition at line 126 of file RBFrescaledScalar.hpp.

◆ M_interpolationOperatorMap

mapPtr_Type M_interpolationOperatorMap
private

Definition at line 127 of file RBFrescaledScalar.hpp.

◆ M_projectionOperatorMap

mapPtr_Type M_projectionOperatorMap
private

Definition at line 128 of file RBFrescaledScalar.hpp.

◆ M_neighbors

neighborsPtr_Type M_neighbors
private

Definition at line 129 of file RBFrescaledScalar.hpp.

◆ M_unknownField_rbf

vectorPtr_Type M_unknownField_rbf
private

Definition at line 130 of file RBFrescaledScalar.hpp.

◆ M_radius

double M_radius
private

Definition at line 131 of file RBFrescaledScalar.hpp.


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