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

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

#include <jet/cubic_semi_lagrangian3.h>

Inheritance diagram for jet::CubicSemiLagrangian3:
jet::SemiLagrangian3 jet::AdvectionSolver3

Public Member Functions

 CubicSemiLagrangian3 ()
 
- Public Member Functions inherited from jet::SemiLagrangian3
 SemiLagrangian3 ()
 
virtual ~SemiLagrangian3 ()
 
void advect (const ScalarGrid3 &input, const VectorField3 &flow, double dt, ScalarGrid3 *output, const ScalarField3 &boundarySdf=ConstantScalarField3(std::numeric_limits< double >::max())) final
 Computes semi-Langian for given scalar grid. More...
 
void advect (const CollocatedVectorGrid3 &input, const VectorField3 &flow, double dt, CollocatedVectorGrid3 *output, const ScalarField3 &boundarySdf=ConstantScalarField3(std::numeric_limits< double >::max())) final
 Computes semi-Langian for given collocated vector grid. More...
 
void advect (const FaceCenteredGrid3 &input, const VectorField3 &flow, double dt, FaceCenteredGrid3 *output, const ScalarField3 &boundarySdf=ConstantScalarField3(std::numeric_limits< double >::max())) final
 Computes semi-Langian for given face-centered vector grid. More...
 
- Public Member Functions inherited from jet::AdvectionSolver3
 AdvectionSolver3 ()
 
virtual ~AdvectionSolver3 ()
 

Protected Member Functions

std::function< double(const Vector3D &)> getScalarSamplerFunc (const ScalarGrid3 &source) const override
 Returns spatial interpolation function object for given scalar grid. More...
 
std::function< Vector3D(const Vector3D &)> getVectorSamplerFunc (const CollocatedVectorGrid3 &source) const override
 Returns spatial interpolation function object for given collocated vector grid. More...
 
std::function< Vector3D(const Vector3D &)> getVectorSamplerFunc (const FaceCenteredGrid3 &source) const override
 Returns spatial interpolation function object for given face-centered vector grid. More...
 

Detailed Description

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

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

Constructor & Destructor Documentation

◆ CubicSemiLagrangian3()

jet::CubicSemiLagrangian3::CubicSemiLagrangian3 ( )

Member Function Documentation

◆ getScalarSamplerFunc()

std::function<double(const Vector3D&)> jet::CubicSemiLagrangian3::getScalarSamplerFunc ( const ScalarGrid3 source) const
overrideprotectedvirtual

Returns spatial interpolation function object for given scalar grid.

This function overrides the original function with cubic interpolation.

Reimplemented from jet::SemiLagrangian3.

◆ getVectorSamplerFunc() [1/2]

std::function<Vector3D(const Vector3D&)> jet::CubicSemiLagrangian3::getVectorSamplerFunc ( const CollocatedVectorGrid3 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::SemiLagrangian3.

◆ getVectorSamplerFunc() [2/2]

std::function<Vector3D(const Vector3D&)> jet::CubicSemiLagrangian3::getVectorSamplerFunc ( const FaceCenteredGrid3 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::SemiLagrangian3.


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