config.hh File Reference
Master configuration file for setting various compile-time options.
More...
Go to the source code of this file.
Detailed Description
Master configuration file for setting various compile-time options.
Definition in file config.hh.
Define Documentation
#define VOROPP_CMD_LINE_ERROR 4 |
Voro++ returns this status code if it could not interpret to the command line arguments passed to the command line utility.
Definition at line 117 of file config.hh.
#define VOROPP_FILE_ERROR 1 |
Voro++ returns this status code if there is a file-related error, such as not being able to open file.
Definition at line 103 of file config.hh.
#define VOROPP_INTERNAL_ERROR 3 |
Voro++ returns this status code if there is any type of internal error, if it detects that representation of the Voronoi cell is inconsistent. This status code will generally indicate a bug, and the developer should be contacted.
Definition at line 113 of file config.hh.
#define VOROPP_MEMORY_ERROR 2 |
Voro++ returns this status code if there is a memory allocation error, if one of the safe memory limits is exceeded.
Definition at line 107 of file config.hh.
Voro++ can print a number of different status and debugging messages to notify the user of special behavior, and this macro sets the amount which are displayed. At level 0, no messages are printed. At level 1, messages about unusual cases during cell construction are printed, such as when the plane routine bails out due to floating point problems. At level 2, general messages about memory expansion are printed. At level 3, technical details about memory management are printed.
Definition at line 62 of file config.hh.
Typedef Documentation
The declaration of fpoint allows that code to be compiled both using single precision numbers and double precision numbers. Under normal usage fpoint is set be a double precision floating point number, but defining the preprocessor macro VOROPP_SINGLE_PRECISION will switch it to single precision and make the code tolerances larger.
Definition at line 73 of file config.hh.
Variable Documentation
The initial memory allocation for the number of regular vertices of order 3.
Definition at line 20 of file config.hh.
The initial size for the auxiliary delete stack.
Definition at line 29 of file config.hh.
The initial size for the delete stack.
Definition at line 27 of file config.hh.
The initial size for the facets evaluation.
Definition at line 31 of file config.hh.
The initial buffer size for marginal cases used by the suretest class.
Definition at line 25 of file config.hh.
The initial memory allocation for the number of vertices of higher order.
Definition at line 23 of file config.hh.
The initial memory allocation for the maximum vertex order.
Definition at line 17 of file config.hh.
The initial memory allocation for the number of vertices.
Definition at line 15 of file config.hh.
The initial size for the wall pointer array.
Definition at line 33 of file config.hh.
A large number that is used in the computation.
Definition at line 99 of file config.hh.
The maximum size for the auxiliary delete stack.
Definition at line 48 of file config.hh.
The maximum size for the delete stack.
Definition at line 46 of file config.hh.
The maximum buffer size for marginal cases used by the suretest class.
Definition at line 44 of file config.hh.
The maximum memory allocation for the any particular order of vertex.
Definition at line 42 of file config.hh.
The maximum amount of particle memory allocated for a single region.
Definition at line 50 of file config.hh.
The maximum memory allocation for the maximum vertex order.
Definition at line 40 of file config.hh.
The maximum memory allocation for the number of vertices.
Definition at line 38 of file config.hh.
The maximum size for the wall pointer array.
Definition at line 52 of file config.hh.
If a point is within this distance of a cutting plane, then the code assumes that point exactly lies on the plane.
Definition at line 81 of file config.hh.
If a point is within this distance of a cutting plane, then the code stores whether this point is inside, outside, or exactly on the cutting plane in the marginal cases buffer, to prevent the test giving a different result on a subsequent evaluation due to floating point rounding errors.
Definition at line 91 of file config.hh.
The square of the tolerance, used when deciding whether some squared quantities are large enough to be used.
Definition at line 96 of file config.hh.