LifeV
ExpressionSquareRoot< BaseExpressionType > Class Template Reference

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

#include <ExpressionSquareRoot.hpp>

+ Inheritance diagram for ExpressionSquareRoot< BaseExpressionType >:
+ Collaboration diagram for ExpressionSquareRoot< BaseExpressionType >:

Private Attributes

BaseExpressionType M_l
 

Public Types

typedef ExpressionBase< ExpressionSquareRoot< BaseExpressionType > > base_Type
 

Constructors & Destructor

 ExpressionSquareRoot (const BaseExpressionType &l)
 Full constructor using the two expressions. More...
 
 ExpressionSquareRoot (const ExpressionSquareRoot< BaseExpressionType > &expression)
 Copy constructor. More...
 
 ~ExpressionSquareRoot ()
 Destructor. More...
 

Methods

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

Private Methods

const BaseExpressionType & base () const
 Getter for the left hand side. More...
 
 ExpressionSquareRoot ()
 

Additional Inherited Members

- Public Types inherited from ExpressionBase< ExpressionSquareRoot< BaseExpressionType > >
typedef ExpressionSquareRoot< BaseExpressionType > derived_Type
 
- Public Member Functions inherited from ExpressionBase< ExpressionSquareRoot< BaseExpressionType > >
 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 BaseExpressionType>
class LifeV::ExpressionAssembly::ExpressionSquareRoot< BaseExpressionType >

class ExpressionSquareRoot 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 69 of file ExpressionSquareRoot.hpp.

Member Typedef Documentation

◆ base_Type

typedef ExpressionBase< ExpressionSquareRoot <BaseExpressionType> > base_Type

Definition at line 77 of file ExpressionSquareRoot.hpp.

Constructor & Destructor Documentation

◆ ExpressionSquareRoot() [1/3]

ExpressionSquareRoot ( const BaseExpressionType &  l)
inline

Full constructor using the two expressions.

Definition at line 85 of file ExpressionSquareRoot.hpp.

◆ ExpressionSquareRoot() [2/3]

ExpressionSquareRoot ( const ExpressionSquareRoot< BaseExpressionType > &  expression)
inline

Copy constructor.

Definition at line 89 of file ExpressionSquareRoot.hpp.

◆ ~ExpressionSquareRoot()

~ExpressionSquareRoot ( )
inline

Destructor.

Definition at line 93 of file ExpressionSquareRoot.hpp.

◆ ExpressionSquareRoot() [3/3]

ExpressionSquareRoot ( )
private

Member Function Documentation

◆ display()

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

Display method.

Definition at line 102 of file ExpressionSquareRoot.hpp.

◆ base()

const BaseExpressionType& base ( ) const
inline

Getter for the left hand side.

Definition at line 115 of file ExpressionSquareRoot.hpp.

Field Documentation

◆ M_l

BaseExpressionType M_l
private

Definition at line 133 of file ExpressionSquareRoot.hpp.


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