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

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

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

revision 109 by jgs, Thu Dec 23 07:20:12 2004 UTC revision 110 by jgs, Mon Feb 14 04:14:42 2005 UTC
# Line 18  Line 18 
18    
19  #include "escript/Data/DataException.h"  #include "escript/Data/DataException.h"
20  #include "escript/Data/DataArrayView.h"  #include "escript/Data/DataArrayView.h"
21    #include "escript/Data/DataArray.h"
22  #include "escript/Data/FunctionSpace.h"  #include "escript/Data/FunctionSpace.h"
23    
24  #include <iostream>  #include <iostream>
# Line 136  class DataAbstract { Line 137  class DataAbstract {
137    
138    /**    /**
139       \brief       \brief
140         Assign the given value to the data-points(s) referenced by the given
141         reference number.
142    
143         If this Data object cannot be accessed by reference numbers an
144         exception will be thrown.
145    
146         \param ref - Input - reference number.
147         \param value - Input - value to assign to data-points associated with
148                                the given reference number.
149      */
150      virtual
151      void
152      setRefValue(int ref,
153                  const DataArray& value);
154    
155      /**
156         \brief
157         Return the values associated with the data-point(s) referenced by the given
158         reference number.
159    
160         If this Data object cannot be accessed by reference numbers an
161         exception will be thrown.
162    
163         \param ref - Input - reference number.
164         \param value - Output - object to receive data-points associated with
165                                 the given reference number.
166      */
167      virtual
168      void
169      getRefValue(int ref,
170                  DataArray& value);
171    
172      /**
173         \brief
174       Check this and the right operands are compatible. Throws       Check this and the right operands are compatible. Throws
175       an exception if they aren't.       an exception if they aren't.
176       \param right - Input - The right hand side.       \param right - Input - The right hand side.

Legend:
Removed from v.109  
changed lines
  Added in v.110

  ViewVC Help
Powered by ViewVC 1.1.26