LifeV
ExpressionExtractScalar< VectorType > Class Template Reference

class ExpressionScalar Class representing a scalar constant in an expression. More...

#include <ExpressionScalar.hpp>

+ Inheritance diagram for ExpressionExtractScalar< VectorType >:
+ Collaboration diagram for ExpressionExtractScalar< VectorType >:

Private Attributes

containerPtr_Type M_vector
 

Public Types

typedef ExpressionBase< ExpressionExtractScalar< VectorType > > base_Type
 
typedef std::shared_ptr< VectorType > containerPtr_Type
 

Constructors & Destructor

 ExpressionExtractScalar (const VectorType &myVector)
 Constructor using the value of the scalar. More...
 
 ExpressionExtractScalar (const ExpressionExtractScalar< VectorType > &expr)
 Copy constructor. More...
 
 ~ExpressionExtractScalar ()
 Destructor. More...
 

Methods

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

Get Methods

const containerPtr_Type vector () const
 Getter for the value of the scalar. More...
 

Private Methods

 ExpressionExtractScalar ()
 No empty constructor. More...
 

Additional Inherited Members

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

class ExpressionScalar Class representing a scalar constant in an expression.

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

Definition at line 129 of file ExpressionScalar.hpp.

Member Typedef Documentation

◆ base_Type

Definition at line 136 of file ExpressionScalar.hpp.

◆ containerPtr_Type

typedef std::shared_ptr<VectorType> containerPtr_Type

Definition at line 137 of file ExpressionScalar.hpp.

Constructor & Destructor Documentation

◆ ExpressionExtractScalar() [1/3]

ExpressionExtractScalar ( const VectorType &  myVector)
inline

Constructor using the value of the scalar.

Definition at line 146 of file ExpressionScalar.hpp.

◆ ExpressionExtractScalar() [2/3]

ExpressionExtractScalar ( const ExpressionExtractScalar< VectorType > &  expr)
inline

Copy constructor.

Definition at line 150 of file ExpressionScalar.hpp.

◆ ~ExpressionExtractScalar()

Destructor.

Definition at line 154 of file ExpressionScalar.hpp.

◆ ExpressionExtractScalar() [3/3]

No empty constructor.

Member Function Documentation

◆ display()

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

Display method.

◆ vector()

const containerPtr_Type vector ( ) const
inline

Getter for the value of the scalar.

Definition at line 172 of file ExpressionScalar.hpp.

Field Documentation

◆ M_vector

containerPtr_Type M_vector
private

Definition at line 189 of file ExpressionScalar.hpp.


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