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

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

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

revision 781 by bcumming, Mon Jun 26 01:46:34 2006 UTC revision 782 by bcumming, Tue Jul 18 00:47:47 2006 UTC
# Line 110  void Finley_NodeDistribution_print( Finl Line 110  void Finley_NodeDistribution_print( Finl
110    /* list each neighbour */    /* list each neighbour */
111    for( n=0; n<in->numNeighbours; n++ )    for( n=0; n<in->numNeighbours; n++ )
112    {    {
113            if( in->neighbours[n]!=-1 ){
114      fprintf( fid, "\nNeighbour %d - Domain %d\n=====================\n\n", n, in->neighbours[n] );              fprintf( fid, "\nNeighbour %d - Domain %d\n=====================\n\n", n, in->neighbours[n] );
115      fprintf( fid, "numForward = %d\tnumBackward = %d\n", in->edges[n]->numForward, in->edges[n]->numBackward );              fprintf( fid, "numForward = %d\tnumBackward = %d\n", in->edges[n]->numForward, in->edges[n]->numBackward );
116      fprintf( fid, "indexForward\n[ " );              fprintf( fid, "indexForward\n[ " );
117      for( i=0; i<in->edges[n]->numForward; i++ )              for( i=0; i<in->edges[n]->numForward; i++ )
118        fprintf( fid, "%d ", in->edges[n]->indexForward[i] );                  fprintf( fid, "%d ", in->edges[n]->indexForward[i] );
119      fprintf( fid, "]\n" );              fprintf( fid, "]\n" );
120      fprintf( fid, "indexBackward\n[ " );              fprintf( fid, "indexBackward\n[ " );
121      for( i=0; i<in->edges[n]->numBackward; i++ )              for( i=0; i<in->edges[n]->numBackward; i++ )
122        fprintf( fid, "%d ", in->edges[n]->indexBackward[i] );                  fprintf( fid, "%d ", in->edges[n]->indexBackward[i] );
123      fprintf( fid, "]\n=======================================================================================\n" );              fprintf( fid, "]\n=======================================================================================\n" );
124            }else
125                fprintf( fid, "\nNeighbour %d - Empty\n=====================\n\n", n );
126    }    }
127  }  }
128    

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

  ViewVC Help
Powered by ViewVC 1.1.26