/[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 749 by woo409, Sun Jun 25 08:26:40 2006 UTC revision 750 by woo409, Sun Jun 25 13:05:29 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  {  {
 printf("\nDEBUG OUTPUT: %s(%d)\n: prediodic = %d", __FILE__,__LINE__,periodic[0]);  
122    /* Serial/OpenMP version */    /* Serial/OpenMP version */
123    dim_t N0,NE0,i0,NDOF0,NFaceElements;    dim_t N0,NE0,i0,NDOF0,NFaceElements;
124    index_t NUMNODES,k;    index_t NUMNODES,k;
# Line 246  printf("\nDEBUG OUTPUT: %s(%d)\n: predio Line 245  printf("\nDEBUG OUTPUT: %s(%d)\n: predio
245        Finley_Mesh_dealloc(out);        Finley_Mesh_dealloc(out);
246        return NULL;        return NULL;
247    }    }
 // FIXME: dump out the mesh contents at this point to debug windows  
 printf("\nDEBUG OUTPUT: %s(%d)\nDumping mesh output:\n", __FILE__,__LINE__);  
 printf("Name: %s\n",out->Name);  
 printf("Reference Counter: %d\n",out->reference_counter);  
 printf("%s %d\n", out->FaceElements->ReferenceElement->Type->Name,out->FaceElements->numElements);  
     int NN=out->FaceElements->ReferenceElement->Type->numNodes;  
     for (int i=0;i<out->FaceElements->numElements;i++) {  
       printf("Id: %d Tag: %d Nodes:",out->FaceElements->Id[i],out->FaceElements->Tag[i]);  
       for (int j=0;j<NN;j++) printf(" %d",out->Nodes->Id[out->FaceElements->Nodes[INDEX2(j,i,NN)]]);  
       printf("\n");  
     }  
 //END FIXME  
248        
249    return out;    return out;
250  }  }

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

  ViewVC Help
Powered by ViewVC 1.1.26