star-uvm

Spatial structuring of unstructured volumetric meshes
git clone git://git.meso-star.fr/star-uvm.git
Log | Files | Refs | README | LICENSE

commit d12d9c8c9389e4cb3669fa14cbb478bac9b67a05
parent 01f4b6869b8f614221044470f6537d63f6aea468
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed, 16 Jun 2021 10:17:26 +0200

Merge branch 'release_0.0'

Diffstat:
MREADME.md | 6++++--
Mcmake/CMakeLists.txt | 15++++++++++-----
2 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/README.md b/README.md @@ -1,7 +1,9 @@ # Star-UnstructuredVolumetricMesh -Star-UVM is C library whose purpose is to manage unstructured meshes -storing volumetric data. +Star-UVM is C library whose purpose is to manage unstructured meshes storing +volumetric data described by a soup of tetrahedra. One structured, the +resulting volumetric mesh can be efficiently queried at a specific position or +intersected by an axis aligned box. ## How to build diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt @@ -26,7 +26,9 @@ option(NO_TEST "Do not build tests" OFF) find_package(Embree 3.6 REQUIRED) find_package(RCMake 0.4 REQUIRED) find_package(RSys 0.12 REQUIRED) -find_package(StarTetraHedra) +if(NOT NO_TEST) + find_package(StarTetraHedra) +endif() set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${RCMAKE_SOURCE_DIR}) include(rcmake) @@ -98,11 +100,14 @@ if(NOT NO_TEST) new_test(test_suvm_device) new_test(test_suvm_volume) new_test(test_suvm_primitive_intersection) -endif() -if(StarTetraHedra_FOUND) - add_executable(suvm_voxelize ${SUVM_SOURCE_DIR}/suvm_voxelize_sth.c) - target_link_libraries(suvm_voxelize RSys StarTetraHedra suvm) + if(StarTetraHedra_FOUND) + add_executable(suvm_voxelize ${SUVM_SOURCE_DIR}/suvm_voxelize_sth.c) + target_link_libraries(suvm_voxelize RSys StarTetraHedra suvm) + else() + message(STATUS "Star-TetraHedra was not found. " + "The suvm_voxelize_sth program will not be build.") + endif() endif() ################################################################################