LifeV
ExpressionDot< LExpressionType, RExpressionType > Class Template Reference

class ExpressionDot Class for representing a dot product between two expressions. More...

#include <ExpressionDot.hpp>

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

Private Attributes

LExpressionType M_l
 
RExpressionType M_r
 

Public Types

typedef ExpressionBase< ExpressionDot< LExpressionType, RExpressionType > > base_Type
 

Constructors & Destructor

 ExpressionDot (const LExpressionType &l, const RExpressionType &r)
 Full constructor, with the two expressions. More...
 
 ExpressionDot (const ExpressionDot< LExpressionType, RExpressionType > &expression)
 Copy constructor. More...
 
 ~ExpressionDot ()
 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 dot product. More...
 
const RExpressionType & right () const
 Getter for the right hand side of the dot product. More...
 

Private Methods

 ExpressionDot ()
 No default constructor. More...
 

Additional Inherited Members

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

class ExpressionDot Class for representing a dot 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 dot product in the expression tree.

Template parameters

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

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

Template requirements

LExpressionType: Copiable, static display method

RExpressionType: Copiable, static display method

Definition at line 71 of file ExpressionDot.hpp.

Member Typedef Documentation

◆ base_Type

typedef ExpressionBase< ExpressionDot <LExpressionType, RExpressionType> > base_Type

Definition at line 79 of file ExpressionDot.hpp.

Constructor & Destructor Documentation

◆ ExpressionDot() [1/3]

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

Full constructor, with the two expressions.

Definition at line 88 of file ExpressionDot.hpp.

◆ ExpressionDot() [2/3]

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

Copy constructor.

Definition at line 92 of file ExpressionDot.hpp.

◆ ~ExpressionDot()

~ExpressionDot ( )
inline

Destructor.

Definition at line 96 of file ExpressionDot.hpp.

◆ ExpressionDot() [3/3]

ExpressionDot ( )
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 ExpressionDot.hpp.

◆ left()

const LExpressionType& left ( ) const
inline

Getter for the left hand side of the dot product.

Definition at line 119 of file ExpressionDot.hpp.

◆ right()

const RExpressionType& right ( ) const
inline

Getter for the right hand side of the dot product.

Definition at line 125 of file ExpressionDot.hpp.

Field Documentation

◆ M_l

LExpressionType M_l
private

Definition at line 143 of file ExpressionDot.hpp.

◆ M_r

RExpressionType M_r
private

Definition at line 146 of file ExpressionDot.hpp.


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