LifeV
ExpressionEmult< LExpressionType, RExpressionType > Class Template Reference

class ExpressionEmult Class for representing a element-wise multiplication between two expressions. More...

#include <ExpressionEmult.hpp>

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

Private Attributes

LExpressionType M_l
 
RExpressionType M_r
 

Public Types

typedef ExpressionBase< ExpressionEmult< LExpressionType, RExpressionType > > base_Type
 

Constructors & Destructor

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

Methods

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

Get Methods

const LExpressionType & left () const
 Getter for the left hand side of the emult operation. More...
 
const RExpressionType & right () const
 Getter for the right hand side of the emult operation. More...
 

Private Methods

 ExpressionEmult ()
 No default constructor. More...
 

Additional Inherited Members

- Public Types inherited from ExpressionBase< ExpressionEmult< LExpressionType, RExpressionType > >
typedef ExpressionEmult< LExpressionType, RExpressionType > derived_Type
 
- Public Member Functions inherited from ExpressionBase< ExpressionEmult< 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::ExpressionEmult< LExpressionType, RExpressionType >

class ExpressionEmult Class for representing a element-wise multiplication 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 element-wise multiplication in the expression tree.

Template parameters

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

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

Template requirements

LExpressionType: Copiable, static display method

RExpressionType: Copiable, static display method

Definition at line 72 of file ExpressionEmult.hpp.

Member Typedef Documentation

◆ base_Type

typedef ExpressionBase< ExpressionEmult <LExpressionType, RExpressionType> > base_Type

Definition at line 80 of file ExpressionEmult.hpp.

Constructor & Destructor Documentation

◆ ExpressionEmult() [1/3]

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

Full constructor, with the two expressions.

Definition at line 89 of file ExpressionEmult.hpp.

◆ ExpressionEmult() [2/3]

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

Copy constructor.

Definition at line 93 of file ExpressionEmult.hpp.

◆ ~ExpressionEmult()

~ExpressionEmult ( )
inline

Destructor.

Definition at line 97 of file ExpressionEmult.hpp.

◆ ExpressionEmult() [3/3]

ExpressionEmult ( )
private

No default constructor.

Member Function Documentation

◆ display()

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

Display method.

Definition at line 106 of file ExpressionEmult.hpp.

◆ left()

const LExpressionType& left ( ) const
inline

Getter for the left hand side of the emult operation.

Definition at line 120 of file ExpressionEmult.hpp.

◆ right()

const RExpressionType& right ( ) const
inline

Getter for the right hand side of the emult operation.

Definition at line 126 of file ExpressionEmult.hpp.

Field Documentation

◆ M_l

LExpressionType M_l
private

Definition at line 144 of file ExpressionEmult.hpp.

◆ M_r

RExpressionType M_r
private

Definition at line 147 of file ExpressionEmult.hpp.


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