LifeV
ExpressionInterpolateValue< MeshType, MapType, SpaceDim, FieldDim > Class Template Reference

class ExpressionInterpolateValue Class representing an interpolation in an expression. More...

#include <ExpressionInterpolateValue.hpp>

+ Inheritance diagram for ExpressionInterpolateValue< MeshType, MapType, SpaceDim, FieldDim >:
+ Collaboration diagram for ExpressionInterpolateValue< MeshType, MapType, SpaceDim, FieldDim >:

Private Attributes

fespacePtr_Type M_fespace
 
vector_Type M_vector
 

Public Types

typedef ExpressionBase< ExpressionInterpolateValue< MeshType, MapType, SpaceDim, FieldDim > > base_Type
 
typedef ETFESpace< MeshType, MapType, SpaceDim, FieldDim > fespace_Type
 Type of the finite element space. More...
 
typedef std::shared_ptr< fespace_TypefespacePtr_Type
 Type for the pointer on the finite element space. More...
 
typedef VectorEpetra vector_Type
 Data vector type. More...
 

Constructors & Destructor

 ExpressionInterpolateValue (fespacePtr_Type fespace, const vector_Type &vector)
 Constructor using the finite element space and the data vector. More...
 
 ExpressionInterpolateValue (const ExpressionInterpolateValue< MeshType, MapType, SpaceDim, FieldDim > &expr)
 Copy constructor. More...
 
 ~ExpressionInterpolateValue ()
 Destructor. More...
 

Methods

static void display (std::ostream &out=std::cout)
 Display method. More...
 

Get Methods

fespacePtr_Type fespace () const
 Getter for the finite element space. More...
 
const vector_Type vector () const
 Getter for the data vector. More...
 

Private Methods

 ExpressionInterpolateValue ()
 No default constructor. More...
 

Additional Inherited Members

- Public Types inherited from ExpressionBase< ExpressionInterpolateValue< MeshType, MapType, SpaceDim, FieldDim > >
typedef ExpressionInterpolateValue< MeshType, MapType, SpaceDim, FieldDim > derived_Type
 
- Public Member Functions inherited from ExpressionBase< ExpressionInterpolateValue< MeshType, MapType, SpaceDim, FieldDim > >
 ExpressionBase ()
 Empty and only constructor. More...
 
virtual ~ExpressionBase ()
 Destructor. More...
 
const derived_Typecast () const
 Method to cast away the type and get the real (DerivedType) object. More...
 

Detailed Description

template<typename MeshType, typename MapType, UInt SpaceDim, UInt FieldDim>
class LifeV::ExpressionAssembly::ExpressionInterpolateValue< MeshType, MapType, SpaceDim, FieldDim >

class ExpressionInterpolateValue Class representing an interpolation in an expression.

Author
Samuel Quinodoz samue.nosp@m.l.qu.nosp@m.inodo.nosp@m.z@ep.nosp@m.fl.ch

This class is meant to be used only in the expression tree, it does not perform any computation.

Template parameters

MeshType: The type of the mesh

MapType: The type of the algebraic map (for parallel computations)

SpaceDim: The ambiant space (for the finite element space)

FieldDim: The dimension of the field to interpolate (scalar vs vectorial)

Template requirements

MeshType: Same as in LifeV::ETFESpace

MapType: Same as in LifeV::ETFESpace

Definition at line 82 of file ExpressionInterpolateValue.hpp.

Member Typedef Documentation

◆ base_Type

typedef ExpressionBase<ExpressionInterpolateValue < MeshType, MapType, SpaceDim, FieldDim > > base_Type

Definition at line 91 of file ExpressionInterpolateValue.hpp.

◆ fespace_Type

typedef ETFESpace<MeshType, MapType, SpaceDim, FieldDim> fespace_Type

Type of the finite element space.

Definition at line 94 of file ExpressionInterpolateValue.hpp.

◆ fespacePtr_Type

typedef std::shared_ptr<fespace_Type> fespacePtr_Type

Type for the pointer on the finite element space.

Definition at line 97 of file ExpressionInterpolateValue.hpp.

◆ vector_Type

Data vector type.

Definition at line 100 of file ExpressionInterpolateValue.hpp.

Constructor & Destructor Documentation

◆ ExpressionInterpolateValue() [1/3]

ExpressionInterpolateValue ( fespacePtr_Type  fespace,
const vector_Type vector 
)
inline

Constructor using the finite element space and the data vector.

Definition at line 109 of file ExpressionInterpolateValue.hpp.

◆ ExpressionInterpolateValue() [2/3]

ExpressionInterpolateValue ( const ExpressionInterpolateValue< MeshType, MapType, SpaceDim, FieldDim > &  expr)
inline

Copy constructor.

Definition at line 113 of file ExpressionInterpolateValue.hpp.

◆ ~ExpressionInterpolateValue()

Destructor.

Definition at line 117 of file ExpressionInterpolateValue.hpp.

◆ ExpressionInterpolateValue() [3/3]

No default constructor.

Member Function Documentation

◆ display()

static void display ( std::ostream &  out = std::cout)
inlinestatic

Display method.

Definition at line 126 of file ExpressionInterpolateValue.hpp.

◆ fespace()

fespacePtr_Type fespace ( ) const
inline

Getter for the finite element space.

Definition at line 138 of file ExpressionInterpolateValue.hpp.

◆ vector()

const vector_Type vector ( ) const
inline

Getter for the data vector.

Definition at line 144 of file ExpressionInterpolateValue.hpp.

Field Documentation

◆ M_fespace

fespacePtr_Type M_fespace
private

Definition at line 162 of file ExpressionInterpolateValue.hpp.

◆ M_vector

vector_Type M_vector
private

Definition at line 165 of file ExpressionInterpolateValue.hpp.


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