/[escript]/branches/diaplayground/ripley/src/Brick.cpp
ViewVC logotype

Diff of /branches/diaplayground/ripley/src/Brick.cpp

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

revision 4851 by sshaw, Wed Apr 9 03:30:36 2014 UTC revision 4860 by sshaw, Thu Apr 10 04:08:42 2014 UTC
# Line 2088  void Brick::populateSampleIds() Line 2088  void Brick::populateSampleIds()
2088          m_nodeDistribution[k]=k*numDOF;          m_nodeDistribution[k]=k*numDOF;
2089      }      }
2090      m_nodeDistribution[m_mpiInfo->size]=getNumDataPointsGlobal();      m_nodeDistribution[m_mpiInfo->size]=getNumDataPointsGlobal();
2091      m_nodeId.resize(getNumNodes());      
2092      m_dofId.resize(numDOF);      try {
2093      m_elementId.resize(getNumElements());          m_nodeId.resize(getNumNodes());
2094            m_dofId.resize(numDOF);
2095            m_elementId.resize(getNumElements());
2096        } catch (const std::length_error& le) {
2097            throw RipleyException("The system does not have sufficient memory for a domain of this size.");
2098        }
2099        
2100      // populate face element counts      // populate face element counts
2101      //left      //left
2102      if (m_offset[0]==0)      if (m_offset[0]==0)

Legend:
Removed from v.4851  
changed lines
  Added in v.4860

  ViewVC Help
Powered by ViewVC 1.1.26