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

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

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

revision 105 by jgs, Tue Oct 26 06:53:54 2004 UTC revision 106 by jgs, Thu Dec 23 07:20:12 2004 UTC
# Line 13  Line 13 
13   ******************************************************************************   ******************************************************************************
14  */  */
15                                                                                                                                                        
16  #if !defined  escript_DataAbstract_20040315_H  #if !defined escript_DataAbstract_20040315_H
17  #define escript_DataAbstract_20040315_H  #define escript_DataAbstract_20040315_H
18    
19  #include "escript/Data/DataException.h"  #include "escript/Data/DataException.h"
# Line 59  class DataAbstract { Line 59  class DataAbstract {
59      \brief      \brief
60      Destructor for DataAbstract.      Destructor for DataAbstract.
61    */    */
62    virtual ~DataAbstract();    virtual
63      ~DataAbstract();
64    
65    /**    /**
66       \brief       \brief
# Line 165  class DataAbstract { Line 166  class DataAbstract {
166       \param dataPointNo Input       \param dataPointNo Input
167    */    */
168    virtual    virtual
169    DataArrayView getDataPoint(int samplesNo,    DataArrayView
170                               int dataPointNo) = 0;    getDataPoint(int samplesNo,
171                   int dataPointNo) = 0;
172    
173    /**    /**
174       \brief       \brief
# Line 250  class DataAbstract { Line 252  class DataAbstract {
252    
253  inline  inline
254  bool  bool
255   DataAbstract::validSamplePointNo(int samplePointNo) const  DataAbstract::validSamplePointNo(int samplePointNo) const
256  {  {
257    return ((0 <= samplePointNo) && (samplePointNo < m_noDataPointsPerSample));    return ((0 <= samplePointNo) && (samplePointNo < m_noDataPointsPerSample));
258  }  }
# Line 284  DataAbstract::getNumSamples() const Line 286  DataAbstract::getNumSamples() const
286  }  }
287    
288  inline  inline
289  const FunctionSpace&  const
290    FunctionSpace&
291  DataAbstract::getFunctionSpace() const  DataAbstract::getFunctionSpace() const
292  {  {
293    return m_functionSpace;    return m_functionSpace;
294  }  }
295    
296  inline  inline
297  const DataArrayView&  const
298    DataArrayView&
299  DataAbstract::getPointDataView() const  DataAbstract::getPointDataView() const
300  {  {
301    return *(m_pointDataView.get());    return *(m_pointDataView.get());

Legend:
Removed from v.105  
changed lines
  Added in v.106

  ViewVC Help
Powered by ViewVC 1.1.26