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
624fc8f6
Commit
624fc8f6
authored
18 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
add comment
parent
1913de18
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Mesh/HighOrder.cpp
+5
-3
5 additions, 3 deletions
Mesh/HighOrder.cpp
with
5 additions
and
3 deletions
Mesh/HighOrder.cpp
+
5
−
3
View file @
624fc8f6
// $Id: HighOrder.cpp,v 1.
5
2007-03-01 1
2:02
:02 geuzaine Exp $
// $Id: HighOrder.cpp,v 1.
6
2007-03-01 1
4:21
:02 geuzaine Exp $
//
//
// Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
// Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
//
//
...
@@ -50,7 +50,9 @@ void Hermite2D_C1(SPoint3 &p1, SPoint3 &p2, SPoint3 &t1, SPoint3 &t2,
...
@@ -50,7 +50,9 @@ void Hermite2D_C1(SPoint3 &p1, SPoint3 &p2, SPoint3 &t1, SPoint3 &t2,
}
}
// for each pair of vertices (an edge), we build a list of vertices
// for each pair of vertices (an edge), we build a list of vertices
// that are the high order representation of the edge
// that are the high order representation of the edge. The ordering of
// vertices in the list is supposed to be (by construction) consistent
// with the ordering of the pair.
typedef
std
::
map
<
std
::
pair
<
MVertex
*
,
MVertex
*>
,
std
::
vector
<
MVertex
*>
>
edgeContainer
;
typedef
std
::
map
<
std
::
pair
<
MVertex
*
,
MVertex
*>
,
std
::
vector
<
MVertex
*>
>
edgeContainer
;
// for each face (a list of vertices) we build a list of vertices that
// for each face (a list of vertices) we build a list of vertices that
...
@@ -153,7 +155,7 @@ void getEdgeVertices(GEdge *ge, MElement *ele, std::vector<MVertex*> &ve,
...
@@ -153,7 +155,7 @@ void getEdgeVertices(GEdge *ge, MElement *ele, std::vector<MVertex*> &ve,
else
{
else
{
std
::
vector
<
MVertex
*>
temp
;
std
::
vector
<
MVertex
*>
temp
;
for
(
int
j
=
0
;
j
<
nPts
;
j
++
){
for
(
int
j
=
0
;
j
<
nPts
;
j
++
){
double
t
=
(
double
)(
j
+
1
)
/
(
nPts
+
1
);
const
double
t
=
(
double
)(
j
+
1
)
/
(
nPts
+
1
);
double
uc
=
(
1.
-
t
)
*
u0
+
t
*
u1
;
double
uc
=
(
1.
-
t
)
*
u0
+
t
*
u1
;
MVertex
*
v
;
MVertex
*
v
;
if
(
!
reparamOK
||
linear
||
ge
->
geomType
()
==
GEntity
::
DiscreteCurve
||
if
(
!
reparamOK
||
linear
||
ge
->
geomType
()
==
GEntity
::
DiscreteCurve
||
...
...
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