Compute quality functions of 2 and 3-dimensional regions.
What's new for 1.4:
- Add inradius metrics for several element types
- Bug fixes
What's new for 1.3:
- Thread safety for all functions and simplified API
- Some existing metrics implemented for pyramid and wedge elements
- New inradius and timestep metrics
- New implementation for some higher order elements
To build with CMake
- Set up a build directory
- Change to this directory
ccmake /path/to/verdictbut replace
/path/to/verdictwith the path to the directory containing this read-me file.
- Fill the required fields and press the 'c' key NB: This process is iterative; you may need to change values and reconfigure before continuing.
- When the 'g' option becomes available, press the 'g' key to generate the Makefile and exit CMake.
- Build with
- Install with
If you do not already have verdict installed on your system, see below for instructions to compile it.
Once you have verdict installed, you may use it in your own project by adding
Now you can link your executable to the verdict library.
Assume you have an executable named
verdict uses CMake's namespace feature, so you should
link to the verdict library like so:
target_link_libraries(example PUBLIC Verdict::verdict )
Note that executables do not need to specify
INTERFACE linkage, but libraries must so that transitive
dependencies can be resolved by cmake.
verdict.h is the only header file you need to include.