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
- Type
ccmake /path/to/verdict
but replace/path/to/verdict
with 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
make
- Install with
make install
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
find_package(Verdict)
to your CMakeLists.txt
file.
Now you can link your executable to the verdict library.
Assume you have an executable named example
;
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 PUBLIC
, PRIVATE
,
or 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.