LifeV
ExpressionExtract1< ExpressionType > Class Template Reference

class ExpressionExtract1 Class for representing the extraction of a component or vector by specifying one index. More...

#include <ExpressionExtract1.hpp>

+ Inheritance diagram for ExpressionExtract1< ExpressionType >:
+ Collaboration diagram for ExpressionExtract1< ExpressionType >:

Private Attributes

UInt M_i
 
ExpressionType M_ex
 

Public Types

typedef ExpressionBase< ExpressionExtract1< ExpressionType > > base_Type
 

Constructors & Destructor

 ExpressionExtract1 (const ExpressionType &ex, const UInt &i)
 Full constructor, with the expression and the specification of the row index of the component to be extracted. More...
 
 ExpressionExtract1 (const ExpressionExtract1< ExpressionType > &expr)
 Copy constructor. More...
 
 ~ExpressionExtract1 ()
 Destructor. More...
 

Methods

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

Get Methods

UInt indexI () const
 Getter for the row index. More...
 
const ExpressionType & exprEx () const
 Getter for the expression from which we extract. More...
 

Private Methods

 ExpressionExtract1 ()
 No empty constructor. More...
 

Additional Inherited Members

- Public Types inherited from ExpressionBase< ExpressionExtract1< ExpressionType > >
typedef ExpressionExtract1< ExpressionType > derived_Type
 
- Public Member Functions inherited from ExpressionBase< ExpressionExtract1< ExpressionType > >
 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 ExpressionType>
class LifeV::ExpressionAssembly::ExpressionExtract1< ExpressionType >

class ExpressionExtract1 Class for representing the extraction of a component or vector by specifying one index.

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

This class represents the extraction of a component or vector by specifying one index in the expression tree.

Template parameters

ExpressionType: The expression from which we want to extract

Template requirements

ExpressionType: Copiable, static display method

Definition at line 70 of file ExpressionExtract1.hpp.

Member Typedef Documentation

◆ base_Type

typedef ExpressionBase<ExpressionExtract1<ExpressionType> > base_Type

Definition at line 78 of file ExpressionExtract1.hpp.

Constructor & Destructor Documentation

◆ ExpressionExtract1() [1/3]

ExpressionExtract1 ( const ExpressionType &  ex,
const UInt i 
)
inline

Full constructor, with the expression and the specification of the row index of the component to be extracted.

Definition at line 87 of file ExpressionExtract1.hpp.

◆ ExpressionExtract1() [2/3]

ExpressionExtract1 ( const ExpressionExtract1< ExpressionType > &  expr)
inline

Copy constructor.

Definition at line 94 of file ExpressionExtract1.hpp.

◆ ~ExpressionExtract1()

~ExpressionExtract1 ( )
inline

Destructor.

Definition at line 101 of file ExpressionExtract1.hpp.

◆ ExpressionExtract1() [3/3]

ExpressionExtract1 ( )
private

No empty constructor.

Member Function Documentation

◆ display()

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

Display method.

Definition at line 110 of file ExpressionExtract1.hpp.

◆ indexI()

UInt indexI ( ) const
inline

Getter for the row index.

Definition at line 123 of file ExpressionExtract1.hpp.

◆ exprEx()

const ExpressionType& exprEx ( ) const
inline

Getter for the expression from which we extract.

Definition at line 129 of file ExpressionExtract1.hpp.

Field Documentation

◆ M_i

UInt M_i
private

Definition at line 147 of file ExpressionExtract1.hpp.

◆ M_ex

ExpressionType M_ex
private

Definition at line 150 of file ExpressionExtract1.hpp.


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