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
85ee038e
Commit
85ee038e
authored
16 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
*** empty log message ***
parent
87f26826
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Mesh/HighOrder.cpp
+6
-6
6 additions, 6 deletions
Mesh/HighOrder.cpp
with
6 additions
and
6 deletions
Mesh/HighOrder.cpp
+
6
−
6
View file @
85ee038e
...
...
@@ -428,7 +428,7 @@ static void getFaceVertices(GFace *gf, MElement *incomplete, MElement *ele,
reparamOK
&=
reparamMeshVertexOnFace
(
incomplete
->
getVertex
(
k
),
gf
,
pts
[
k
]);
}
}
if
(
face
.
getNumVertices
()
==
3
&&
nPts
>
1
){
// tri
angles
if
(
face
.
getNumVertices
()
==
3
&&
nPts
>
1
){
// tri
face
for
(
int
k
=
start
;
k
<
points
.
size1
()
;
k
++
){
MVertex
*
v
;
const
double
t1
=
points
(
k
,
0
);
...
...
@@ -474,7 +474,7 @@ static void getFaceVertices(GFace *gf, MElement *incomplete, MElement *ele,
vf
.
push_back
(
v
);
}
}
else
if
(
face
.
getNumVertices
()
==
4
){
// quad
rangles
else
if
(
face
.
getNumVertices
()
==
4
){
// quad
face
for
(
int
j
=
0
;
j
<
nPts
;
j
++
){
for
(
int
k
=
0
;
k
<
nPts
;
k
++
){
MVertex
*
v
;
...
...
@@ -568,7 +568,7 @@ static void getFaceVertices(GRegion *gr, MElement *ele, std::vector<MVertex*> &v
faceContainer
::
iterator
fIter
=
faceVertices
.
find
(
face
);
if
(
fIter
!=
faceVertices
.
end
())
{
std
::
vector
<
MVertex
*>
vtcs
=
fIter
->
second
;
if
(
face
.
getNumVertices
()
==
3
&&
nPts
>
1
){
// tri
angles
if
(
face
.
getNumVertices
()
==
3
&&
nPts
>
1
){
// tri
face
int
orientation
;
bool
swap
;
if
(
fIter
->
first
.
computeCorrespondence
(
face
,
orientation
,
swap
))
...
...
@@ -580,14 +580,14 @@ static void getFaceVertices(GRegion *gr, MElement *ele, std::vector<MVertex*> &v
blocked
.
insert
(
face
.
getVertex
(
1
));
blocked
.
insert
(
face
.
getVertex
(
2
));
}
else
if
(
face
.
getNumVertices
()
==
4
){
// quad
rangles
else
if
(
face
.
getNumVertices
()
==
4
){
// quad
face
// TODO reorient if more than 1 face vertex
}
vf
.
insert
(
vf
.
end
(),
vtcs
.
begin
(),
vtcs
.
end
());
}
else
{
std
::
vector
<
MVertex
*>
&
vtcs
=
faceVertices
[
face
];
if
(
face
.
getNumVertices
()
==
3
&&
nPts
>
1
){
// tri
angles
if
(
face
.
getNumVertices
()
==
3
&&
nPts
>
1
){
// tri
face
// construct incomplete element to take into account curved
// edges on surface boundaries
std
::
vector
<
MVertex
*>
hoEdgeNodes
;
...
...
@@ -618,7 +618,7 @@ static void getFaceVertices(GRegion *gr, MElement *ele, std::vector<MVertex*> &v
vf
.
push_back
(
v
);
}
}
else
if
(
face
.
getNumVertices
()
==
4
){
// quad
rangles
else
if
(
face
.
getNumVertices
()
==
4
){
// quad
face
for
(
int
j
=
0
;
j
<
nPts
;
j
++
){
for
(
int
k
=
0
;
k
<
nPts
;
k
++
){
// parameters are between -1 and 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