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

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

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

revision 113 by jgs, Mon Feb 28 07:06:33 2005 UTC revision 119 by jgs, Tue Apr 12 04:45:05 2005 UTC
# Line 223  class Data { Line 223  class Data {
223    
224    /**    /**
225       \brief       \brief
226         Return the values of all data-points in a single python numarray object.
227      */
228      boost::python::numeric::array
229      convertToNumArray();
230    
231      /**
232         \brief
233       Return the C wrapper for the Data object.       Return the C wrapper for the Data object.
234    */    */
235    escriptDataC    escriptDataC
# Line 633  class Data { Line 640  class Data {
640    
641    /**    /**
642       \brief       \brief
643         Return the minimum absolute value of this Data object.
644      */
645      double
646      Linf() const;
647    
648      /**
649         \brief
650       Return the maximum value of this Data object.       Return the maximum value of this Data object.
651    */    */
652    double    double
# Line 860  class Data { Line 874  class Data {
874    setSlice(const Data& value,    setSlice(const Data& value,
875             const DataArrayView::RegionType& region);             const DataArrayView::RegionType& region);
876    
877      /**
878         \brief
879         Archive the current Data object to the given file.
880         \param fileName - Input - file to archive to.
881      */
882      void
883      archiveData(const std::string fileName);
884    
885      /**
886         \brief
887         Extract the Data object archived in the given file, overwriting
888         the current Data object.
889         Note - the current object must be of type DataEmpty.
890         \param fileName - Input - file to extract from.
891         \param what - Input - a suitable FunctionSpace descibing the data.
892      */
893      void
894      extractData(const std::string fileName,
895                  const FunctionSpace& fspace);
896    
897   protected:   protected:
898    
899   private:   private:

Legend:
Removed from v.113  
changed lines
  Added in v.119

  ViewVC Help
Powered by ViewVC 1.1.26