Go to the documentation of this file.
7 #ifndef INCLUDE_JET_ITERATIVE_LEVEL_SET_SOLVER3_H_
8 #define INCLUDE_JET_ITERATIVE_LEVEL_SET_SOLVER3_H_
93 const Vector3D& gridSpacing,
size_t i,
size_t j,
94 size_t k, std::array<double, 2>* dx,
95 std::array<double, 2>* dy,
96 std::array<double, 2>* dz)
const = 0;
103 const Vector3D& gridSpacing,
double maxDistance,
106 static unsigned int distanceToNumberOfIterations(
double distance,
110 const Vector3D& gridSpacing,
size_t i,
size_t j,
121 #endif // INCLUDE_JET_ITERATIVE_LEVEL_SET_SOLVER3_H_
3-D read-only array accessor class.
Definition: array_accessor3.h:270
Abstract base class for 3-D scalar field.
Definition: scalar_field3.h:18
void setMaxCfl(double newMaxCfl)
Sets the maximum CFL limit.
virtual 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 =0
Computes the derivatives for given grid point.
Abstract base class for 3-D collocated vector grid structure.
Definition: collocated_vector_grid3.h:18
void extrapolate(const CollocatedVectorGrid3 &input, const ScalarField3 &sdf, double maxDistance, CollocatedVectorGrid3 *output) override
Abstract base class for 3-D level set solver.
Definition: level_set_solver3.h:18
Definition: advection_solver2.h:18
3-D face-centered (a.k.a MAC or staggered) grid.
Definition: face_centered_grid3.h:26
virtual ~IterativeLevelSetSolver3()
Default destructor.
void reinitialize(const ScalarGrid3 &inputSdf, double maxDistance, ScalarGrid3 *outputSdf) override
3-D array accessor class.
Definition: array_accessor3.h:31
Abstract base class for 3-D scalar grid structure.
Definition: scalar_grid3.h:21
3-D vector class.
Definition: vector3.h:25
double maxCfl() const
Returns the maximum CFL limit.
std::shared_ptr< IterativeLevelSetSolver3 > IterativeLevelSetSolver3Ptr
Definition: iterative_level_set_solver3.h:117
IterativeLevelSetSolver3()
Default constructor.
void extrapolate(const ScalarGrid3 &input, const ScalarField3 &sdf, double maxDistance, ScalarGrid3 *output) override
Abstract base class for 3-D PDE-based iterative level set solver.
Definition: iterative_level_set_solver3.h:25
void extrapolate(const FaceCenteredGrid3 &input, const ScalarField3 &sdf, double maxDistance, FaceCenteredGrid3 *output) override