/[escript]/trunk/escript/src/DataAbstract.cpp
ViewVC logotype

Diff of /trunk/escript/src/DataAbstract.cpp

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

revision 800 by gross, Tue Aug 8 11:23:18 2006 UTC revision 1487 by gross, Thu Apr 10 05:28:01 2008 UTC
# Line 1  Line 1 
1  // $Id$  
2  /*  /* $Id$ */
3   ************************************************************  
4   *          Copyright 2006 by ACcESS MNRF                   *  /*******************************************************
5   *                                                          *   *
6   *              http://www.access.edu.au                    *   *           Copyright 2003-2007 by ACceSS MNRF
7   *       Primary Business: Queensland, Australia            *   *       Copyright 2007 by University of Queensland
8   *  Licensed under the Open Software License version 3.0    *   *
9   *     http://www.opensource.org/licenses/osl-3.0.php       *   *                http://esscc.uq.edu.au
10   *                                                          *   *        Primary Business: Queensland, Australia
11   ************************************************************   *  Licensed under the Open Software License version 3.0
12  */   *     http://www.opensource.org/licenses/osl-3.0.php
13     *
14     *******************************************************/
15    
16  #include "DataAbstract.h"  #include "DataAbstract.h"
17  #include "DataException.h"  #include "DataException.h"
# Line 73  DataAbstract::operandCheck(const DataAbs Line 75  DataAbstract::operandCheck(const DataAbs
75        }        }
76  }  }
77    
78    void
79    DataAbstract::dump(const std::string fileName) const
80    {
81        throw DataException("Error - DataAbstract:: dump: not implemented.");
82    }
83    
84    
85    
86  DataAbstract::ValueType::value_type*  DataAbstract::ValueType::value_type*
87  DataAbstract::getSampleDataByTag(int tag)  DataAbstract::getSampleDataByTag(int tag)
88  {  {
# Line 93  DataAbstract::getTagNumber(int dpno) Line 103  DataAbstract::getTagNumber(int dpno)
103      return (0);      return (0);
104  }  }
105    
 void  
 DataAbstract::setRefValue(int ref,  
                           const DataArray& value)  
 {  
     throw DataException("Error - DataAbstract::setRefValue: Data type cannot be accessed by reference values.");  
 }  
   
 void  
 DataAbstract::getRefValue(int ref,  
                           DataArray& value)  
 {  
     throw DataException("Error - DataAbstract::getRefValue: Data type cannot be accessed by reference values.");  
 }  
   
106  int  int
107  DataAbstract::archiveData(ofstream& archiveFile,  DataAbstract::archiveData(ofstream& archiveFile,
108                            const ValueType::size_type noValues) const                            const ValueType::size_type noValues) const
# Line 126  DataAbstract::copyAll(const boost::pytho Line 122  DataAbstract::copyAll(const boost::pytho
122  {  {
123      throw DataException("Error - DataAbstract::copying data from numarray objects is not supported.");      throw DataException("Error - DataAbstract::copying data from numarray objects is not supported.");
124  }  }
125    void
126    DataAbstract::copyToDataPoint(const int sampleNo, const int dataPointNo, const double value)
127    {
128        throw DataException("Error - DataAbstract::copying data from double value to a single data point is not supported.");
129    }
130    void
131    DataAbstract::copyToDataPoint(const int sampleNo, const int dataPointNo, const boost::python::numeric::array& value)
132    {
133        throw DataException("Error - DataAbstract::copying data from numarray objects to a single data point is not supported.");
134    }
135    
136  void  void
137  DataAbstract::symmetric(DataAbstract* ev)  DataAbstract::symmetric(DataAbstract* ev)
# Line 146  DataAbstract::trace(DataAbstract* ev, in Line 152  DataAbstract::trace(DataAbstract* ev, in
152  }  }
153    
154  void  void
155  DataAbstract::swap(DataAbstract* ev, int axis_offset)  DataAbstract::swapaxes(DataAbstract* ev, int axis0, int axis1)
156  {  {
157      throw DataException("Error - DataAbstract::component swap is not supported.");      throw DataException("Error - DataAbstract::component swapaxes is not supported.");
158  }  }
159  void  void
160  DataAbstract::transpose(DataAbstract* ev, int axis_offset)  DataAbstract::transpose(DataAbstract* ev, int axis_offset)
# Line 160  void Line 166  void
166  DataAbstract::eigenvalues(DataAbstract* ev)  DataAbstract::eigenvalues(DataAbstract* ev)
167  {  {
168      throw DataException("Error - DataAbstract::eigenvalues is not supported.");      throw DataException("Error - DataAbstract::eigenvalues is not supported.");
   
169  }  }
170  void  void
171  DataAbstract::eigenvalues_and_eigenvectors(DataAbstract* ev,DataAbstract* V,const double tol)  DataAbstract::eigenvalues_and_eigenvectors(DataAbstract* ev,DataAbstract* V,const double tol)
# Line 168  DataAbstract::eigenvalues_and_eigenvecto Line 173  DataAbstract::eigenvalues_and_eigenvecto
173      throw DataException("Error - DataAbstract::eigenvalues_and_eigenvectors is not supported.");      throw DataException("Error - DataAbstract::eigenvalues_and_eigenvectors is not supported.");
174    
175  }  }
176    void
177    DataAbstract::setToZero()
178    {
179        throw DataException("Error - DataAbstract:: cannot set values to zero.");
180    }
181    
182    void
183    DataAbstract::reorderByReferenceIDs(int *reference_ids)
184    {
185    }
186    
187    
188    
189    

Legend:
Removed from v.800  
changed lines
  Added in v.1487

  ViewVC Help
Powered by ViewVC 1.1.26