|
Jet
v1.3.3
|
Front-end to create CustomVectorField2 objects step by step. More...
#include <jet/custom_vector_field2.h>
Public Member Functions | |
| Builder & | withFunction (const std::function< Vector2D(const Vector2D &)> &func) |
| Returns builder with field function. More... | |
| Builder & | withDivergenceFunction (const std::function< double(const Vector2D &)> &func) |
| Returns builder with divergence function. More... | |
| Builder & | withCurlFunction (const std::function< double(const Vector2D &)> &func) |
| Returns builder with curl function. More... | |
| Builder & | withDerivativeResolution (double resolution) |
| Returns builder with derivative resolution. More... | |
| CustomVectorField2 | build () const |
| Builds CustomVectorField2. More... | |
| CustomVectorField2Ptr | makeShared () const |
| Builds shared pointer of CustomVectorField2 instance. More... | |
Front-end to create CustomVectorField2 objects step by step.
| CustomVectorField2 jet::CustomVectorField2::Builder::build | ( | ) | const |
Builds CustomVectorField2.
| CustomVectorField2Ptr jet::CustomVectorField2::Builder::makeShared | ( | ) | const |
Builds shared pointer of CustomVectorField2 instance.
| Builder& jet::CustomVectorField2::Builder::withCurlFunction | ( | const std::function< double(const Vector2D &)> & | func | ) |
Returns builder with curl function.
| Builder& jet::CustomVectorField2::Builder::withDerivativeResolution | ( | double | resolution | ) |
Returns builder with derivative resolution.
| Builder& jet::CustomVectorField2::Builder::withDivergenceFunction | ( | const std::function< double(const Vector2D &)> & | func | ) |
Returns builder with divergence function.
| Builder& jet::CustomVectorField2::Builder::withFunction | ( | const std::function< Vector2D(const Vector2D &)> & | func | ) |
Returns builder with field function.
1.8.18