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

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

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

revision 1899 by jfenwick, Mon Oct 20 05:13:24 2008 UTC revision 1903 by jfenwick, Wed Oct 22 06:11:01 2008 UTC
# Line 67  opToString(ES_optype op); Line 67  opToString(ES_optype op);
67  /**  /**
68  \class escript::DataLazy  \class escript::DataLazy
69  \brief Wraps an expression tree of other DataObjects.  \brief Wraps an expression tree of other DataObjects.
70  The values of DataPoints are computed when requested rather than all at once.  The data will be evaluated when required.
71    
72    
73  NOTE: This class assumes that the Data being pointed at are immutable.  NOTE: This class assumes that the Data being pointed at are immutable.
74  */  */
# Line 160  public: Line 161  public:
161    int    int
162    getBuffsRequired() const;    getBuffsRequired() const;
163    
164      /**
165         \brief Produces an IDENTITY DataLazy containing zero.
166         The result will have the same shape and functionspace as before.
167      */
168      ESCRIPT_DLL_API
169      virtual void
170      setToZero();
171    
172  private:  private:
173    DataReady_ptr m_id;   //  For IDENTITY nodes, stores a wrapped value.    DataReady_ptr m_id;   //  For IDENTITY nodes, stores a wrapped value.

Legend:
Removed from v.1899  
changed lines
  Added in v.1903

  ViewVC Help
Powered by ViewVC 1.1.26