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

Implementation of 2-D cubic semi-Lagrangian advection solver. More...

#include <jet/cubic_semi_lagrangian2.h>

Inheritance diagram for jet::CubicSemiLagrangian2:
jet::SemiLagrangian2 jet::AdvectionSolver2

Public Member Functions

 CubicSemiLagrangian2 ()
 
- Public Member Functions inherited from jet::SemiLagrangian2
 SemiLagrangian2 ()
 
virtual ~SemiLagrangian2 ()
 
void advect (const ScalarGrid2 &input, const VectorField2 &flow, double dt, ScalarGrid2 *output, const ScalarField2 &boundarySdf=ConstantScalarField2(kMaxD)) final
 Computes semi-Lagrangian for given scalar grid. More...
 
void advect (const CollocatedVectorGrid2 &input, const VectorField2 &flow, double dt, CollocatedVectorGrid2 *output, const ScalarField2 &boundarySdf=ConstantScalarField2(kMaxD)) final
 Computes semi-Lagrangian for given collocated vector grid. More...
 
void advect (const FaceCenteredGrid2 &input, const VectorField2 &flow, double dt, FaceCenteredGrid2 *output, const ScalarField2 &boundarySdf=ConstantScalarField2(kMaxD)) final
 Computes semi-Lagrangian for given face-centered vector grid. More...
 
- Public Member Functions inherited from jet::AdvectionSolver2
 AdvectionSolver2 ()
 
virtual ~AdvectionSolver2 ()
 

Protected Member Functions

std::function< double(const Vector2D &)> getScalarSamplerFunc (const ScalarGrid2 &source) const override
 Returns spatial interpolation function object for given scalar grid. More...
 
std::function< Vector2D(const Vector2D &)> getVectorSamplerFunc (const CollocatedVectorGrid2 &source) const override
 Returns spatial interpolation function object for given collocated vector grid. More...
 
std::function< Vector2D(const Vector2D &)> getVectorSamplerFunc (const FaceCenteredGrid2 &source) const override
 Returns spatial interpolation function object for given face-centered vector grid. More...
 

Detailed Description

Implementation of 2-D cubic semi-Lagrangian advection solver.

This class implements 3rd-order cubic 2-D semi-Lagrangian advection solver.

Constructor & Destructor Documentation

◆ CubicSemiLagrangian2()

jet::CubicSemiLagrangian2::CubicSemiLagrangian2 ( )

Member Function Documentation

◆ getScalarSamplerFunc()

std::function<double(const Vector2D&)> jet::CubicSemiLagrangian2::getScalarSamplerFunc ( const ScalarGrid2 source) const
overrideprotectedvirtual

Returns spatial interpolation function object for given scalar grid.

This function overrides the original function with cubic interpolation.

Reimplemented from jet::SemiLagrangian2.

◆ getVectorSamplerFunc() [1/2]

std::function<Vector2D(const Vector2D&)> jet::CubicSemiLagrangian2::getVectorSamplerFunc ( const CollocatedVectorGrid2 source) const
overrideprotectedvirtual

Returns spatial interpolation function object for given collocated vector grid.

This function overrides the original function with cubic interpolation.

Reimplemented from jet::SemiLagrangian2.

◆ getVectorSamplerFunc() [2/2]

std::function<Vector2D(const Vector2D&)> jet::CubicSemiLagrangian2::getVectorSamplerFunc ( const FaceCenteredGrid2 source) const
overrideprotectedvirtual

Returns spatial interpolation function object for given face-centered vector grid.

This function overrides the original function with cubic interpolation.

Reimplemented from jet::SemiLagrangian2.


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