SemiLagrangian2.h
Go to the documentation of this file.
57 const ScalarField2& boundarySDF = ConstantScalarField2(std::numeric_limits<double>::max())) final;
82 const ScalarField2& boundarySDF = ConstantScalarField2(std::numeric_limits<double>::max())) final;
108 const ScalarField2& boundarySDF = ConstantScalarField2(std::numeric_limits<double>::max())) final;
119 virtual std::function<double(const Vector2D&)> GetScalarSamplerFunc(const ScalarGrid2& input) const;
130 virtual std::function<Vector2D(const Vector2D&)> GetVectorSamplerFunc(const CollocatedVectorGrid2& input) const;
141 virtual std::function<Vector2D(const Vector2D&)> GetVectorSamplerFunc(const FaceCenteredGrid2& input) const;
std::shared_ptr< SemiLagrangian2 > SemiLagrangian2Ptr
Definition: SemiLagrangian2.h:152
Implementation of 2-D semi-Lagrangian advection solver.
Definition: SemiLagrangian2.h:27
void Advect(const ScalarGrid2 &input, const VectorField2 &flow, double dt, ScalarGrid2 *output, const ScalarField2 &boundarySDF=ConstantScalarField2(std::numeric_limits< double >::max())) final
Computes semi-Lagrangian for given scalar grid.
Abstract base class for 2-D collocated vector grid structure.
Definition: CollocatedVectorGrid2.h:19
virtual std::function< double(const Vector2D &)> GetScalarSamplerFunc(const ScalarGrid2 &input) const
Returns spatial interpolation function object for given scalar grid.
2-D face-centered (a.k.a MAC or staggered) grid.
Definition: FaceCenteredGrid2.h:25
Definition: pybind11Utils.h:24
virtual std::function< Vector2D(const Vector2D &)> GetVectorSamplerFunc(const CollocatedVectorGrid2 &input) const
Returns spatial interpolation function object for given collocated vector grid.
SemiLagrangian2()
Abstract based class for 2-D grid-based advection solver.
Definition: AdvectionSolver2.h:26
Abstract base class for 2-D scalar grid structure.
Definition: ScalarGrid2.h:21
virtual ~SemiLagrangian2()