LifeV
ExpressionOuterProduct< LExpressionType, RExpressionType > Class Template Reference

class ExpressionOuterProduct Class for representing a vector product multiplication between two vector expressions. More...

#include <ExpressionOuterProduct.hpp>

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

Private Attributes

LExpressionType M_l
 
RExpressionType M_r
 

Public Types

typedef ExpressionBase< ExpressionOuterProduct< LExpressionType, RExpressionType > > base_Type
 

Constructors & Destructor

 ExpressionOuterProduct (const LExpressionType &l, const RExpressionType &r)
 Full constructor, with the two expressions. More...
 
 ExpressionOuterProduct (const ExpressionOuterProduct< LExpressionType, RExpressionType > &expression)
 Copy constructor. More...
 
 ~ExpressionOuterProduct ()
 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

 ExpressionOuterProduct ()
 No default constructor. More...
 

Additional Inherited Members

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

class ExpressionOuterProduct Class for representing a vector product multiplication between two vector 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 ExpressionOuterProduct.hpp.

Member Typedef Documentation

◆ base_Type

typedef ExpressionBase< ExpressionOuterProduct <LExpressionType, RExpressionType> > base_Type

Definition at line 80 of file ExpressionOuterProduct.hpp.

Constructor & Destructor Documentation

◆ ExpressionOuterProduct() [1/3]

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

Full constructor, with the two expressions.

Definition at line 89 of file ExpressionOuterProduct.hpp.

◆ ExpressionOuterProduct() [2/3]

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

Copy constructor.

Definition at line 93 of file ExpressionOuterProduct.hpp.

◆ ~ExpressionOuterProduct()

Destructor.

Definition at line 97 of file ExpressionOuterProduct.hpp.

◆ ExpressionOuterProduct() [3/3]

No default constructor.

Member Function Documentation

◆ display()

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

Display method.

Definition at line 106 of file ExpressionOuterProduct.hpp.

◆ left()

const LExpressionType& left ( ) const
inline

Getter for the left hand side of the emult operation.

Definition at line 120 of file ExpressionOuterProduct.hpp.

◆ right()

const RExpressionType& right ( ) const
inline

Getter for the right hand side of the emult operation.

Definition at line 126 of file ExpressionOuterProduct.hpp.

Field Documentation

◆ M_l

LExpressionType M_l
private

Definition at line 144 of file ExpressionOuterProduct.hpp.

◆ M_r

RExpressionType M_r
private

Definition at line 147 of file ExpressionOuterProduct.hpp.


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