/[escript]/branches/domexper/dudley/src/Mesh_readGmsh.c
ViewVC logotype

Diff of /branches/domexper/dudley/src/Mesh_readGmsh.c

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

revision 2748 by gross, Tue Nov 17 07:32:59 2009 UTC revision 2856 by gross, Mon Jan 18 04:14:37 2010 UTC
# Line 58  Finley_Mesh* Finley_Mesh_readGmsh(char* Line 58  Finley_Mesh* Finley_Mesh_readGmsh(char*
58    
59       /* allocate mesh */       /* allocate mesh */
60        
61       mesh_p = Finley_Mesh_alloc(fname,numDim,order, reduced_order, mpi_info);       mesh_p = Finley_Mesh_alloc(fname,numDim, mpi_info);
62       if (! Finley_noError()) return NULL;       if (! Finley_noError()) return NULL;
63        
64       /* get file handle */       /* get file handle */
# Line 307  Finley_Mesh* Finley_Mesh_readGmsh(char* Line 307  Finley_Mesh* Finley_Mesh_readGmsh(char*
307                } else {                } else {
308                    contact_element_type=Point1_Contact;                    contact_element_type=Point1_Contact;
309                }                }
310                refElements= Finley_ReferenceElementSet_alloc(final_element_type,mesh_p->order, mesh_p->reduced_order);                refElements= Finley_ReferenceElementSet_alloc(final_element_type,order, reduced_order);
311                refFaceElements=Finley_ReferenceElementSet_alloc(final_face_element_type,mesh_p->order, mesh_p->reduced_order);                refFaceElements=Finley_ReferenceElementSet_alloc(final_face_element_type,order, reduced_order);
312                refContactElements= Finley_ReferenceElementSet_alloc(contact_element_type,mesh_p->order, mesh_p->reduced_order);                refContactElements= Finley_ReferenceElementSet_alloc(contact_element_type,order, reduced_order);
313                refPoints= Finley_ReferenceElementSet_alloc(Point1,mesh_p->order, mesh_p->reduced_order);                refPoints= Finley_ReferenceElementSet_alloc(Point1,order, reduced_order);
314                mesh_p->Elements=Finley_ElementFile_alloc(refElements, mpi_info);                mesh_p->Elements=Finley_ElementFile_alloc(refElements, mpi_info);
315                mesh_p->FaceElements=Finley_ElementFile_alloc(refFaceElements, mpi_info);                mesh_p->FaceElements=Finley_ElementFile_alloc(refFaceElements, mpi_info);
316                mesh_p->ContactElements=Finley_ElementFile_alloc(refContactElements, mpi_info);                mesh_p->ContactElements=Finley_ElementFile_alloc(refContactElements, mpi_info);

Legend:
Removed from v.2748  
changed lines
  Added in v.2856

  ViewVC Help
Powered by ViewVC 1.1.26