UpwindLevelSetSolver3.h
Go to the documentation of this file.
1 /*************************************************************************
2 > File Name: UpwindLevelSetSolver3.h
3 > Project Name: CubbyFlow
4 > Author: Chan-Ho Chris Ohk
5 > Purpose: Three-dimensional first-order upwind-based iterative level set solver.
6 > Created Time: 2017/09/03
7 > Copyright (c) 2018, Chan-Ho Chris Ohk
8 *************************************************************************/
9 #ifndef CUBBYFLOW_UPWIND_LEVEL_SET_SOLVER3_H
10 #define CUBBYFLOW_UPWIND_LEVEL_SET_SOLVER3_H
11 
13 
14 namespace CubbyFlow
15 {
18  {
19  public:
22 
23  protected:
25  void GetDerivatives(
27  const Vector3D& gridSpacing,
28  size_t i, size_t j, size_t k,
29  std::array<double, 2>* dx, std::array<double, 2>* dy, std::array<double, 2>* dz) const override;
30  };
31 
32  using UpwindLevelSetSolver3Ptr = std::shared_ptr<UpwindLevelSetSolver3>;
33 }
34 
35 #endif
3-D vector class.
Definition: Vector3.h:26
3-D read-only array accessor class.
Definition: ArrayAccessor3.h:269
UpwindLevelSetSolver3()
Default constructor.
Abstract base class for 3-D PDE-based iterative level set solver.
Definition: IterativeLevelSetSolver3.h:27
Definition: pybind11Utils.h:24
std::shared_ptr< UpwindLevelSetSolver3 > UpwindLevelSetSolver3Ptr
Definition: UpwindLevelSetSolver3.h:32
void GetDerivatives(ConstArrayAccessor3< 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.
Three-dimensional first-order upwind-based iterative level set solver.
Definition: UpwindLevelSetSolver3.h:17