ENOLevelSetSolver2.h
Go to the documentation of this file.
1 /*************************************************************************
2 > File Name: ENOLevelSetSolver2.h
3 > Project Name: CubbyFlow
4 > Author: Chan-Ho Chris Ohk
5 > Purpose: Two-dimensional third-order ENO-based iterative level set solver.
6 > Created Time: 2017/08/31
7 > Copyright (c) 2018, Chan-Ho Chris Ohk
8 *************************************************************************/
9 #ifndef CUBBYFLOW_ENO_LEVEL_SET_SOLVER2_H
10 #define CUBBYFLOW_ENO_LEVEL_SET_SOLVER2_H
11 
13 
14 namespace CubbyFlow
15 {
18  {
19  public:
22 
23  protected:
25  void GetDerivatives(
27  const Vector2D& gridSpacing,
28  size_t i, size_t j,
29  std::array<double, 2>* dx, std::array<double, 2>* dy) const override;
30  };
31 
32  using ENOLevelSetSolver2Ptr = std::shared_ptr<ENOLevelSetSolver2>;
33 }
34 
35 #endif
2-D read-only array accessor class.
Definition: ArrayAccessor2.h:261
Two-dimensional third-order ENO-based iterative level set solver.
Definition: ENOLevelSetSolver2.h:17
void GetDerivatives(ConstArrayAccessor2< 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.h:27
std::shared_ptr< ENOLevelSetSolver2 > ENOLevelSetSolver2Ptr
Definition: ENOLevelSetSolver2.h:32
Definition: pybind11Utils.h:24
2-D vector class.
Definition: Vector2.h:26
ENOLevelSetSolver2()
Default constructor.