Jet
v1.3.3
|
Abstract base class for 3-D vector field. More...
#include <jet/vector_field3.h>
Public Member Functions | |
VectorField3 () | |
Default constructor. More... | |
virtual | ~VectorField3 () |
Default destructor. More... | |
virtual Vector3D | sample (const Vector3D &x) const =0 |
Returns sampled value at given position x . More... | |
virtual double | divergence (const Vector3D &x) const |
Returns divergence at given position x . More... | |
virtual Vector3D | curl (const Vector3D &x) const |
Returns curl at given position x . More... | |
virtual std::function< Vector3D(const Vector3D &)> | sampler () const |
Returns sampler function object. More... | |
![]() | |
Field3 () | |
virtual | ~Field3 () |
Abstract base class for 3-D vector field.
jet::VectorField3::VectorField3 | ( | ) |
Default constructor.
|
virtual |
Default destructor.
Returns curl at given position x
.
Reimplemented in jet::FaceCenteredGrid3, jet::CollocatedVectorGrid3, and jet::CustomVectorField3.
|
virtual |
Returns divergence at given position x
.
Reimplemented in jet::FaceCenteredGrid3, jet::CollocatedVectorGrid3, and jet::CustomVectorField3.
Returns sampled value at given position x
.
Implemented in jet::FaceCenteredGrid3, jet::CollocatedVectorGrid3, jet::CustomVectorField3, and jet::ConstantVectorField3.
Returns sampler function object.
Reimplemented in jet::FaceCenteredGrid3, jet::CollocatedVectorGrid3, jet::CustomVectorField3, and jet::ConstantVectorField3.