/[escript]/trunk/ripley/src/Brick.cpp
ViewVC logotype

Diff of /trunk/ripley/src/Brick.cpp

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

revision 5774 by sshaw, Fri Jul 10 00:34:03 2015 UTC revision 5775 by sshaw, Thu Jul 30 08:01:06 2015 UTC
# Line 1452  void Brick::Print_Mesh_Info(const bool f Line 1452  void Brick::Print_Mesh_Info(const bool f
1452  void Brick::assembleCoordinates(escript::Data& arg) const  void Brick::assembleCoordinates(escript::Data& arg) const
1453  {  {
1454      int numDim = m_numDim;      int numDim = m_numDim;
1455      if (&arg!=0 && !arg.isDataPointShapeEqual(1, &numDim))      if (!arg.isDataPointShapeEqual(1, &numDim))
1456          throw RipleyException("setToX: Invalid Data object shape");          throw RipleyException("setToX: Invalid Data object shape");
1457      if (&arg!=0 && !arg.numSamplesEqual(1, getNumNodes()))      if (!arg.numSamplesEqual(1, getNumNodes()))
1458          throw RipleyException("setToX: Illegal number of samples in Data object");          throw RipleyException("setToX: Illegal number of samples in Data object");
1459    
1460      const dim_t NN0 = m_NN[0];      const dim_t NN0 = m_NN[0];

Legend:
Removed from v.5774  
changed lines
  Added in v.5775

  ViewVC Help
Powered by ViewVC 1.1.26