UpwindLevelSetSolver3.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_UPWIND_LEVEL_SET_SOLVER3_HPP
12 #define CUBBYFLOW_UPWIND_LEVEL_SET_SOLVER3_HPP
13 
15 
16 namespace CubbyFlow
17 {
20 {
21  public:
24 
25  protected:
28  const Vector3D& gridSpacing, size_t i, size_t j,
29  size_t k, std::array<double, 2>* dx,
30  std::array<double, 2>* dy,
31  std::array<double, 2>* dz) const override;
32 };
33 
34 using UpwindLevelSetSolver3Ptr = std::shared_ptr<UpwindLevelSetSolver3>;
35 } // namespace CubbyFlow
36 
37 #endif
UpwindLevelSetSolver3()
Default constructor.
Abstract base class for 3-D PDE-based iterative level set solver.
Definition: IterativeLevelSetSolver3.hpp:29
Definition: Matrix.hpp:27
Definition: pybind11Utils.hpp:20
std::shared_ptr< UpwindLevelSetSolver3 > UpwindLevelSetSolver3Ptr
Definition: UpwindLevelSetSolver3.hpp:34
void GetDerivatives(ConstArrayView3< double > grid, const Vector3D &gridSpacing, size_t i, size_t j, size_t k, std::array< double, 2 > *dx, std::array< double, 2 > *dy, std::array< double, 2 > *dz) const override
Computes the derivatives for given grid point.
Generic N-dimensional array class interface.
Definition: Array.hpp:32
Three-dimensional first-order upwind-based iterative level set solver.
Definition: UpwindLevelSetSolver3.hpp:19