Jet
v1.3.3
|
2-D constant scalar field. More...
#include <jet/constant_scalar_field2.h>
Classes | |
class | Builder |
Front-end to create ConstantScalarField2 objects step by step. More... | |
Public Member Functions | |
ConstantScalarField2 (double value) | |
Constructs a constant scalar field with given value . More... | |
double | sample (const Vector2D &x) const override |
Returns the sampled value at given position x . More... | |
std::function< double(const Vector2D &)> | sampler () const override |
Returns the sampler function. More... | |
![]() | |
ScalarField2 () | |
Default constructor. More... | |
virtual | ~ScalarField2 () |
Default destructor. More... | |
virtual Vector2D | gradient (const Vector2D &x) const |
Returns gradient vector at given position x . More... | |
virtual double | laplacian (const Vector2D &x) const |
Returns Laplacian at given position x . More... | |
![]() | |
Field2 () | |
virtual | ~Field2 () |
Static Public Member Functions | |
static Builder | builder () |
Returns builder fox ConstantScalarField2. More... | |
2-D constant scalar field.
|
explicit |
Constructs a constant scalar field with given value
.
|
static |
Returns builder fox ConstantScalarField2.
|
overridevirtual |
Returns the sampled value at given position x
.
Implements jet::ScalarField2.
|
overridevirtual |
Returns the sampler function.
Reimplemented from jet::ScalarField2.