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

Public Member Functions | |
| ConstantVectorFunction (const RealVect &a_value) | |
| ~ConstantVectorFunction () | |
| Destructor. More... | |
| RealVect | operator() (const RealVect &a_x, Real a_t) const |
| RealVect | derivative (const IntVect &a_order, const RealVect &a_x, Real a_t) const |
Public Member Functions inherited from VectorFunction | |
| VectorFunction (bool a_homogeneous, bool a_constant) | |
| virtual | ~VectorFunction () |
| Destructor. More... | |
| virtual bool | hasDerivative (const IntVect &a_order) const |
| RealVect | operator() (const RealVect &a_x) const |
| RealVect | derivative (const IntVect &a_order, 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... | |
Private Attributes | |
| RealVect | m_value |
Additional Inherited Members | |
Protected Attributes inherited from VectorFunction | |
| bool | m_isHomogeneous |
| bool | m_isConstant |
This VectorFunction subclass represents a function that returns a constant value everywhere in space and time.
|
explicit |
Creates a constant scalar function returning the given value.
| a_value | The value returned by the function. |
| ConstantVectorFunction::~ConstantVectorFunction | ( | ) |
Destructor.
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. |
Implements VectorFunction.
|
virtual |
Override this method to evaluate the given partial derivative of the function at the given point in space and time.
| a_order | A multi-index identifying the order(s) of the partial derivative of the function to be evaluated. |
| a_x | A point in -dimensional space. |
| a_t | The time at which the derivative is to be evaluated. |
Reimplemented from VectorFunction.
|
private |
1.8.13