/[escript]/branches/intelc_win32/finley/src/Mesh_line2.c
ViewVC logotype

Diff of /branches/intelc_win32/finley/src/Mesh_line2.c

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

revision 748 by woo409, Sat Jun 24 11:27:16 2006 UTC revision 749 by woo409, Sun Jun 25 08:26:40 2006 UTC
# Line 119  static void domain_calculateDimension( i Line 119  static void domain_calculateDimension( i
119  Finley_Mesh* Finley_RectangularMesh_Line2(dim_t* numElements,double* Length,bool_t* periodic, dim_t order,bool_t useElementsOnFace)  Finley_Mesh* Finley_RectangularMesh_Line2(dim_t* numElements,double* Length,bool_t* periodic, dim_t order,bool_t useElementsOnFace)
120  #ifndef PASO_MPI  #ifndef PASO_MPI
121  {  {
122    printf("\nDEBUG OUTPUT: %s(%d)\n: prediodic = %d", __FILE__,__LINE__,periodic[0]);
123    /* Serial/OpenMP version */    /* Serial/OpenMP version */
124    dim_t N0,NE0,i0,NDOF0,NFaceElements;    dim_t N0,NE0,i0,NDOF0,NFaceElements;
125    index_t NUMNODES,k;    index_t NUMNODES,k;
# Line 245  Finley_Mesh* Finley_RectangularMesh_Line Line 246  Finley_Mesh* Finley_RectangularMesh_Line
246        Finley_Mesh_dealloc(out);        Finley_Mesh_dealloc(out);
247        return NULL;        return NULL;
248    }    }
249    // FIXME: dump out the mesh contents at this point to debug windows
250    printf("\nDEBUG OUTPUT: %s(%d)\nDumping mesh output:\n", __FILE__,__LINE__);
251    printf("Name: %s\n",out->Name);
252    printf("Reference Counter: %d\n",out->reference_counter);
253    printf("%s %d\n", out->FaceElements->ReferenceElement->Type->Name,out->FaceElements->numElements);
254        int NN=out->FaceElements->ReferenceElement->Type->numNodes;
255        for (int i=0;i<out->FaceElements->numElements;i++) {
256          printf("Id: %d Tag: %d Nodes:",out->FaceElements->Id[i],out->FaceElements->Tag[i]);
257          for (int j=0;j<NN;j++) printf(" %d",out->Nodes->Id[out->FaceElements->Nodes[INDEX2(j,i,NN)]]);
258          printf("\n");
259        }
260    //END FIXME
261      
262    return out;    return out;
263  }  }
264  #else  #else

Legend:
Removed from v.748  
changed lines
  Added in v.749

  ViewVC Help
Powered by ViewVC 1.1.26