Skip to content

Commit

Permalink
make data match exactly at vertices
Browse files Browse the repository at this point in the history
  • Loading branch information
janetournois committed Nov 17, 2023
1 parent c85711d commit fcd636a
Show file tree
Hide file tree
Showing 7 changed files with 22,364 additions and 21,586 deletions.
1,648 changes: 830 additions & 818 deletions Data/data/meshes/polyhedral_complex_of_spheres/Intersection12.off

Large diffs are not rendered by default.

1,601 changes: 1,601 additions & 0 deletions Data/data/meshes/polyhedral_complex_of_spheres/Intersection13.off

Large diffs are not rendered by default.

833 changes: 0 additions & 833 deletions Data/data/meshes/polyhedral_complex_of_spheres/Intersection23.off

This file was deleted.

12,926 changes: 6,460 additions & 6,466 deletions Data/data/meshes/polyhedral_complex_of_spheres/Sphere1.off

Large diffs are not rendered by default.

13,918 changes: 6,960 additions & 6,958 deletions Data/data/meshes/polyhedral_complex_of_spheres/Sphere2.off

Large diffs are not rendered by default.

13,014 changes: 6,505 additions & 6,509 deletions Data/data/meshes/polyhedral_complex_of_spheres/Sphere3.off

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
#include <cstdlib>
#include <cassert>

#include <fstream>
#include <CGAL/IO/File_medit.h>

// Domain
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
typedef CGAL::Mesh_polyhedron_3<K>::type Polyhedron;
Expand All @@ -34,15 +37,15 @@ const char* const filenames[] = {
"meshes/polyhedral_complex_of_spheres/Sphere2.off",
"meshes/polyhedral_complex_of_spheres/Sphere3.off",
"meshes/polyhedral_complex_of_spheres/Intersection12.off",
"meshes/polyhedral_complex_of_spheres/Intersection23.off"
"meshes/polyhedral_complex_of_spheres/Intersection13.off"
};

const std::pair<int, int> incident_subdomains[] = {
std::make_pair(1, 0),
std::make_pair(2, 0),
std::make_pair(3, 0),
std::make_pair(1, 2),
std::make_pair(3, 2)
std::make_pair(1, 3)
};

int main()
Expand Down Expand Up @@ -78,6 +81,9 @@ int main()
params::no_perturb(), params::no_exude(),
params::manifold());

std::ofstream medit_file("out.mesh");
CGAL::IO::write_MEDIT(medit_file, c3t3);
medit_file.close();

return EXIT_SUCCESS;
}

0 comments on commit fcd636a

Please sign in to comment.