LifeV
|
class ExpressionPower Class for representing a product between two expressions. More...
#include <ExpressionPower.hpp>
Private Attributes | |
BaseExpressionType | M_l |
Real | M_exponent |
Public Types | |
typedef ExpressionBase< ExpressionPower< BaseExpressionType > > | base_Type |
Constructors & Destructor | |
ExpressionPower (const BaseExpressionType &l, const Real exponent) | |
Full constructor using the two expressions. More... | |
ExpressionPower (const ExpressionPower< BaseExpressionType > &expression) | |
Copy constructor. More... | |
~ExpressionPower () | |
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... | |
const Real & | exponent () const |
Getter for the right hand side. More... | |
ExpressionPower () | |
Additional Inherited Members | |
Public Types inherited from ExpressionBase< ExpressionPower< BaseExpressionType > > | |
typedef ExpressionPower< BaseExpressionType > | derived_Type |
Public Member Functions inherited from ExpressionBase< ExpressionPower< BaseExpressionType > > | |
ExpressionBase () | |
Empty and only constructor. More... | |
virtual | ~ExpressionBase () |
Destructor. More... | |
const derived_Type & | cast () const |
Method to cast away the type and get the real (DerivedType) object. More... | |
class ExpressionPower Class for representing a product between two expressions.
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 71 of file ExpressionPower.hpp.
typedef ExpressionBase< ExpressionPower <BaseExpressionType> > base_Type |
Definition at line 79 of file ExpressionPower.hpp.
|
inline |
Full constructor using the two expressions.
Definition at line 87 of file ExpressionPower.hpp.
|
inline |
Copy constructor.
Definition at line 91 of file ExpressionPower.hpp.
|
inline |
Destructor.
Definition at line 95 of file ExpressionPower.hpp.
|
private |
|
inlinestatic |
Display method.
Definition at line 104 of file ExpressionPower.hpp.
|
inline |
Getter for the left hand side.
Definition at line 117 of file ExpressionPower.hpp.
|
inline |
Getter for the right hand side.
Definition at line 123 of file ExpressionPower.hpp.
|
private |
Definition at line 141 of file ExpressionPower.hpp.
|
private |
Definition at line 144 of file ExpressionPower.hpp.