/[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

trunk/esys2/escript/src/Data/DataAbstract.h revision 123 by jgs, Fri Jul 8 04:08:13 2005 UTC trunk/escript/src/DataAbstract.h revision 478 by jgs, Tue Jan 31 02:21:49 2006 UTC
# Line 12  Line 12 
12   *                                                                            *   *                                                                            *
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 "DataArrayView.h"
20  #include "escript/Data/DataArrayView.h"  #include "DataArray.h"
21  #include "escript/Data/DataArray.h"  #include "FunctionSpace.h"
 #include "escript/Data/FunctionSpace.h"  
22    
23  #include <iostream>  #include <iostream>
24  #include <fstream>  #include <fstream>
25  #include <boost/scoped_ptr.hpp>  #include <boost/scoped_ptr.hpp>
26  #include <functional>  #include <boost/python/numeric.hpp>
27  #include <string>  #include <string>
28    
29  namespace escript {  namespace escript {
# Line 295  class DataAbstract { Line 294  class DataAbstract {
294    extractData(std::ifstream& archiveFile,    extractData(std::ifstream& archiveFile,
295                const ValueType::size_type noValues);                const ValueType::size_type noValues);
296    
297      /**
298         \brief
299         Copy the numarray object to the data points in this object.
300    
301         Description:
302         Copy the numarray object to the data points in this object.
303    
304         \param value Input - new values for the data points
305      */
306      virtual void
307      copyAll(const boost::python::numeric::array& value);
308    
309      /**
310         \brief
311         Return the tag number associated with the given data-point number.
312    
313         If the object cannot be referenced by tag numbers, an exception
314         will be thrown.
315      */
316      virtual
317      int
318      getTagNumber(int dpno);
319    
320   protected:   protected:
321    
322    /**    /**

Legend:
Removed from v.123  
changed lines
  Added in v.478

  ViewVC Help
Powered by ViewVC 1.1.26