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

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

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

revision 963 by bcumming, Tue Jul 18 00:47:47 2006 UTC revision 964 by gross, Tue Feb 13 05:10:26 2007 UTC
# Line 38  void Finley_Mesh_prepare(Finley_Mesh* in Line 38  void Finley_Mesh_prepare(Finley_Mesh* in
38         Finley_Mesh_improveColoring(in);         Finley_Mesh_improveColoring(in);
39  #endif  #endif
40  }  }
41    
42    bool_t Finley_Mesh_isPrepared(Finley_Mesh* in) {
43         /* returns true if nodes and elements have been prepared for calculation */
44         index_t out = TRUE;
45         if ( in->Nodes != NULL) out = MIN(out , in->Nodes->isPrepared);
46         if ( in->Elements != NULL) out = MIN(out ,  in->Elements->isPrepared);
47         if ( in->FaceElements != NULL) out = MIN(out ,  in->FaceElements->isPrepared);
48         if ( in->ContactElements != NULL) out = MIN(out ,  in->ContactElements->isPrepared);
49         if ( in->Points != NULL) out = MIN(out ,  in->Points->isPrepared);
50    
51         return out == FINLEY_PREPARED;
52    }
53  /*                                                      */  /*                                                      */
54  /*  tries to reduce the coloring for all element files: */  /*  tries to reduce the coloring for all element files: */
55  /*                                                      */  /*                                                      */

Legend:
Removed from v.963  
changed lines
  Added in v.964

  ViewVC Help
Powered by ViewVC 1.1.26