/[escript]/trunk/escript/src/DataAbstract.cpp
ViewVC logotype

Diff of /trunk/escript/src/DataAbstract.cpp

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

revision 110 by jgs, Mon Feb 14 04:14:42 2005 UTC revision 117 by jgs, Fri Apr 1 05:48:57 2005 UTC
# Line 27  DataAbstract::DataAbstract(const Functio Line 27  DataAbstract::DataAbstract(const Functio
27      m_noSamples(what.getNumSamples()),      m_noSamples(what.getNumSamples()),
28      m_functionSpace(what)      m_functionSpace(what)
29  {  {
     //cout << "Calling DataAbstract constructor." << endl;  
30  }  }
31    
32  DataAbstract::~DataAbstract()  DataAbstract::~DataAbstract()
# Line 60  DataAbstract::operandCheck(const DataAbs Line 59  DataAbstract::operandCheck(const DataAbs
59    
60      //      //
61      // Check the shape of the point data, a rank of 0(scalar) is okay      // Check the shape of the point data, a rank of 0(scalar) is okay
   
62      if (!((right.getPointDataView().getRank()==0) ||      if (!((right.getPointDataView().getRank()==0) ||
63        (right.getPointDataView().getShape()==getPointDataView().getShape())))        (right.getPointDataView().getShape()==getPointDataView().getShape())))
64        {        {

Legend:
Removed from v.110  
changed lines
  Added in v.117

  ViewVC Help
Powered by ViewVC 1.1.26