VMTK
Loading...
Searching...
No Matches
vtkvmtkConstants.h File Reference

Go to the source code of this file.

Macros

#define VTK_VMTK_LARGE_INTEGER   2147483647
#define VTK_VMTK_FLOAT_TOL   1.0E-6
#define VTK_VMTK_LARGE_FLOAT   1.0E+16
#define VTK_VMTK_DOUBLE_TOL   1.0E-12
#define VTK_VMTK_LARGE_DOUBLE   1.0E+32
#define VTK_VMTK_PIVOTING_TOL   1.0E-12

Enumerations

enum  {
  VTK_VMTK_EMPTY_NEIGHBORHOOD , VTK_VMTK_POLYDATA_NEIGHBORHOOD , VTK_VMTK_POLYDATA_MANIFOLD_NEIGHBORHOOD , VTK_VMTK_POLYDATA_MANIFOLD_EXTENDED_NEIGHBORHOOD ,
  VTK_VMTK_UNSTRUCTUREDGRID_NEIGHBORHOOD , VTK_VMTK_EMPTY_STENCIL , VTK_VMTK_UMBRELLA_STENCIL , VTK_VMTK_AREA_WEIGHTED_UMBRELLA_STENCIL ,
  VTK_VMTK_GRADIENT_STENCIL , VTK_VMTK_FE_LAPLACE_BELTRAMI_STENCIL , VTK_VMTK_FVFE_LAPLACE_BELTRAMI_STENCIL , VTK_VMTK_SPARSE_MATRIX_ROW
}

Detailed Description

This header collects preprocessor constants (tolerances, sentinel "large" values, and enumerated item type ids) shared across the vtkVmtk libraries, so that numerical thresholds and mesh/stencil type codes are defined once rather than repeated in every class that needs them. It is not a class and has no members to document individually.

Definition in file vtkvmtkConstants.h.

Macro Definition Documentation

◆ VTK_VMTK_LARGE_INTEGER

#define VTK_VMTK_LARGE_INTEGER   2147483647

Sentinel value used where a "very large" integer is needed (e.g. as an initial minimum-search value).

Definition at line 28 of file vtkvmtkConstants.h.

◆ VTK_VMTK_FLOAT_TOL

#define VTK_VMTK_FLOAT_TOL   1.0E-6

Default numerical tolerance used for float-precision comparisons/degeneracy checks (see e.g. vtkvmtkMath).

Definition at line 33 of file vtkvmtkConstants.h.

◆ VTK_VMTK_LARGE_FLOAT

#define VTK_VMTK_LARGE_FLOAT   1.0E+16

Sentinel value used where a "very large" float result is returned for degenerate/undefined computations.

Definition at line 38 of file vtkvmtkConstants.h.

◆ VTK_VMTK_DOUBLE_TOL

#define VTK_VMTK_DOUBLE_TOL   1.0E-12

Default numerical tolerance used for double-precision comparisons/degeneracy checks (see e.g. vtkvmtkMath).

Definition at line 43 of file vtkvmtkConstants.h.

◆ VTK_VMTK_LARGE_DOUBLE

#define VTK_VMTK_LARGE_DOUBLE   1.0E+32

Sentinel value used where a "very large" double result is returned for degenerate/undefined computations.

Definition at line 48 of file vtkvmtkConstants.h.

◆ VTK_VMTK_PIVOTING_TOL

#define VTK_VMTK_PIVOTING_TOL   1.0E-12

Tolerance used by pivoting operations (e.g. in linear-system/matrix routines) to detect near-zero pivots.

Definition at line 53 of file vtkvmtkConstants.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Type ids used to identify, at run time, the concrete kind of neighborhood, stencil, or sparse matrix row object in play (see the vtkvmtkNeighborhood/vtkvmtkStencil/vtkvmtkSparseMatrixRow class hierarchies and their subclasses): which mesh connectivity a neighborhood was built from (poly data vs. unstructured grid, manifold vs. extended), and which finite-difference/finite-element weighting scheme a stencil implements (simple umbrella, area-weighted umbrella, gradient-based, finite-element or finite-volume/finite-element Laplace-Beltrami).

Enumerator
VTK_VMTK_EMPTY_NEIGHBORHOOD 
VTK_VMTK_POLYDATA_NEIGHBORHOOD 
VTK_VMTK_POLYDATA_MANIFOLD_NEIGHBORHOOD 
VTK_VMTK_POLYDATA_MANIFOLD_EXTENDED_NEIGHBORHOOD 
VTK_VMTK_UNSTRUCTUREDGRID_NEIGHBORHOOD 
VTK_VMTK_EMPTY_STENCIL 
VTK_VMTK_UMBRELLA_STENCIL 
VTK_VMTK_AREA_WEIGHTED_UMBRELLA_STENCIL 
VTK_VMTK_GRADIENT_STENCIL 
VTK_VMTK_FE_LAPLACE_BELTRAMI_STENCIL 
VTK_VMTK_FVFE_LAPLACE_BELTRAMI_STENCIL 
VTK_VMTK_SPARSE_MATRIX_ROW 

Definition at line 66 of file vtkvmtkConstants.h.

67 {
73
80
82 };
@ VTK_VMTK_AREA_WEIGHTED_UMBRELLA_STENCIL
@ VTK_VMTK_EMPTY_STENCIL
@ VTK_VMTK_EMPTY_NEIGHBORHOOD
@ VTK_VMTK_FE_LAPLACE_BELTRAMI_STENCIL
@ VTK_VMTK_SPARSE_MATRIX_ROW
@ VTK_VMTK_POLYDATA_NEIGHBORHOOD
@ VTK_VMTK_FVFE_LAPLACE_BELTRAMI_STENCIL
@ VTK_VMTK_GRADIENT_STENCIL
@ VTK_VMTK_UMBRELLA_STENCIL
@ VTK_VMTK_POLYDATA_MANIFOLD_EXTENDED_NEIGHBORHOOD
@ VTK_VMTK_UNSTRUCTUREDGRID_NEIGHBORHOOD
@ VTK_VMTK_POLYDATA_MANIFOLD_NEIGHBORHOOD