LifeV
ExpressionVector< VectorDim > Class Template Reference

class ExpressionVector Class representing a constant vectorial value in an expression More...

#include <ExpressionVector.hpp>

+ Inheritance diagram for ExpressionVector< VectorDim >:
+ Collaboration diagram for ExpressionVector< VectorDim >:

Private Attributes

VectorSmall< VectorDim > M_value
 

Public Types

typedef ExpressionBase< ExpressionVector< VectorDim > > base_Type
 

Constructors & Destructor

 ExpressionVector (const VectorSmall< VectorDim > &myValue)
 Constructor using the vector of values. More...
 
 ExpressionVector (const ExpressionVector< VectorDim > &expr)
 Copy constructor. More...
 
 ~ExpressionVector ()
 Destructor. More...
 

Methods

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

Get Methods

const VectorSmall< VectorDim > & value () const
 Getter for the vector of values. More...
 

Private Methods

 ExpressionVector ()
 

Additional Inherited Members

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

class ExpressionVector Class representing a constant vectorial value in an expression

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

Template parameters

VectorDim: The dimension (size) of the vector to be represented.

Definition at line 63 of file ExpressionVector.hpp.

Member Typedef Documentation

◆ base_Type

Definition at line 70 of file ExpressionVector.hpp.

Constructor & Destructor Documentation

◆ ExpressionVector() [1/3]

ExpressionVector ( const VectorSmall< VectorDim > &  myValue)
inline

Constructor using the vector of values.

Definition at line 79 of file ExpressionVector.hpp.

◆ ExpressionVector() [2/3]

ExpressionVector ( const ExpressionVector< VectorDim > &  expr)
inline

Copy constructor.

Definition at line 83 of file ExpressionVector.hpp.

◆ ~ExpressionVector()

~ExpressionVector ( )
inline

Destructor.

Definition at line 87 of file ExpressionVector.hpp.

◆ ExpressionVector() [3/3]

ExpressionVector ( )
private

Member Function Documentation

◆ display()

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

Display method.

Definition at line 96 of file ExpressionVector.hpp.

◆ value()

const VectorSmall<VectorDim>& value ( ) const
inline

Getter for the vector of values.

Definition at line 108 of file ExpressionVector.hpp.

Field Documentation

◆ M_value

VectorSmall<VectorDim> M_value
private

Definition at line 124 of file ExpressionVector.hpp.


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