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

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

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

revision 2005 by jfenwick, Mon Nov 10 01:21:39 2008 UTC revision 2271 by jfenwick, Mon Feb 16 05:08:29 2009 UTC
# Line 57  typedef DataReady parent; Line 57  typedef DataReady parent;
57       this data object, where the number of data points is defined by       this data object, where the number of data points is defined by
58       the given function space.       the given function space.
59    
60       \param value - Input - A single data value.       \param value - Input - The value of a single data point.
61       \param what - Input - A description of what this data represents.       \param what - Input - A description of what this data represents.
62    */    */
63    ESCRIPT_DLL_API    ESCRIPT_DLL_API
64    DataExpanded(const boost::python::numeric::array& value,    DataExpanded(const WrappedArray& value,
65                 const FunctionSpace& what);                 const FunctionSpace& what);
66    
67    /**    /**
# Line 132  TODO Note that this constructor will als Line 132  TODO Note that this constructor will als
132      return true;      return true;
133    };    };
134    
135      ESCRIPT_DLL_API
136      bool
137      actsExpanded() const
138      {
139        return true;
140      }
141    
142    /**    /**
143       \brief       \brief
144       Return a textual representation of the data.       Return a textual representation of the data.
# Line 196  TODO Note that this constructor will als Line 203  TODO Note that this constructor will als
203    
204    ESCRIPT_DLL_API    ESCRIPT_DLL_API
205    DataTypes::ValueType&    DataTypes::ValueType&
206    getVector();    getVectorRW();
207    
208    ESCRIPT_DLL_API    ESCRIPT_DLL_API
209    const DataTypes::ValueType&    const DataTypes::ValueType&
210    getVector() const;    getVectorRO() const;
211    
212    
213    
214    /**    /**
# Line 395  TODO Note that this constructor will als Line 403  TODO Note that this constructor will als
403    
404       \param value Input - A single data point value.       \param value Input - A single data point value.
405    */    */
   void  
   copy(const boost::python::numeric::array& value);  
406    
   /**  
      \brief  
      Copy the numarray object to the data points in this object.  
   
      Description:  
      Copy the numarray object to the data points in this object.  
   
      \param value Input - new values for the data points  
   */  
407    void    void
408    copyAll(const boost::python::numeric::array& value);    copy(const WrappedArray& value);
409    
410    
411    /**    /**
412       \brief       \brief
# Line 437  TODO Note that this constructor will als Line 435  TODO Note that this constructor will als
435       \param dataPointNo Input - data point of the sample       \param dataPointNo Input - data point of the sample
436       \param value Input - new values for the data point       \param value Input - new values for the data point
437    */    */
438    void    ESCRIPT_DLL_API
439    copyToDataPoint(const int sampleNo, const int dataPointNo, const boost::python::numeric::array& value);    virtual void
440      copyToDataPoint(const int sampleNo, const int dataPointNo, const WrappedArray& value);
441    
442    //    //
443    // The main data storage array, a 2D array of data blocks.    // The main data storage array, a 2D array of data blocks.

Legend:
Removed from v.2005  
changed lines
  Added in v.2271

  ViewVC Help
Powered by ViewVC 1.1.26