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

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

#include <ExpressionInterpolateGradient.hpp>

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

Private Attributes

fespacePtr_Type M_fespace
 
vector_Type M_vector
 
UInt M_offset
 

Public Types

typedef ExpressionBase< ExpressionInterpolateGradient< 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

 ExpressionInterpolateGradient (fespacePtr_Type fespace, const vector_Type &vector, const UInt &offset)
 Constructor using the finite element space and the data vector. More...
 
 ExpressionInterpolateGradient (const ExpressionInterpolateGradient< MeshType, MapType, SpaceDim, FieldDim > &expr)
 Copy constructor. More...
 
 ~ExpressionInterpolateGradient ()
 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...
 
const UInt offset () const
 Getter for the data vector. More...
 

Private Methods

 ExpressionInterpolateGradient ()
 No default constructor. More...
 

Additional Inherited Members

- Public Types inherited from ExpressionBase< ExpressionInterpolateGradient< MeshType, MapType, SpaceDim, FieldDim > >
typedef ExpressionInterpolateGradient< MeshType, MapType, SpaceDim, FieldDim > derived_Type
 
- Public Member Functions inherited from ExpressionBase< ExpressionInterpolateGradient< 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::ExpressionInterpolateGradient< MeshType, MapType, SpaceDim, FieldDim >

class ExpressionInterpolateGradient 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 ExpressionInterpolateGradient.hpp.

Member Typedef Documentation

◆ base_Type

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

Definition at line 91 of file ExpressionInterpolateGradient.hpp.

◆ fespace_Type

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

Type of the finite element space.

Definition at line 94 of file ExpressionInterpolateGradient.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 ExpressionInterpolateGradient.hpp.

◆ vector_Type

Data vector type.

Definition at line 100 of file ExpressionInterpolateGradient.hpp.

Constructor & Destructor Documentation

◆ ExpressionInterpolateGradient() [1/3]

ExpressionInterpolateGradient ( fespacePtr_Type  fespace,
const vector_Type vector,
const UInt offset 
)
inline

Constructor using the finite element space and the data vector.

Definition at line 109 of file ExpressionInterpolateGradient.hpp.

◆ ExpressionInterpolateGradient() [2/3]

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

Copy constructor.

Definition at line 113 of file ExpressionInterpolateGradient.hpp.

◆ ~ExpressionInterpolateGradient()

Destructor.

Definition at line 117 of file ExpressionInterpolateGradient.hpp.

◆ ExpressionInterpolateGradient() [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 ExpressionInterpolateGradient.hpp.

◆ fespace()

fespacePtr_Type fespace ( ) const
inline

Getter for the finite element space.

Definition at line 138 of file ExpressionInterpolateGradient.hpp.

◆ vector()

const vector_Type vector ( ) const
inline

Getter for the data vector.

Definition at line 144 of file ExpressionInterpolateGradient.hpp.

◆ offset()

const UInt offset ( ) const
inline

Getter for the data vector.

Definition at line 150 of file ExpressionInterpolateGradient.hpp.

Field Documentation

◆ M_fespace

fespacePtr_Type M_fespace
private

Definition at line 168 of file ExpressionInterpolateGradient.hpp.

◆ M_vector

vector_Type M_vector
private

Definition at line 171 of file ExpressionInterpolateGradient.hpp.

◆ M_offset

UInt M_offset
private

Definition at line 174 of file ExpressionInterpolateGradient.hpp.


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