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
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
e2cb7a8c
Commit
e2cb7a8c
authored
11 years ago
by
Gaetan Bricteux
Browse files
Options
Downloads
Patches
Plain Diff
fix warnings
parent
c83e24a9
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Geo/GModelFactory.cpp
+2
-2
2 additions, 2 deletions
Geo/GModelFactory.cpp
Geo/GModelIO_SU2.cpp
+2
-2
2 additions, 2 deletions
Geo/GModelIO_SU2.cpp
Numeric/ElementType.h
+1
-1
1 addition, 1 deletion
Numeric/ElementType.h
with
5 additions
and
5 deletions
Geo/GModelFactory.cpp
+
2
−
2
View file @
e2cb7a8c
...
...
@@ -1141,7 +1141,7 @@ void OCCFactory::setPeriodicAllFaces(GModel *gm, std::vector<double> FaceTransla
std
::
vector
<
int
>
EdgeListMaster
(
NumberOfEdgesInFace1
);
std
::
vector
<
int
>
EdgeListSlave
(
NumberOfEdgesInFace2
);
int
i1
=
0
,
i2
=
0
;
int
i1
=
0
;
//
,i2=0;
// ici il faut imbriquer la seconde boucle pour fournir des edges qui match slave/master
for
(
TopExp_Explorer
aEdgeExplorer1
(
aFace1
,
TopAbs_EDGE
);
aEdgeExplorer1
.
More
();
...
...
@@ -1149,7 +1149,7 @@ void OCCFactory::setPeriodicAllFaces(GModel *gm, std::vector<double> FaceTransla
TopoDS_Edge
aEdge1
=
TopoDS
::
Edge
(
aEdgeExplorer1
.
Current
());
int
numEdgeMaster
=
gm
->
getOCCInternals
()
->
getGTagOfOCCEdgeByNativePtr
(
gm
,
aEdge1
);
EdgeListMaster
[
i1
]
=
numEdgeMaster
;
i2
=
0
;
//
i2=0;
for
(
TopExp_Explorer
aEdgeExplorer2
(
aFace2
,
TopAbs_EDGE
);
aEdgeExplorer2
.
More
();
aEdgeExplorer2
.
Next
())
{
TopoDS_Edge
aEdge2
=
TopoDS
::
Edge
(
aEdgeExplorer2
.
Current
());
...
...
This diff is collapsed.
Click to expand it.
Geo/GModelIO_SU2.cpp
+
2
−
2
View file @
e2cb7a8c
...
...
@@ -62,13 +62,13 @@ int GModel::writeSU2(const std::string &name, bool saveAll, double scalingFactor
if
(
ndime
==
2
){
for
(
fiter
it
=
firstFace
();
it
!=
lastFace
();
it
++
)
if
(
saveAll
||
(
*
it
)
->
physicals
.
size
())
for
(
int
i
=
0
;
i
<
(
*
it
)
->
getNumMeshElements
();
i
++
)
for
(
unsigned
int
i
=
0
;
i
<
(
*
it
)
->
getNumMeshElements
();
i
++
)
(
*
it
)
->
getMeshElement
(
i
)
->
writeSU2
(
fp
,
num
++
);
}
else
{
for
(
riter
it
=
firstRegion
();
it
!=
lastRegion
();
it
++
)
if
(
saveAll
||
(
*
it
)
->
physicals
.
size
())
for
(
int
i
=
0
;
i
<
(
*
it
)
->
getNumMeshElements
();
i
++
)
for
(
unsigned
int
i
=
0
;
i
<
(
*
it
)
->
getNumMeshElements
();
i
++
)
(
*
it
)
->
getMeshElement
(
i
)
->
writeSU2
(
fp
,
num
++
);
}
...
...
This diff is collapsed.
Click to expand it.
Numeric/ElementType.h
+
1
−
1
View file @
e2cb7a8c
...
...
@@ -21,6 +21,6 @@ namespace ElementType
// Give element tag from type, order & serendip
int
getTag
(
int
parentTag
,
int
order
,
bool
serendip
=
false
);
}
;
}
#endif
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