VectorField2.h
Go to the documentation of this file.
virtual std::function< Vector2D(const Vector2D &)> Sampler() const
Returns sampler function object.
Definition: pybind11Utils.h:24
std::shared_ptr< VectorField2 > VectorField2Ptr
Shared pointer for the VectorField2 type.
Definition: VectorField2.h:44
virtual Vector2D Sample(const Vector2D &x) const =0
Returns sampled value at given position x.
virtual double Divergence(const Vector2D &x) const
Returns divergence at given position x.
virtual double Curl(const Vector2D &x) const
Returns curl at given position x.