/[escript]/trunk/finley/src/Mesh_readGmsh.c
ViewVC logotype

Diff of /trunk/finley/src/Mesh_readGmsh.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1061 by gross, Wed Mar 14 00:15:24 2007 UTC revision 1062 by gross, Mon Mar 26 06:17:53 2007 UTC
# Line 55  Finley_Mesh* Finley_Mesh_readGmsh(char* Line 55  Finley_Mesh* Finley_Mesh_readGmsh(char*
55  #else  #else
56    /* allocate mesh */    /* allocate mesh */
57    
58    mesh_p = Finley_Mesh_alloc(fname,numDim,order);    mesh_p = Finley_Mesh_alloc(fname,numDim,order, reduced_order);
59    if (! Finley_noError()) return NULL;    if (! Finley_noError()) return NULL;
60    
61    /* get file handle */    /* get file handle */
# Line 258  Finley_Mesh* Finley_Mesh_readGmsh(char* Line 258  Finley_Mesh* Finley_Mesh_readGmsh(char*
258                   final_face_element_type=Tri3;                   final_face_element_type=Tri3;
259                }                }
260             }             }
261             mesh_p->Elements=Finley_ElementFile_alloc(final_element_type,mesh_p->order);             mesh_p->Elements=Finley_ElementFile_alloc(final_element_type,mesh_p->order, mesh_p->reduced_order);
262             mesh_p->FaceElements=Finley_ElementFile_alloc(final_face_element_type,mesh_p->order);             mesh_p->FaceElements=Finley_ElementFile_alloc(final_face_element_type,mesh_p->order, mesh_p->reduced_order);
263             mesh_p->ContactElements=Finley_ElementFile_alloc(Point1_Contact,mesh_p->order);             mesh_p->ContactElements=Finley_ElementFile_alloc(Point1_Contact,mesh_p->order, mesh_p->reduced_order);
264             mesh_p->Points=Finley_ElementFile_alloc(Point1,mesh_p->order);             mesh_p->Points=Finley_ElementFile_alloc(Point1,mesh_p->order, mesh_p->reduced_order);
265             if (Finley_noError()) {             if (Finley_noError()) {
266                 Finley_ElementFile_allocTable(mesh_p->Elements, numElements);                 Finley_ElementFile_allocTable(mesh_p->Elements, numElements);
267                 Finley_ElementFile_allocTable(mesh_p->FaceElements, numFaceElements);                 Finley_ElementFile_allocTable(mesh_p->FaceElements, numFaceElements);

Legend:
Removed from v.1061  
changed lines
  Added in v.1062

  ViewVC Help
Powered by ViewVC 1.1.26