/[escript]/trunk/finley/src/CPPAdapter/MeshAdapter.cpp
ViewVC logotype

Diff of /trunk/finley/src/CPPAdapter/MeshAdapter.cpp

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

revision 2643 by jfenwick, Tue Sep 1 04:15:50 2009 UTC revision 2644 by jfenwick, Wed Sep 2 04:14:03 2009 UTC
# Line 1556  void MeshAdapter::saveVTK(const std::str Line 1556  void MeshAdapter::saveVTK(const std::str
1556    
1557  bool MeshAdapter::ownSample(int fs_code, index_t id) const  bool MeshAdapter::ownSample(int fs_code, index_t id) const
1558  {  {
1559    #ifdef PASO_MPI
1560      index_t myFirstNode=0, myLastNode=0, k=0;      index_t myFirstNode=0, myLastNode=0, k=0;
1561      index_t* globalNodeIndex=0;      index_t* globalNodeIndex=0;
1562      Finley_Mesh* mesh_p=m_finleyMesh.get();      Finley_Mesh* mesh_p=m_finleyMesh.get();
# Line 1573  bool MeshAdapter::ownSample(int fs_code, Line 1574  bool MeshAdapter::ownSample(int fs_code,
1574      }      }
1575      k=globalNodeIndex[id];      k=globalNodeIndex[id];
1576      return static_cast<bool>( (myFirstNode <= k) && (k < myLastNode) );      return static_cast<bool>( (myFirstNode <= k) && (k < myLastNode) );
1577    #endif
1578        return true;
1579  }  }
1580    
1581    
# Line 1805  MeshAdapter::commonFunctionSpace(const s Line 1808  MeshAdapter::commonFunctionSpace(const s
1808      }      }
1809      else if (hasline[2]==1)      else if (hasline[2]==1)
1810      {      {
1811          if (hasclass[7]==ReducedFaceElements)          if (hasclass[7]==1)
1812          {          {
1813          resultcode=ReducedFaceElements;          resultcode=ReducedFaceElements;
1814          }          }

Legend:
Removed from v.2643  
changed lines
  Added in v.2644

  ViewVC Help
Powered by ViewVC 1.1.26