LifeV
ExpressionExtract2< ExpressionType > Class Template Reference

class ExpressionExtract2 Class for representing the extraction of a component from a matrix (2 indexes specified). More...

#include <ExpressionExtract2.hpp>

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

Private Attributes

UInt M_i
 
UInt M_j
 
ExpressionType M_ex
 

Public Types

typedef ExpressionBase< ExpressionExtract2< ExpressionType > > base_Type
 

Constructors & Destructor

 ExpressionExtract2 (const ExpressionType &ex, const UInt &i, const UInt &j)
 Full constructor, with the expression and the specification of the position of the row to be extracted. More...
 
 ExpressionExtract2 (const ExpressionExtract2< ExpressionType > &expr)
 Copy constructor. More...
 
 ~ExpressionExtract2 ()
 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...
 
UInt indexJ () const
 Getter for the column index. More...
 
const ExpressionType & exprEx () const
 Getter for the expression from which we extract. More...
 

Private Methods

 ExpressionExtract2 ()
 No empty constructor. More...
 

Additional Inherited Members

- Public Types inherited from ExpressionBase< ExpressionExtract2< ExpressionType > >
typedef ExpressionExtract2< ExpressionType > derived_Type
 
- Public Member Functions inherited from ExpressionBase< ExpressionExtract2< 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::ExpressionExtract2< ExpressionType >

class ExpressionExtract2 Class for representing the extraction of a component from a matrix (2 indexes specified).

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 from a matrix 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 69 of file ExpressionExtract2.hpp.

Member Typedef Documentation

◆ base_Type

typedef ExpressionBase<ExpressionExtract2< ExpressionType > > base_Type

Definition at line 77 of file ExpressionExtract2.hpp.

Constructor & Destructor Documentation

◆ ExpressionExtract2() [1/3]

ExpressionExtract2 ( const ExpressionType &  ex,
const UInt i,
const UInt j 
)
inline

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

Definition at line 86 of file ExpressionExtract2.hpp.

◆ ExpressionExtract2() [2/3]

ExpressionExtract2 ( const ExpressionExtract2< ExpressionType > &  expr)
inline

Copy constructor.

Definition at line 94 of file ExpressionExtract2.hpp.

◆ ~ExpressionExtract2()

~ExpressionExtract2 ( )
inline

Destructor.

Definition at line 102 of file ExpressionExtract2.hpp.

◆ ExpressionExtract2() [3/3]

ExpressionExtract2 ( )
private

No empty constructor.

Member Function Documentation

◆ display()

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

Display method.

Definition at line 111 of file ExpressionExtract2.hpp.

◆ indexI()

UInt indexI ( ) const
inline

Getter for the row index.

Definition at line 124 of file ExpressionExtract2.hpp.

◆ indexJ()

UInt indexJ ( ) const
inline

Getter for the column index.

Definition at line 130 of file ExpressionExtract2.hpp.

◆ exprEx()

const ExpressionType& exprEx ( ) const
inline

Getter for the expression from which we extract.

Definition at line 136 of file ExpressionExtract2.hpp.

Field Documentation

◆ M_i

UInt M_i
private

Definition at line 154 of file ExpressionExtract2.hpp.

◆ M_j

UInt M_j
private

Definition at line 157 of file ExpressionExtract2.hpp.

◆ M_ex

ExpressionType M_ex
private

Definition at line 160 of file ExpressionExtract2.hpp.


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