ScalarField.hpp
Go to the documentation of this file.
virtual double Sample(const Vector< double, N > &x) const =0
Returns sampled value at given position x.
std::shared_ptr< ScalarField3 > ScalarField3Ptr
Shared pointer for the ScalarField3 type.
Definition: ScalarField.hpp:70
virtual Vector< double, N > Gradient(const Vector< double, N > &x) const
Returns gradient vector at given position x.
std::shared_ptr< ScalarField2 > ScalarField2Ptr
Shared pointer for the ScalarField2 type.
Definition: ScalarField.hpp:67
Definition: Matrix.hpp:27
Definition: pybind11Utils.hpp:20
ScalarField & operator=(const ScalarField &)=default
Default copy assignment operator.
virtual double Laplacian(const Vector< double, N > &x) const
Returns Laplacian at given position x.
virtual std::function< double(const Vector< double, N > &)> Sampler() const
Returns sampler function object.