ConstantTensorFunction Class Reference

#include <ConstantTensorFunction.H>

Inheritance diagram for ConstantTensorFunction:

Inheritance graph

List of all members.

Public Member Functions

 ConstantTensorFunction (const RealTensor &a_value)
 ~ConstantTensorFunction ()
RealTensor operator() (const RealVect &a_x, Real a_t) const

Private Attributes

RealTensor m_value

Constructor & Destructor Documentation

ConstantTensorFunction::ConstantTensorFunction ( const RealTensor a_value  )  [explicit]

Creates a constant function returning the given value.

a_value The value returned by the function.

ConstantTensorFunction::~ConstantTensorFunction (  ) 


Member Function Documentation

RealTensor ConstantTensorFunction::operator() ( const RealVect a_x,
Real  a_t 
) const [virtual]

Override this method to evaluate this function at the given point in space and time.

a_x A point in $D$-dimensional space.
a_t The time at which the function is evaluated.

Implements TensorFunction.

Member Data Documentation

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

Generated on Fri Apr 5 04:24:58 2019 for Chombo + EB by  doxygen 1.5.5