Loading...
Searching...
No Matches
UpwindLevelSetSolver2.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_SOLVER2_HPP
12#define CUBBYFLOW_UPWIND_LEVEL_SET_SOLVER2_HPP
13
15
16namespace CubbyFlow
17{
19{
20 public:
23
24 protected:
27 const Vector2D& gridSpacing, size_t i, size_t j,
28 std::array<double, 2>* dx,
29 std::array<double, 2>* dy) const override;
30};
31
32using UpwindLevelSetSolver2Ptr = std::shared_ptr<UpwindLevelSetSolver2>;
33} // namespace CubbyFlow
34
35#endif
Abstract base class for 2-D PDE-based iterative level set solver.
Definition IterativeLevelSetSolver2.hpp:30
Definition Matrix.hpp:30
Definition UpwindLevelSetSolver2.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.
UpwindLevelSetSolver2()
Default constructor.
Definition pybind11Utils.hpp:21
std::shared_ptr< UpwindLevelSetSolver2 > UpwindLevelSetSolver2Ptr
Definition UpwindLevelSetSolver2.hpp:32