Skip to content
Snippets Groups Projects
Commit b55410e3 authored by Jean-François Remacle's avatar Jean-François Remacle
Browse files

*** empty log message ***

parent fc964d2a
No related branches found
No related tags found
No related merge requests found
// $Id: 3D_Mesh.cpp,v 1.21 2001-06-25 15:22:26 remacle Exp $ // $Id: 3D_Mesh.cpp,v 1.22 2001-06-25 15:24:12 remacle Exp $
/* /*
...@@ -714,6 +714,9 @@ void Maillage_Volume (void *data, void *dum){ ...@@ -714,6 +714,9 @@ void Maillage_Volume (void *data, void *dum){
double uvw[3]; double uvw[3];
int i; int i;
// WE SHOULD ALLOCATE THESE GUYS HERE AND NOT IN Bowyer_Watson
// MEMORY BUG -JF
Simplexes_New = List_Create (10, 10, sizeof (Simplex *)); Simplexes_New = List_Create (10, 10, sizeof (Simplex *));
Simplexes_Destroyed = List_Create (10, 10, sizeof (Simplex *)); Simplexes_Destroyed = List_Create (10, 10, sizeof (Simplex *));
...@@ -877,6 +880,8 @@ void Maillage_Volume (void *data, void *dum){ ...@@ -877,6 +880,8 @@ 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]);
} }
// WE SHOULD DESALLOCATE THESE GUYS HERE AND NOT NOWHERE ;-)
// MEMORY BUG -JF
List_Delete(Simplexes_New); List_Delete(Simplexes_New);
List_Delete(Simplexes_Destroyed); List_Delete(Simplexes_Destroyed);
} }
// $Id: Generator.cpp,v 1.22 2001-06-25 13:30:57 remacle Exp $ // $Id: Generator.cpp,v 1.23 2001-06-25 15:22:26 remacle Exp $
#include "Gmsh.h" #include "Gmsh.h"
#include "Const.h" #include "Const.h"
...@@ -230,6 +230,12 @@ void mai3d (Mesh * M, int Asked){ ...@@ -230,6 +230,12 @@ void mai3d (Mesh * M, int Asked){
(Asked < oldstatus && Asked > 0)){ (Asked < oldstatus && Asked > 0)){
Msg(STATUS2, "Mesh 1D..."); Msg(STATUS2, "Mesh 1D...");
t1 = Cpu(); t1 = Cpu();
if(M->status > 1)
{
OpenProblem (CTX.filename);
}
Maillage_Dimension_1 (M); Maillage_Dimension_1 (M);
t2 = Cpu(); t2 = Cpu();
Msg(STATUS2, "Mesh 1D complete (%g s)", t2 - t1); Msg(STATUS2, "Mesh 1D complete (%g s)", t2 - t1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment