ENOLevelSetSolver2.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_ENO_LEVEL_SET_SOLVER2_HPP
12 #define CUBBYFLOW_ENO_LEVEL_SET_SOLVER2_HPP
13 
15 
16 namespace CubbyFlow
17 {
20 {
21  public:
24 
25  protected:
28  const Vector2D& gridSpacing, size_t i, size_t j,
29  std::array<double, 2>* dx,
30  std::array<double, 2>* dy) const override;
31 };
32 
33 using ENOLevelSetSolver2Ptr = std::shared_ptr<ENOLevelSetSolver2>;
34 } // namespace CubbyFlow
35 
36 #endif
Two-dimensional third-order ENO-based iterative level set solver.
Definition: ENOLevelSetSolver2.hpp:19
void GetDerivatives(ConstArrayView2< double > grid, const Vector2D &gridSpacing, size_t i, size_t j, std::array< double, 2 > *dx, std::array< double, 2 > *dy) const override
Computes the derivatives for given grid point.
Abstract base class for 2-D PDE-based iterative level set solver.
Definition: IterativeLevelSetSolver2.hpp:29
Definition: Matrix.hpp:27
std::shared_ptr< ENOLevelSetSolver2 > ENOLevelSetSolver2Ptr
Definition: ENOLevelSetSolver2.hpp:33
Definition: pybind11Utils.hpp:20
Generic N-dimensional array class interface.
Definition: Array.hpp:32
ENOLevelSetSolver2()
Default constructor.