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