ViennaLS
Loading...
Searching...
No Matches
lsOxidationSolverBase.hpp File Reference
#include <lsDomain.hpp>
#include <hrleSparseIterator.hpp>
#include <algorithm>
#include <array>
#include <cmath>
#include <cstddef>
#include <functional>
#include <limits>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

class  viennals::OxidationSolverBase< T, D >
 Common Cartesian-grid infrastructure shared by the three oxidation solver classes (diffusion, deformation, mask bending). Provides the node lookup table, grid extents, and the core grid utility methods that operate on them. More...
struct  viennals::OxidationSolverBase< T, D >::GridBounds

Namespaces

namespace  viennals
namespace  viennals::detail

Functions

template<class T>
T viennals::detail::clampLevelSetPhi (T v)
 Clamp HRLE far-field sentinels (±DBL_MAX) to ±1 before differencing to prevent DBL_MAX² overflow that silently returns the zero vector.
template<class T>
T viennals::detail::levelSetCrossingDistance (T insidePhi, T outsidePhi, T minBoundaryFraction, T gridDelta)