LifeV
ExpressionDivision< LExpressionType, RExpressionType > Class Template Reference

class ExpressionDivision Class for representing a quotient between two expressions. More...

#include <ExpressionDivision.hpp>

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

Private Attributes

LExpressionType M_l
 
RExpressionType M_r
 

Public Types

typedef ExpressionBase< ExpressionDivision< LExpressionType, RExpressionType > > base_Type
 

Constructors & Destructor

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

Methods

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

Get Methods

const LExpressionType & left () const
 Getter for the left side of the division. More...
 
const RExpressionType & right () const
 Getter for the right side of the division. More...
 

Private Methods

 ExpressionDivision ()
 No default constructor. More...
 

Additional Inherited Members

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

class ExpressionDivision Class for representing a quotient 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 division in the expression tree.

Template parameters

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

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

Template requirements

LExpressionType: Copiable, static display method

RExpressionType: Copiable, static display method

Definition at line 71 of file ExpressionDivision.hpp.

Member Typedef Documentation

◆ base_Type

typedef ExpressionBase< ExpressionDivision <LExpressionType, RExpressionType> > base_Type

Definition at line 79 of file ExpressionDivision.hpp.

Constructor & Destructor Documentation

◆ ExpressionDivision() [1/3]

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

Full constructor using the two expressions.

Definition at line 88 of file ExpressionDivision.hpp.

◆ ExpressionDivision() [2/3]

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

Copy constructor.

Definition at line 92 of file ExpressionDivision.hpp.

◆ ~ExpressionDivision()

~ExpressionDivision ( )
inline

Destructor.

Definition at line 96 of file ExpressionDivision.hpp.

◆ ExpressionDivision() [3/3]

ExpressionDivision ( )
private

No default constructor.

Member Function Documentation

◆ display()

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

Display method.

Definition at line 105 of file ExpressionDivision.hpp.

◆ left()

const LExpressionType& left ( ) const
inline

Getter for the left side of the division.

Definition at line 119 of file ExpressionDivision.hpp.

◆ right()

const RExpressionType& right ( ) const
inline

Getter for the right side of the division.

Definition at line 125 of file ExpressionDivision.hpp.

Field Documentation

◆ M_l

LExpressionType M_l
private

Definition at line 143 of file ExpressionDivision.hpp.

◆ M_r

RExpressionType M_r
private

Definition at line 146 of file ExpressionDivision.hpp.


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