Jet  v1.3.3
Public Member Functions | List of all members
jet::CustomScalarField2::Builder Class Referencefinal

Front-end to create CustomScalarField2 objects step by step. More...

#include <jet/custom_scalar_field2.h>

Public Member Functions

BuilderwithFunction (const std::function< double(const Vector2D &)> &func)
 Returns builder with field function. More...
 
BuilderwithGradientFunction (const std::function< Vector2D(const Vector2D &)> &func)
 Returns builder with divergence function. More...
 
BuilderwithLaplacianFunction (const std::function< double(const Vector2D &)> &func)
 Returns builder with curl function. More...
 
BuilderwithDerivativeResolution (double resolution)
 Returns builder with derivative resolution. More...
 
CustomScalarField2 build () const
 Builds CustomScalarField2. More...
 
CustomScalarField2Ptr makeShared () const
 Builds shared pointer of CustomScalarField2 instance. More...
 

Detailed Description

Front-end to create CustomScalarField2 objects step by step.

Member Function Documentation

◆ build()

CustomScalarField2 jet::CustomScalarField2::Builder::build ( ) const

◆ makeShared()

CustomScalarField2Ptr jet::CustomScalarField2::Builder::makeShared ( ) const

Builds shared pointer of CustomScalarField2 instance.

◆ withDerivativeResolution()

Builder& jet::CustomScalarField2::Builder::withDerivativeResolution ( double  resolution)

Returns builder with derivative resolution.

◆ withFunction()

Builder& jet::CustomScalarField2::Builder::withFunction ( const std::function< double(const Vector2D &)> &  func)

Returns builder with field function.

◆ withGradientFunction()

Builder& jet::CustomScalarField2::Builder::withGradientFunction ( const std::function< Vector2D(const Vector2D &)> &  func)

Returns builder with divergence function.

◆ withLaplacianFunction()

Builder& jet::CustomScalarField2::Builder::withLaplacianFunction ( const std::function< double(const Vector2D &)> &  func)

Returns builder with curl function.


The documentation for this class was generated from the following file: