/[escript]/branches/schroedinger/escript/src/DataAbstract.cpp
ViewVC logotype

Diff of /branches/schroedinger/escript/src/DataAbstract.cpp

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

revision 1863 by jfenwick, Wed Oct 8 00:28:28 2008 UTC revision 1864 by jfenwick, Thu Oct 9 03:09:30 2008 UTC
# Line 14  Line 14 
14    
15  #include "DataAbstract.h"  #include "DataAbstract.h"
16  #include "DataException.h"  #include "DataException.h"
17    #include "DataLazy.h"
18    
19  using namespace std;  using namespace std;
20    
# Line 49  const_DataAbstract_ptr DataAbstract::get Line 50  const_DataAbstract_ptr DataAbstract::get
50    }    }
51  }  }
52    
53    bool
54    DataAbstract::isLazy() const
55    {
56        return (dynamic_cast<const DataLazy*>(this)!=0);
57    }
58    
59    
60    
61  DataAbstract::DataAbstract(const FunctionSpace& what, const ShapeType& shape, bool isDataEmpty):  DataAbstract::DataAbstract(const FunctionSpace& what, const ShapeType& shape, bool isDataEmpty):
# Line 202  DataAbstract::reorderByReferenceIDs(int Line 209  DataAbstract::reorderByReferenceIDs(int
209  }  }
210    
211    
212  DataTypes::ValueType&  // DataTypes::ValueType&
213  DataAbstract::getVector()  // DataAbstract::getVector()
214  {  // {
215     throw DataException("Error - DataAbstract:: does not have a DataVector.");  //    throw DataException("Error - DataAbstract:: does not have a DataVector.");
216  }  // }
217    //
218  const DataTypes::ValueType&  // const DataTypes::ValueType&
219  DataAbstract::getVector() const  // DataAbstract::getVector() const
220  {  // {
221     throw DataException("Error - DataAbstract:: does not have a DataVector.");  //    throw DataException("Error - DataAbstract:: does not have a DataVector.");
222  }  // }
223    
224    
225    

Legend:
Removed from v.1863  
changed lines
  Added in v.1864

  ViewVC Help
Powered by ViewVC 1.1.26