/[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 480 by jgs, Wed Feb 1 05:15:12 2006 UTC revision 1487 by gross, Thu Apr 10 05:28:01 2008 UTC
# Line 1  Line 1 
1  // $Id$  
2  /*  /* $Id$ */
3   ******************************************************************************  
4   *                                                                            *  /*******************************************************
5   *       COPYRIGHT  ACcESS 2004 -  All Rights Reserved                        *   *
6   *                                                                            *   *           Copyright 2003-2007 by ACceSS MNRF
7   * This software is the property of ACcESS. No part of this code              *   *       Copyright 2007 by University of Queensland
8   * may be copied in any form or by any means without the expressed written    *   *
9   * consent of ACcESS.  Copying, use or modification of this software          *   *                http://esscc.uq.edu.au
10   * by any unauthorised person is illegal unless that person has a software    *   *        Primary Business: Queensland, Australia
11   * license agreement with ACcESS.                                             *   *  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 75  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 95  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 128  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
137    DataAbstract::symmetric(DataAbstract* ev)
138    {
139        throw DataException("Error - DataAbstract::symmetric is not supported.");
140    }
141    
142    void
143    DataAbstract::nonsymmetric(DataAbstract* ev)
144    {
145        throw DataException("Error - DataAbstract::nonsymmetric is not supported.");
146    }
147    
148    void
149    DataAbstract::trace(DataAbstract* ev, int axis_offset)
150    {
151        throw DataException("Error - DataAbstract::trace is not supported.");
152    }
153    
154    void
155    DataAbstract::swapaxes(DataAbstract* ev, int axis0, int axis1)
156    {
157        throw DataException("Error - DataAbstract::component swapaxes is not supported.");
158    }
159    void
160    DataAbstract::transpose(DataAbstract* ev, int axis_offset)
161    {
162        throw DataException("Error - DataAbstract::transpose is not supported.");
163    }
164    
165    void
166    DataAbstract::eigenvalues(DataAbstract* ev)
167    {
168        throw DataException("Error - DataAbstract::eigenvalues is not supported.");
169    }
170    void
171    DataAbstract::eigenvalues_and_eigenvectors(DataAbstract* ev,DataAbstract* V,const double tol)
172    {
173        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    
190  }  // end of namespace  }  // end of namespace

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

  ViewVC Help
Powered by ViewVC 1.1.26