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

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

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

revision 782 by bcumming, Tue Jul 18 00:47:47 2006 UTC revision 787 by bcumming, Wed Jul 26 01:46:45 2006 UTC
# Line 802  Finley_Mesh* Finley_RectangularMesh_Hex8 Line 802  Finley_Mesh* Finley_RectangularMesh_Hex8
802      for (i1=0;i1<NE1;i1++) {      for (i1=0;i1<NE1;i1++) {
803        for (i0=0;i0<numElementsLocal;i0++,k++) {        for (i0=0;i0<numElementsLocal;i0++,k++) {
804                  node0 = (periodicLocal[0] && !i0) ? i1*N0t + i2*N1*N0t :  i1*N0t + i2*N1*N0t + i0 + periodicLocal[0];                  node0 = (periodicLocal[0] && !i0) ? i1*N0t + i2*N1*N0t :  i1*N0t + i2*N1*N0t + i0 + periodicLocal[0];
         out->Elements->Id[k]=k;  
805                                    
806                    out->Elements->Id[k]=((firstNodeConstruct+i0)%NE0)*NE1*NE2 + NE1*i2 + i1;
807          out->Elements->Tag[k]=0;          out->Elements->Tag[k]=0;
808          out->Elements->Color[k]=COLOR_MOD(i0)+3*COLOR_MOD(i1)+9*COLOR_MOD(i2);;          out->Elements->Color[k]=COLOR_MOD(i0)+3*COLOR_MOD(i1)+9*COLOR_MOD(i2);;
809                  out->Elements->Dom[k]=ELEMENT_INTERNAL;                  out->Elements->Dom[k]=ELEMENT_INTERNAL;

Legend:
Removed from v.782  
changed lines
  Added in v.787

  ViewVC Help
Powered by ViewVC 1.1.26