Skip to content

Commit

Permalink
test/surfunstructured: avoid using deprecated functions
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-iob committed Dec 20, 2020
1 parent 5d425bd commit 3cc064e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,8 @@ SurfUnstructured mesh(2, 3);
}
}

// Build adjacencies ----------------------------------------------- //
mesh.buildAdjacencies();
// Initialize adjacencies ---------------------------------------------- //
mesh.initializeAdjacencies();
}

// ========================================================================== //
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ int subtest_001()
surfaceMesh->importSTL("./data/buddha.stl");
surfaceMesh->deleteCoincidentVertices();
}
surfaceMesh->buildAdjacencies();
surfaceMesh->initializeAdjacencies();
surfaceMesh->getVTK().setName("skd_test_STL");
surfaceMesh->write();

Expand Down Expand Up @@ -288,7 +288,7 @@ int subtest_002()
surfaceMesh->importSTL("./data/buddha.stl");
surfaceMesh->deleteCoincidentVertices();
}
surfaceMesh->buildAdjacencies();
surfaceMesh->initializeAdjacencies();
surfaceMesh->getVTK().setName("skd_test_STL");
surfaceMesh->write();

Expand Down

0 comments on commit 3cc064e

Please sign in to comment.