/[escript]/trunk/finley/src/Mesh_write.cpp
ViewVC logotype

Diff of /trunk/finley/src/Mesh_write.cpp

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

revision 1706 by trankine, Fri Jan 11 07:45:58 2008 UTC revision 1707 by ksteube, Thu Aug 14 06:38:14 2008 UTC
# Line 158  void Finley_PrintMesh_Info(Finley_Mesh * Line 158  void Finley_PrintMesh_Info(Finley_Mesh *
158    
159    /* write elements: */    /* write elements: */
160    if (in->Elements!=NULL) {    if (in->Elements!=NULL) {
161      fprintf(stdout, "\tElements: %s %d (TypeId=%d)\n",in->Elements->ReferenceElement->Type->Name,in->Elements->numElements,in->Elements->ReferenceElement->Type->TypeId);      int mine=0, overlap=0;
162        for (i=0;i<in->Elements->numElements;i++) {
163          if (in->Elements->Owner[i] == in->MPIInfo->rank) mine++;
164          else overlap++;
165        }
166        fprintf(stdout, "\tElements: %s %d (TypeId=%d) owner=%d overlap=%d\n",in->Elements->ReferenceElement->Type->Name,in->Elements->numElements,in->Elements->ReferenceElement->Type->TypeId, mine, overlap);
167      NN=in->Elements->numNodes;      NN=in->Elements->numNodes;
168      if (full) {      if (full) {
169        fprintf(stdout, "\t     Id   Tag Owner Color:  Nodes\n");        fprintf(stdout, "\t     Id   Tag Owner Color:  Nodes\n");

Legend:
Removed from v.1706  
changed lines
  Added in v.1707

  ViewVC Help
Powered by ViewVC 1.1.26