Enum TolKind
Defined in File tol_kind.hpp
Enum Documentation
-
enum class treeweave::TolKind : std::uint8_t
Tolerance interpretation for the tree’s adaptive refinement. The default, RelativeMax, is 0, so a zeroed options struct selects it.
Values:
-
enumerator RelativeMax
sample-based, max|p - f| <= tol * max|f| sampled over the domain; all-zero f needs p == f
-
enumerator AbsoluteMax
sample-based, max-abs absolute error
-
enumerator RelativeL2
sample-based, L2 relative error
-
enumerator AbsoluteL2
sample-based, L2 absolute error
-
enumerator RelativePointwise
sample-based, |p - f| <= tol * |f| at every sample; a zero sample needs p == f
-
enumerator RelativeTail
tail-coefficient estimate over max_k |c_k| of the panel; all-zero panel converges (1D only). Exception: with a fit of 1 or 2 coefficients the tail is the whole polynomial, so this falls back to sampled RelativeMax scaled by the running domain-wide max|f|.
-
enumerator AbsoluteTail
absolute tail-coefficient estimate (1D only)
-
enumerator RelativeMax