Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libHexEx
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
HexEx
libHexEx
Commits
22845594
Commit
22845594
authored
5 years ago
by
Heng Liu
Browse files
Options
Downloads
Patches
Plain Diff
fix bug of accidentally delete properties while calling mesh.clear()
parent
a2f1cd38
Branches
Branches containing commit
No related tags found
1 merge request
!2
fix bug of accidentally delete properties while calling mesh.clear()
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/HexExtractor.hh
+2
-2
2 additions, 2 deletions
src/HexExtractor.hh
src/MeshConversion.hh
+1
-1
1 addition, 1 deletion
src/MeshConversion.hh
with
3 additions
and
3 deletions
src/HexExtractor.hh
+
2
−
2
View file @
22845594
...
...
@@ -105,7 +105,7 @@ public:
{
HEXEX_DEBUG_ONLY
(
std
::
cout
<<
"converting mesh to hex mesh"
<<
std
::
endl
;)
hexMesh
.
clear
();
hexMesh
.
clear
(
false
);
calculateDifferencesInDartTypes
();
...
...
@@ -142,7 +142,7 @@ public:
{
auto
tovec
=
toVec
<
typename
TetMeshT
::
PointT
>
;
tetMesh
.
clear
();
tetMesh
.
clear
(
false
);
auto
parametrization
=
tetMesh
.
template
request_cell_property
<
VertexMapProp
<
Vec3d
>
>
(
"Parametrization"
);
tetMesh
.
set_persistent
(
parametrization
);
...
...
This diff is collapsed.
Click to expand it.
src/MeshConversion.hh
+
1
−
1
View file @
22845594
...
...
@@ -37,7 +37,7 @@ void convertToHexExTetrahedralMesh(const TetMeshT& _mesh, TetrahedralMesh& _tetM
};
// add vertices
_tetMesh
.
clear
();
_tetMesh
.
clear
(
false
);
for
(
auto
v_it
=
_mesh
.
vertices_begin
();
v_it
!=
_mesh
.
vertices_end
();
++
v_it
)
_tetMesh
.
add_vertex
(
toVec3d
(
_mesh
.
vertex
(
*
v_it
)));
...
...
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