CubbyFlow::ConstantScalarField3 Class Referencefinal
3-D constant scalar field. More...
#include <Core/Field/ConstantScalarField3.h>
Inheritance diagram for CubbyFlow::ConstantScalarField3:
Classes | |
| class | Builder |
| Front-end to create ConstantScalarField3 objects step by step. More... | |
Public Member Functions | |
| ConstantScalarField3 (double value) | |
Constructs a constant scalar field with given value. More... | |
| double | Sample (const Vector3D &x) const override |
Returns the sampled value at given position x. More... | |
| std::function< double(const Vector3D &)> | Sampler () const override |
| Returns the sampler function. More... | |
Public Member Functions inherited from CubbyFlow::ScalarField3 | |
| ScalarField3 () | |
| Default constructor. More... | |
| virtual | ~ScalarField3 () |
| Default destructor. More... | |
| virtual Vector3D | Gradient (const Vector3D &x) const |
Returns gradient vector at given position x. More... | |
| virtual double | Laplacian (const Vector3D &x) const |
Returns Laplacian at given position x. More... | |
Public Member Functions inherited from CubbyFlow::Field3 | |
| Field3 () | |
| virtual | ~Field3 () |
Static Public Member Functions | |
| static Builder | GetBuilder () |
| Returns builder fox ConstantScalarField3. More... | |
Detailed Description
3-D constant scalar field.
Constructor & Destructor Documentation
◆ ConstantScalarField3()
|
explicit |
Constructs a constant scalar field with given value.
Member Function Documentation
◆ GetBuilder()
|
static |
Returns builder fox ConstantScalarField3.
◆ Sample()
|
overridevirtual |
Returns the sampled value at given position x.
Implements CubbyFlow::ScalarField3.
◆ Sampler()
|
overridevirtual |
Returns the sampler function.
Reimplemented from CubbyFlow::ScalarField3.
The documentation for this class was generated from the following file:
- Core/Field/ConstantScalarField3.h
Public Member Functions inherited from
1.8.14