Jet
v1.3.3
|
Implementation of 2-D cubic semi-Lagrangian advection solver. More...
#include <jet/cubic_semi_lagrangian2.h>
Public Member Functions | |
CubicSemiLagrangian2 () | |
![]() | |
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... | |
![]() | |
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... | |
Implementation of 2-D cubic semi-Lagrangian advection solver.
This class implements 3rd-order cubic 2-D semi-Lagrangian advection solver.
jet::CubicSemiLagrangian2::CubicSemiLagrangian2 | ( | ) |
|
overrideprotectedvirtual |
Returns spatial interpolation function object for given scalar grid.
This function overrides the original function with cubic interpolation.
Reimplemented from jet::SemiLagrangian2.
|
overrideprotectedvirtual |
Returns spatial interpolation function object for given collocated vector grid.
This function overrides the original function with cubic interpolation.
Reimplemented from jet::SemiLagrangian2.
|
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.