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

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

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

revision 3086 by jfenwick, Thu Aug 5 05:07:58 2010 UTC revision 3114 by jfenwick, Fri Aug 27 05:26:25 2010 UTC
# Line 42  void  Dudley_Mesh_resolveNodeIds(Dudley_ Line 42  void  Dudley_Mesh_resolveNodeIds(Dudley_
42    /*  find the minimum and maximum id used by elements: */    /*  find the minimum and maximum id used by elements: */
43    min_id=INDEX_T_MAX;    min_id=INDEX_T_MAX;
44    max_id=-INDEX_T_MAX;    max_id=-INDEX_T_MAX;
45    //printf("Trying Elements:\n");
46    Dudley_ElementFile_setNodeRange(&min_id2,&max_id2,in->Elements);    Dudley_ElementFile_setNodeRange(&min_id2,&max_id2,in->Elements);
47    max_id=MAX(max_id,max_id2);    max_id=MAX(max_id,max_id2);
48    min_id=MIN(min_id,min_id2);    min_id=MIN(min_id,min_id2);
49    //printf("Trying FaceElements:\n");
50    Dudley_ElementFile_setNodeRange(&min_id2,&max_id2,in->FaceElements);    Dudley_ElementFile_setNodeRange(&min_id2,&max_id2,in->FaceElements);
51    max_id=MAX(max_id,max_id2);    max_id=MAX(max_id,max_id2);
52    min_id=MIN(min_id,min_id2);    min_id=MIN(min_id,min_id2);
53    //printf("Trying ContactElements:\n");
54    Dudley_ElementFile_setNodeRange(&min_id2,&max_id2,in->ContactElements);    Dudley_ElementFile_setNodeRange(&min_id2,&max_id2,in->ContactElements);
55    max_id=MAX(max_id,max_id2);    max_id=MAX(max_id,max_id2);
56    min_id=MIN(min_id,min_id2);    min_id=MIN(min_id,min_id2);

Legend:
Removed from v.3086  
changed lines
  Added in v.3114

  ViewVC Help
Powered by ViewVC 1.1.26