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
fc964d2a
Commit
fc964d2a
authored
23 years ago
by
Jean-François Remacle
Browse files
Options
Downloads
Patches
Plain Diff
*** empty log message ***
parent
5e0f7563
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/3D_Mesh.cpp
+10
-8
10 additions, 8 deletions
Mesh/3D_Mesh.cpp
with
10 additions
and
8 deletions
Mesh/3D_Mesh.cpp
+
10
−
8
View file @
fc964d2a
// $Id: 3D_Mesh.cpp,v 1.2
0
2001-06-
07
1
4
:2
0:08
remacle Exp $
// $Id: 3D_Mesh.cpp,v 1.2
1
2001-06-
25
1
5
:2
2:26
remacle Exp $
/*
/*
...
@@ -471,7 +471,7 @@ int recur_bowyer (Simplex * s){
...
@@ -471,7 +471,7 @@ int recur_bowyer (Simplex * s){
bool
Bowyer_Watson
(
Mesh
*
m
,
Vertex
*
v
,
Simplex
*
S
,
int
force
){
bool
Bowyer_Watson
(
Mesh
*
m
,
Vertex
*
v
,
Simplex
*
S
,
int
force
){
int
i
;
int
i
;
Simplex
*
s
;
Simplex
*
s
;
static
int
init
=
1
;
//
static int init = 1;
double
volumeold
,
volumenew
;
double
volumeold
,
volumenew
;
THEV
=
v
;
THEV
=
v
;
...
@@ -487,11 +487,9 @@ bool Bowyer_Watson (Mesh * m, Vertex * v, Simplex * S, int force){
...
@@ -487,11 +487,9 @@ bool Bowyer_Watson (Mesh * m, Vertex * v, Simplex * S, int force){
Tsd
=
Tree_Create
(
sizeof
(
Simplex
*
),
compareSimplex
);
Tsd
=
Tree_Create
(
sizeof
(
Simplex
*
),
compareSimplex
);
Sim_Sur_Le_Bord
=
Tree_Create
(
sizeof
(
Simplex
*
),
compareSimplex
);
Sim_Sur_Le_Bord
=
Tree_Create
(
sizeof
(
Simplex
*
),
compareSimplex
);
if
(
init
){
// if (init){
Simplexes_New
=
List_Create
(
10
,
10
,
sizeof
(
Simplex
*
));
// init = 0;
Simplexes_Destroyed
=
List_Create
(
10
,
10
,
sizeof
(
Simplex
*
));
// }
init
=
0
;
}
List_Reset
(
Simplexes_Destroyed
);
List_Reset
(
Simplexes_Destroyed
);
List_Reset
(
Simplexes_New
);
List_Reset
(
Simplexes_New
);
...
@@ -716,6 +714,9 @@ void Maillage_Volume (void *data, void *dum){
...
@@ -716,6 +714,9 @@ void Maillage_Volume (void *data, void *dum){
double
uvw
[
3
];
double
uvw
[
3
];
int
i
;
int
i
;
Simplexes_New
=
List_Create
(
10
,
10
,
sizeof
(
Simplex
*
));
Simplexes_Destroyed
=
List_Create
(
10
,
10
,
sizeof
(
Simplex
*
));
FACE_DIMENSION
=
2
;
FACE_DIMENSION
=
2
;
pv
=
(
Volume
**
)
data
;
pv
=
(
Volume
**
)
data
;
...
@@ -876,5 +877,6 @@ void Maillage_Volume (void *data, void *dum){
...
@@ -876,5 +877,6 @@ void Maillage_Volume (void *data, void *dum){
Eta_Maillage
(
THEM
,
&
THEM
->
Statistics
[
20
],
&
THEM
->
Statistics
[
21
],
&
THEM
->
Statistics
[
22
]);
Eta_Maillage
(
THEM
,
&
THEM
->
Statistics
[
20
],
&
THEM
->
Statistics
[
21
],
&
THEM
->
Statistics
[
22
]);
R_Maillage
(
THEM
,
&
THEM
->
Statistics
[
23
],
&
THEM
->
Statistics
[
24
],
&
THEM
->
Statistics
[
25
]);
R_Maillage
(
THEM
,
&
THEM
->
Statistics
[
23
],
&
THEM
->
Statistics
[
24
],
&
THEM
->
Statistics
[
25
]);
}
}
List_Delete
(
Simplexes_New
);
List_Delete
(
Simplexes_Destroyed
);
}
}
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