Skip to content

Commit 411e16d

Browse files
authored
Merge pull request #869 from wildmeshing/dzint/orig_tetwild
Dzint/orig tetwild
2 parents 21cc7b9 + b2d2563 commit 411e16d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+6288
-666
lines changed

app/qslim/src/qslim/QSLIM.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ bool QSLIM::collapse_qslim(int target_vert_number)
368368
auto measure_priority = [this](auto& m, auto op, const Tuple& new_e) {
369369
return -compute_cost_for_e(new_e);
370370
};
371-
auto setup_and_execute = [&](auto executor) {
371+
auto setup_and_execute = [&](auto& executor) {
372372
executor.num_threads = NUM_THREADS;
373373
executor.renew_neighbor_tuples = renew;
374374
executor.priority = measure_priority;

app/remeshing/src/remeshing/UniformRemeshing.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ bool UniformRemeshing::collapse_remeshing(double L)
430430
timer.getElapsedTimeInMilliSec());
431431

432432
wmtk::logger().info("size for edges to be collapse is {}", collect_all_ops.size());
433-
auto setup_and_execute = [&](auto executor) {
433+
auto setup_and_execute = [&](auto& executor) {
434434
executor.renew_neighbor_tuples = renew;
435435
executor.priority = [&](auto& m, auto _, auto& e) {
436436
return m.compute_edge_cost_collapse(e, L);
@@ -520,7 +520,7 @@ bool UniformRemeshing::smooth_all_vertices()
520520
auto collect_all_ops = std::vector<std::pair<std::string, Tuple>>();
521521
for (auto& loc : get_edges()) collect_all_ops.emplace_back("vertex_smooth", loc);
522522

523-
auto setup_and_execute = [&](auto executor) {
523+
auto setup_and_execute = [&](auto& executor) {
524524
executor.num_threads = NUM_THREADS;
525525

526526
executor(*this, collect_all_ops);
@@ -553,7 +553,7 @@ bool UniformRemeshing::swap_remeshing()
553553
wmtk::logger().info("***** swap get edges time *****: {} ms", timer.getElapsedTimeInMilliSec());
554554

555555

556-
auto setup_and_execute = [&](auto executor) {
556+
auto setup_and_execute = [&](auto& executor) {
557557
executor.renew_neighbor_tuples = renew;
558558
executor.num_threads = NUM_THREADS;
559559
executor.priority = [](auto& m, auto op, const Tuple& e) {

app/shortest_edge_collapse/src/sec/ShortestEdgeCollapse.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ bool ShortestEdgeCollapse::collapse_shortest(int target_vert_number)
163163
.squaredNorm();
164164
return -len2;
165165
};
166-
auto setup_and_execute = [&](auto executor) {
166+
auto setup_and_execute = [&](auto& executor) {
167167
executor.num_threads = NUM_THREADS;
168168
executor.renew_neighbor_tuples = renew;
169169
executor.priority = measure_len2;

components/tetwild/wmtk/components/tetwild/CMakeLists.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,27 @@ set(SRC_FILES
2626
tetwild.hpp
2727
tetwild.cpp
2828
tetwild_spec.hpp
29+
30+
orig/Args.h
31+
orig/Common.cpp
32+
orig/Common.h
33+
orig/EdgeCollapser.cpp
34+
orig/EdgeCollapser.h
35+
orig/EdgeRemover.cpp
36+
orig/EdgeRemover.h
37+
orig/EdgeSplitter.cpp
38+
orig/EdgeSplitter.h
39+
orig/ForwardDecls.h
40+
orig/LocalOperations.cpp
41+
orig/LocalOperations.h
42+
orig/MeshRefinement.cpp
43+
orig/MeshRefinement.h
44+
orig/State.cpp
45+
orig/State.h
46+
orig/TetmeshElements.cpp
47+
orig/TetmeshElements.h
48+
orig/VertexSmoother.cpp
49+
orig/VertexSmoother.h
2950
)
3051

3152
target_sources(wmtk_${COMPONENT_NAME} PRIVATE ${SRC_FILES})

0 commit comments

Comments
 (0)