|
Chombo + EB
3.0
|
#include <TensorFunction.H>

Public Member Functions | |
| TensorFunction (bool a_homogeneous, bool a_constant) | |
| virtual | ~TensorFunction () |
| Destructor. More... | |
| virtual RealTensor | operator() (const RealVect &a_x, Real a_t) const =0 |
| RealTensor | operator() (const RealVect &a_x) const |
| bool | isHomogeneous () const |
| Returns true if this function is homogeneous, false otherwise. More... | |
| bool | isConstant () const |
| Returns true if this function is constant, false otherwise. More... | |
Protected Attributes | |
| bool | m_isHomogeneous |
| bool | m_isConstant |
Private Member Functions | |
| TensorFunction () | |
| TensorFunction (const TensorFunction &) | |
| TensorFunction & | operator= (const TensorFunction &) |
This base class represents a tensor function
.
| TensorFunction::TensorFunction | ( | bool | a_homogeneous, |
| bool | a_constant | ||
| ) |
Base class constructor. Must be called by subclasses.
| a_homogeneous | This flag indicates whether the tensor function is constant in space. |
| a_constant | This flag indicates whether the tensor function is constant in time. |
|
virtual |
Destructor.
|
private |
|
private |
|
pure virtual |
Override this method to evaluate this function at the given point in space and time.
| a_x | A point in -dimensional space. |
| a_t | The time at which the function is evaluated. |
Implemented in ConstantTensorFunction.
Referenced by operator()().
|
inline |
This evaluates the function at time 0.
| a_x | A point in -dimensional space. |
References operator()().
|
inline |
Returns true if this function is homogeneous, false otherwise.
References m_isHomogeneous.
|
inline |
Returns true if this function is constant, false otherwise.
References m_isConstant.
|
private |
|
protected |
Referenced by isHomogeneous().
|
protected |
Referenced by isConstant().
1.8.13