/[escript]/branches/arrayview_from_1695_trunk/escript/src/DataConstant.h
ViewVC logotype

Diff of /branches/arrayview_from_1695_trunk/escript/src/DataConstant.h

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

revision 1723 by jfenwick, Mon Aug 11 06:29:54 2008 UTC revision 1724 by jfenwick, Mon Aug 25 05:38:57 2008 UTC
# Line 292  class DataConstant : public DataAbstract Line 292  class DataConstant : public DataAbstract
292    eigenvalues_and_eigenvectors(DataAbstract* ev,DataAbstract* V,const double tol=1.e-13);    eigenvalues_and_eigenvectors(DataAbstract* ev,DataAbstract* V,const double tol=1.e-13);
293    
294    
295      /**
296         \brief
297         Return a reference to the underlying DataVector.
298      */
299      ESCRIPT_DLL_API
300      DataTypes::ValueType&
301      getVector();
302    
303      ESCRIPT_DLL_API
304      const DataTypes::ValueType&
305      getVector() const;
306    
307    
308   protected:   protected:
309    
310   private:   private:
# Line 301  class DataConstant : public DataAbstract Line 314  class DataConstant : public DataAbstract
314    
315  };  };
316    
317    inline
318    DataTypes::ValueType&
319    DataConstant::getVector()
320    {
321      return m_data;
322    }
323    
324    
325  } // end of namespace  } // end of namespace
326  #endif  #endif

Legend:
Removed from v.1723  
changed lines
  Added in v.1724

  ViewVC Help
Powered by ViewVC 1.1.26