Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Romin Tomasetti
gmsh
Commits
42ee1486
Commit
42ee1486
authored
7 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
cleanup
parent
f705accc
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Mesh/directions3D.cpp
+0
-8
0 additions, 8 deletions
Mesh/directions3D.cpp
Mesh/meshGFaceBamg.cpp
+5
-15
5 additions, 15 deletions
Mesh/meshGFaceBamg.cpp
with
5 additions
and
23 deletions
Mesh/directions3D.cpp
+
0
−
8
View file @
42ee1486
...
@@ -508,14 +508,6 @@ void Frame_field::initFace(GFace* gf)
...
@@ -508,14 +508,6 @@ void Frame_field::initFace(GFace* gf)
// compute cumulative cross-data "vertices x elements" for the whole contour of gf
// compute cumulative cross-data "vertices x elements" for the whole contour of gf
std
::
list
<
GEdge
*>
edges
=
gf
->
edges
();
std
::
list
<
GEdge
*>
edges
=
gf
->
edges
();
vertex_to_elements
.
clear
();
vertex_to_elements
.
clear
();
std
::
set
<
GEdge
*>
mySet
;
std
::
list
<
GEdge
*>::
iterator
it
=
edges
.
begin
();
while
(
it
!=
edges
.
end
()){
mySet
.
insert
(
*
it
);
++
it
;
}
edges
.
clear
();
edges
.
insert
(
edges
.
begin
(),
mySet
.
begin
(),
mySet
.
end
());
for
(
std
::
list
<
GEdge
*>::
const_iterator
it
=
edges
.
begin
();
it
!=
edges
.
end
();
it
++
){
for
(
std
::
list
<
GEdge
*>::
const_iterator
it
=
edges
.
begin
();
it
!=
edges
.
end
();
it
++
){
build_vertex_to_elements
(
*
it
,
false
);
build_vertex_to_elements
(
*
it
,
false
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Mesh/meshGFaceBamg.cpp
+
5
−
15
View file @
42ee1486
...
@@ -70,21 +70,11 @@ static void computeMeshMetricsForBamg(GFace *gf, int numV,
...
@@ -70,21 +70,11 @@ static void computeMeshMetricsForBamg(GFace *gf, int numV,
}
}
void
meshGFaceBamg
(
GFace
*
gf
){
void
meshGFaceBamg
(
GFace
*
gf
)
{
std
::
list
<
GEdge
*>
edges
=
gf
->
edges
();
std
::
list
<
GEdge
*>
edges
=
gf
->
edges
();
std
::
set
<
MVertex
*>
bcVertex
;
//Replace edges by their compounds
for
(
std
::
list
<
GEdge
*>::
iterator
it
=
edges
.
begin
();
it
!=
edges
.
end
();
it
++
){
std
::
set
<
GEdge
*>
mySet
;
std
::
list
<
GEdge
*>::
iterator
it
=
edges
.
begin
();
while
(
it
!=
edges
.
end
()){
mySet
.
insert
(
*
it
);
++
it
;
}
edges
.
clear
();
edges
.
insert
(
edges
.
begin
(),
mySet
.
begin
(),
mySet
.
end
());
std
::
set
<
MVertex
*>
bcVertex
;
for
(
std
::
list
<
GEdge
*>::
iterator
it
=
edges
.
begin
();
it
!=
edges
.
end
();
it
++
){
for
(
unsigned
int
i
=
0
;
i
<
(
*
it
)
->
lines
.
size
();
i
++
){
for
(
unsigned
int
i
=
0
;
i
<
(
*
it
)
->
lines
.
size
();
i
++
){
bcVertex
.
insert
((
*
it
)
->
lines
[
i
]
->
getVertex
(
0
));
bcVertex
.
insert
((
*
it
)
->
lines
[
i
]
->
getVertex
(
0
));
bcVertex
.
insert
((
*
it
)
->
lines
[
i
]
->
getVertex
(
1
));
bcVertex
.
insert
((
*
it
)
->
lines
[
i
]
->
getVertex
(
1
));
...
...
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