-
- Downloads
update hxt:
The *hxt* standalone repos that we are maintaining on a private Gitlab is becoming a total mess IMO. Therefore, as I'm at the end of my thesis and I want to distribute the *hxt* library in a "clean" manner, I thought I could maybe clean the *hxt* directory in *contrib*, and make it so that we can compile things independently. Therefore, I created this huge commit. - Keep a directory structure, even if it is in contrib. Each part of *hxt* has its own CMakeList.txt, and is compiled by gmsh as an OBJECT library target. Each target can be separately compiled. For example, you can go in *contrib/hxt/tetMesh* and do `mkdir build && cd build && cmake .. && make -j4` - Files that were not used by gmsh were deleted. Metis was actually not used. - tetMesh was updated to the newest version - hxt_octree.cpp was almost entirely surrounded by `#ifdef HAVE_P4EST` and it was throwing an error if it wasn't the case Therefore, I change that so that HAVE_P4EST was a prerequisite for the compilation. - You might notice cmake_minimum_required in *hxt* is version 3.9 to enable target_compile_features(... c_std_99) I doubt that people who wants to have HXT_ENABLED AND have a compiler with OpenMP 4+ and C99 AND have the latest version of Gmsh will have problem installing a newer version of CMake.
Showing
- CMakeLists.txt 28 additions, 21 deletionsCMakeLists.txt
- Geo/GModelParametrize.cpp 2 additions, 3 deletionsGeo/GModelParametrize.cpp
- Geo/discreteFace.cpp 2 additions, 3 deletionsGeo/discreteFace.cpp
- Mesh/automaticMeshSizeField.cpp 2 additions, 3 deletionsMesh/automaticMeshSizeField.cpp
- Mesh/automaticMeshSizeField.h 1 addition, 1 deletionMesh/automaticMeshSizeField.h
- Mesh/meshGRegionHxt.cpp 2 additions, 5 deletionsMesh/meshGRegionHxt.cpp
- contrib/hxt/CMakeLists.txt 0 additions, 65 deletionscontrib/hxt/CMakeLists.txt
- contrib/hxt/CREDITS.txt 5 additions, 5 deletionscontrib/hxt/CREDITS.txt
- contrib/hxt/core/CMakeLists.txt 50 additions, 0 deletionscontrib/hxt/core/CMakeLists.txt
- contrib/hxt/core/include/hxt_bbox.h 12 additions, 4 deletionscontrib/hxt/core/include/hxt_bbox.h
- contrib/hxt/core/include/hxt_mesh.h 38 additions, 13 deletionscontrib/hxt/core/include/hxt_mesh.h
- contrib/hxt/core/include/hxt_message.h 83 additions, 7 deletionscontrib/hxt/core/include/hxt_message.h
- contrib/hxt/core/include/hxt_omp.h 0 additions, 0 deletionscontrib/hxt/core/include/hxt_omp.h
- contrib/hxt/core/include/hxt_sort.h 33 additions, 22 deletionscontrib/hxt/core/include/hxt_sort.h
- contrib/hxt/core/include/hxt_tools.h 16 additions, 38 deletionscontrib/hxt/core/include/hxt_tools.h
- contrib/hxt/core/src/hxt_bbox.c 8 additions, 0 deletionscontrib/hxt/core/src/hxt_bbox.c
- contrib/hxt/core/src/hxt_mesh.c 92 additions, 85 deletionscontrib/hxt/core/src/hxt_mesh.c
- contrib/hxt/core/src/hxt_message.c 9 additions, 0 deletionscontrib/hxt/core/src/hxt_message.c
- contrib/hxt/core/src/hxt_sort.c 8 additions, 0 deletionscontrib/hxt/core/src/hxt_sort.c
- contrib/hxt/hxt_api.h 0 additions, 118 deletionscontrib/hxt/hxt_api.h
Loading
Please register or sign in to comment