Loading...
Searching...
No Matches
AdvectionSolver2.hpp
Go to the documentation of this file.
1// This code is based on Jet framework.
2// Copyright (c) 2018 Doyub Kim
3// CubbyFlow is voxel-based fluid simulation engine for computer games.
4// Copyright (c) 2020 CubbyFlow Team
5// Core Part: Chris Ohk, Junwoo Hwang, Jihong Sin, Seungwoo Yoo
6// AI Part: Dongheon Cho, Minseo Kim
7// We are making my contributions/submissions to this project solely in our
8// personal capacity and are not conveying any rights to any intellectual
9// property of any third parties.
10
11#ifndef CUBBYFLOW_ADVECTION_SOLVER2_HPP
12#define CUBBYFLOW_ADVECTION_SOLVER2_HPP
13
19
20namespace CubbyFlow
21{
123
126} // namespace CubbyFlow
127
128#endif
Abstract based class for 2-D grid-based advection solver.
Definition AdvectionSolver2.hpp:29
AdvectionSolver2(const AdvectionSolver2 &)=default
Default copy constructor.
AdvectionSolver2()=default
Default constructor.
AdvectionSolver2(AdvectionSolver2 &&) noexcept=default
Default move constructor.
virtual void Advect(const ScalarGrid2 &input, const VectorField2 &flow, double dt, ScalarGrid2 *output, const ScalarField2 &boundarySDF=ConstantScalarField2(std::numeric_limits< double >::max()))=0
Solves advection equation for given scalar grid.
Abstract base class for N-D collocated vector grid structure.
Definition CollocatedVectorGrid.hpp:23
N-D constant scalar field.
Definition ConstantScalarField.hpp:21
N-D face-centered (a.k.a MAC or staggered) grid.
Definition FaceCenteredGrid.hpp:32
Definition Matrix.hpp:30
Abstract base class for N-D scalar field.
Definition ScalarField.hpp:25
Abstract base class for N-D scalar grid structure.
Definition ScalarGrid.hpp:25
Abstract base class for N-D vector field.
Definition VectorField.hpp:43
Definition pybind11Utils.hpp:21
std::shared_ptr< AdvectionSolver2 > AdvectionSolver2Ptr
Shared pointer type for the 2-D advection solver.
Definition AdvectionSolver2.hpp:125