Skip to content

Commit 969ddc3

Browse files
committed
Prepare component tet_remeshing (as a copy from image simulation).
1 parent 61c197c commit 969ddc3

19 files changed

+4055
-0
lines changed

components/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@ file(WRITE "${CMAKE_SOURCE_DIR}/app/components_map.hpp" ${WMTK_AUTOGEN_COMMENT})
1919
add_subdirectory("tetwild/wmtk/components/tetwild")
2020
add_subdirectory("simplicial_embedding/wmtk/components/simplicial_embedding")
2121
add_subdirectory("image_simulation/wmtk/components/image_simulation")
22+
add_subdirectory("tet_remeshing/wmtk/components/tet_remeshing")
2223

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# incremental tet_remeshing
2+
3+
set(COMPONENT_NAME tet_remeshing)
4+
add_component(${COMPONENT_NAME})
5+
6+
if(NOT ${WMTK_ENABLE_COMPONENT_${COMPONENT_NAME}})
7+
return()
8+
endif()
9+
10+
set(SRC_FILES
11+
TetRemeshingMesh.cpp
12+
TetRemeshingMesh.h
13+
14+
Parameters.h
15+
16+
EdgeSplitting.cpp
17+
EdgeCollapsing.cpp
18+
EdgeSwapping.cpp
19+
Smooth.cpp
20+
21+
VolumemesherInsertion.cpp
22+
23+
tet_remeshing.hpp
24+
tet_remeshing.cpp
25+
tet_remeshing_spec.hpp
26+
27+
read_image_msh.hpp
28+
read_image_msh.cpp
29+
)
30+
31+
target_sources(wmtk_${COMPONENT_NAME} PRIVATE ${SRC_FILES})
32+
33+
target_link_libraries(wmtk_${COMPONENT_NAME} PUBLIC
34+
wmtk::toolkit
35+
igl::predicates
36+
jse::jse
37+
)
38+
39+
######################
40+
## TESTS
41+
######################
42+
43+
# if(${WMTK_COMPONENT_TESTS})
44+
# add_subdirectory(tests)
45+
# endif()
46+

0 commit comments

Comments
 (0)