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

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

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

revision 1985 by phornby, Thu Oct 23 10:03:10 2008 UTC revision 1986 by jfenwick, Thu Nov 6 23:33:14 2008 UTC
# Line 37  Finley_Mesh* Finley_Mesh_read(char* fnam Line 37  Finley_Mesh* Finley_Mesh_read(char* fnam
37    Finley_Mesh *mesh_p=NULL;    Finley_Mesh *mesh_p=NULL;
38    char name[LenString_MAX],element_type[LenString_MAX],frm[20];    char name[LenString_MAX],element_type[LenString_MAX],frm[20];
39    char error_msg[LenErrorMsg_MAX];    char error_msg[LenErrorMsg_MAX];
40      #ifdef Finley_TRACE
41    double time0=Finley_timer();    double time0=Finley_timer();
42      #endif
43    FILE *fileHandle_p = NULL;    FILE *fileHandle_p = NULL;
44    ElementTypeId typeID, faceTypeID, contactTypeID, pointTypeID;    ElementTypeId typeID=0, faceTypeID, contactTypeID, pointTypeID;
45    int scan_ret;    int scan_ret;
46        
47    Finley_resetError();    Finley_resetError();
# Line 273  Finley_Mesh* Finley_Mesh_read_MPI(char* Line 275  Finley_Mesh* Finley_Mesh_read_MPI(char*
275    Finley_Mesh *mesh_p=NULL;    Finley_Mesh *mesh_p=NULL;
276    char name[LenString_MAX],element_type[LenString_MAX],frm[20];    char name[LenString_MAX],element_type[LenString_MAX],frm[20];
277    char error_msg[LenErrorMsg_MAX];    char error_msg[LenErrorMsg_MAX];
278      #ifdef Finley_TRACE
279    double time0=Finley_timer();    double time0=Finley_timer();
280      #endif
281    FILE *fileHandle_p = NULL;    FILE *fileHandle_p = NULL;
282    ElementTypeId typeID;    ElementTypeId typeID=0;
283    int scan_ret;    int scan_ret;
284    
285    Finley_resetError();    Finley_resetError();
# Line 853  Finley_Mesh* Finley_Mesh_read_MPI(char* Line 857  Finley_Mesh* Finley_Mesh_read_MPI(char*
857    
858        /* get the name tags */        /* get the name tags */
859        if (Finley_noError()) {        if (Finley_noError()) {
860          char *remainder, *ptr;          char *remainder=0, *ptr;
861          size_t len;          size_t len;
862          int tag_key;          int tag_key;
863    

Legend:
Removed from v.1985  
changed lines
  Added in v.1986

  ViewVC Help
Powered by ViewVC 1.1.26