Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
3D-query-replace
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Guillaume Damiand
3D-query-replace
Commits
13783971
Commit
13783971
authored
3 years ago
by
Guillaume Damiand
Browse files
Options
Downloads
Patches
Plain Diff
Use DATA_DIR to load patterns
parent
22deb8ee
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/tetra-to-hexa.cpp
+4
-7
4 additions, 7 deletions
src/tetra-to-hexa.cpp
with
4 additions
and
7 deletions
src/tetra-to-hexa.cpp
+
4
−
7
View file @
13783971
...
@@ -19,11 +19,8 @@
...
@@ -19,11 +19,8 @@
// Author(s) : Guillaume Damiand <guillaume.damiand@liris.cnrs.fr>
// Author(s) : Guillaume Damiand <guillaume.damiand@liris.cnrs.fr>
//
//
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
// Prog that uses the query/replace method to generate transitions
// Prog that uses the query/replace method to create an hexahedral mesh from
// for hexaedral meshes (based on the paper "Fast Quadtree/Octree adaptive
// a tetrahedral one.
// meshing and re-meshing with linear mixed elements").
// It uses the 325 vpatterns in hexa-325-patterns
// and the 5 fpatterns in square-5-patterns
#include
<CGAL/Linear_cell_complex_for_combinatorial_map.h>
#include
<CGAL/Linear_cell_complex_for_combinatorial_map.h>
#include
<CGAL/Linear_cell_complex_operations.h>
#include
<CGAL/Linear_cell_complex_operations.h>
...
@@ -210,9 +207,9 @@ bool create_mesh_from_off(const std::string& filename,
...
@@ -210,9 +207,9 @@ bool create_mesh_from_off(const std::string& filename,
start2
=
std
::
chrono
::
system_clock
::
now
();
start2
=
std
::
chrono
::
system_clock
::
now
();
Pattern_substituer
<
LCC3
>
ps1
;
Pattern_substituer
<
LCC3
>
ps1
;
ps1
.
load_fpatterns
(
"data
/tetra-to-hexa/fpattern/"
,
ps1
.
load_fpatterns
(
DATA_DIR
"
/tetra-to-hexa/fpattern/"
,
mark_fpattern_corners
<
LCC3
>
);
mark_fpattern_corners
<
LCC3
>
);
ps1
.
load_vpatterns
(
"data
/tetra-to-hexa/vpattern/"
,
ps1
.
load_vpatterns
(
DATA_DIR
"
/tetra-to-hexa/vpattern/"
,
mark_vpattern_corners
<
LCC3
>
);
mark_vpattern_corners
<
LCC3
>
);
subdivide_edges
(
lcc
);
subdivide_edges
(
lcc
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment