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

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

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

revision 1339 by gross, Fri Nov 2 05:54:25 2007 UTC revision 1340 by ksteube, Thu Nov 8 06:24:43 2007 UTC
# Line 57  void Finley_ElementFile_createColoring(F Line 57  void Finley_ElementFile_createColoring(F
57                       independent=TRUE;                       independent=TRUE;
58                       for (i=0;i<NN;i++) {                       for (i=0;i<NN;i++) {
59  #ifdef BOUNDS_CHECK  #ifdef BOUNDS_CHECK
60    if (in->Nodes[INDEX2(i,e,NN)] < 0 || in->Nodes[INDEX2(i,e,NN)] >= numNodes) { printf("BOUNDS_CHECK %s %d i=%d e=%d NN=%d min_id=%d in->Nodes[INDEX2...]=%d\n", __FILE__, __LINE__, i, e, NN, min_id, in->Nodes[INDEX2(i,e,NN)]); exit(1); }
61  if ((degreeOfFreedom[in->Nodes[INDEX2(i,e,NN)]]-min_id) >= len || (degreeOfFreedom[in->Nodes[INDEX2(i,e,NN)]]-min_id) < 0) { printf("BOUNDS_CHECK %s %d i=%d e=%d NN=%d min_id=%d dof=%d\n", __FILE__, __LINE__, i, e, NN, min_id, degreeOfFreedom[in->Nodes[INDEX2(i,e,NN)]]-min_id); exit(1); }  if ((degreeOfFreedom[in->Nodes[INDEX2(i,e,NN)]]-min_id) >= len || (degreeOfFreedom[in->Nodes[INDEX2(i,e,NN)]]-min_id) < 0) { printf("BOUNDS_CHECK %s %d i=%d e=%d NN=%d min_id=%d dof=%d\n", __FILE__, __LINE__, i, e, NN, min_id, degreeOfFreedom[in->Nodes[INDEX2(i,e,NN)]]-min_id); exit(1); }
62  #endif  #endif
63                  if (maskDOF[degreeOfFreedom[in->Nodes[INDEX2(i,e,NN)]]-min_id]>0) {                  if (maskDOF[degreeOfFreedom[in->Nodes[INDEX2(i,e,NN)]]-min_id]>0) {

Legend:
Removed from v.1339  
changed lines
  Added in v.1340

  ViewVC Help
Powered by ViewVC 1.1.26