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

Diff of /branches/diaplayground/finley/src/CPPAdapter/MeshAdapter.cpp

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

revision 3997 by caltinay, Wed Sep 26 07:00:55 2012 UTC revision 3998 by caltinay, Thu Sep 27 01:17:28 2012 UTC
# Line 1588  bool MeshAdapter::ownSample(int fs_code, Line 1588  bool MeshAdapter::ownSample(int fs_code,
1588          index_t myFirstNode=0, myLastNode=0, k=0;          index_t myFirstNode=0, myLastNode=0, k=0;
1589          index_t* globalNodeIndex=0;          index_t* globalNodeIndex=0;
1590          Finley_Mesh* mesh_p=m_finleyMesh.get();          Finley_Mesh* mesh_p=m_finleyMesh.get();
1591            /*
1592             * this method is only used by saveDataCSV which would use the returned
1593             * values for reduced nodes wrongly so this case is disabled for now
1594          if (fs_code == FINLEY_REDUCED_NODES)          if (fs_code == FINLEY_REDUCED_NODES)
1595          {          {
1596              myFirstNode = Finley_NodeFile_getFirstReducedNode(mesh_p->Nodes);              myFirstNode = Finley_NodeFile_getFirstReducedNode(mesh_p->Nodes);
1597              myLastNode = Finley_NodeFile_getLastReducedNode(mesh_p->Nodes);              myLastNode = Finley_NodeFile_getLastReducedNode(mesh_p->Nodes);
1598              globalNodeIndex = Finley_NodeFile_borrowGlobalReducedNodesIndex(mesh_p->Nodes);              globalNodeIndex = Finley_NodeFile_borrowGlobalReducedNodesIndex(mesh_p->Nodes);
1599          }          }
1600          else if (fs_code == FINLEY_NODES)          else
1601            */
1602            if (fs_code == FINLEY_NODES)
1603          {          {
1604              myFirstNode = Finley_NodeFile_getFirstNode(mesh_p->Nodes);              myFirstNode = Finley_NodeFile_getFirstNode(mesh_p->Nodes);
1605              myLastNode = Finley_NodeFile_getLastNode(mesh_p->Nodes);              myLastNode = Finley_NodeFile_getLastNode(mesh_p->Nodes);

Legend:
Removed from v.3997  
changed lines
  Added in v.3998

  ViewVC Help
Powered by ViewVC 1.1.26