/[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 950 by gross, Tue Feb 6 07:01:11 2007 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 101  DataAbstract::getTagNumber(int dpno) Line 103  DataAbstract::getTagNumber(int dpno)
103      return (0);      return (0);
104  }  }
105    
 void  
 DataAbstract::setValueByReferenceNumber(int ref,  
                           const DataArray& value)  
 {  
     throw DataException("Error - DataAbstract::setValueByReferenceNumber: Data type cannot be accessed by reference values.");  
 }  
   
 void  
 DataAbstract::getValueByReferenceNumber(int ref,  
                           DataArray& value)  
 {  
     throw DataException("Error - DataAbstract::getValueByReferenceNumber: 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 178  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 186  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.950  
changed lines
  Added in v.1487

  ViewVC Help
Powered by ViewVC 1.1.26