LifeV
ExpressionProduct< LExpressionType, RExpressionType > Class Template Reference

class ExpressionProduct Class for representing a product between two expressions. More...

#include <ExpressionProduct.hpp>

+ Inheritance diagram for ExpressionProduct< LExpressionType, RExpressionType >:
+ Collaboration diagram for ExpressionProduct< LExpressionType, RExpressionType >:

Private Attributes

LExpressionType M_l
 
RExpressionType M_r
 

Public Types

typedef ExpressionBase< ExpressionProduct< LExpressionType, RExpressionType > > base_Type
 

Constructors & Destructor

 ExpressionProduct (const LExpressionType &l, const RExpressionType &r)
 Full constructor using the two expressions. More...
 
 ExpressionProduct (const ExpressionProduct< LExpressionType, RExpressionType > &expression)
 Copy constructor. More...
 
 ~ExpressionProduct ()
 Destructor. More...
 

Methods

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

Private Methods

const LExpressionType & left () const
 Getter for the left hand side. More...
 
const RExpressionType & right () const
 Getter for the right hand side. More...
 
 ExpressionProduct ()
 

Additional Inherited Members

- Public Types inherited from ExpressionBase< ExpressionProduct< LExpressionType, RExpressionType > >
typedef ExpressionProduct< LExpressionType, RExpressionType > derived_Type
 
- Public Member Functions inherited from ExpressionBase< ExpressionProduct< LExpressionType, RExpressionType > >
 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 LExpressionType, typename RExpressionType>
class LifeV::ExpressionAssembly::ExpressionProduct< LExpressionType, RExpressionType >

class ExpressionProduct Class for representing a product between two expressions.

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

This class represents the product in the expression tree.

Template parameters

LExpressionType: The expression on the left side of the product operation.

RExpressionType: The expression on the right side of the product operation.

Template requirements

LExpressionType: Copiable, static display method

RExpressionType: Copiable, static display method

Definition at line 72 of file ExpressionProduct.hpp.

Member Typedef Documentation

◆ base_Type

typedef ExpressionBase< ExpressionProduct <LExpressionType, RExpressionType> > base_Type

Definition at line 80 of file ExpressionProduct.hpp.

Constructor & Destructor Documentation

◆ ExpressionProduct() [1/3]

ExpressionProduct ( const LExpressionType &  l,
const RExpressionType &  r 
)
inline

Full constructor using the two expressions.

Definition at line 88 of file ExpressionProduct.hpp.

◆ ExpressionProduct() [2/3]

ExpressionProduct ( const ExpressionProduct< LExpressionType, RExpressionType > &  expression)
inline

Copy constructor.

Definition at line 92 of file ExpressionProduct.hpp.

◆ ~ExpressionProduct()

~ExpressionProduct ( )
inline

Destructor.

Definition at line 96 of file ExpressionProduct.hpp.

◆ ExpressionProduct() [3/3]

ExpressionProduct ( )
private

Member Function Documentation

◆ display()

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

Display method.

Definition at line 105 of file ExpressionProduct.hpp.

◆ left()

const LExpressionType& left ( ) const
inline

Getter for the left hand side.

Definition at line 119 of file ExpressionProduct.hpp.

◆ right()

const RExpressionType& right ( ) const
inline

Getter for the right hand side.

Definition at line 125 of file ExpressionProduct.hpp.

Field Documentation

◆ M_l

LExpressionType M_l
private

Definition at line 143 of file ExpressionProduct.hpp.

◆ M_r

RExpressionType M_r
private

Definition at line 146 of file ExpressionProduct.hpp.


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