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

revision 474 by jgs, Mon Jan 30 04:23:44 2006 UTC revision 615 by elspeth, Wed Mar 22 02:12:00 2006 UTC
# Line 1  Line 1 
1  // $Id$  // $Id$
2  /*  /*
3   ******************************************************************************   ************************************************************
4   *                                                                            *   *          Copyright 2006 by ACcESS MNRF                   *
5   *       COPYRIGHT  ACcESS 2004 -  All Rights Reserved                        *   *                                                          *
6   *                                                                            *   *              http://www.access.edu.au                    *
7   * This software is the property of ACcESS. No part of this code              *   *       Primary Business: Queensland, Australia            *
8   * may be copied in any form or by any means without the expressed written    *   *  Licensed under the Open Software License version 3.0    *
9   * consent of ACcESS.  Copying, use or modification of this software          *   *     http://www.opensource.org/licenses/osl-3.0.php       *
10   * by any unauthorised person is illegal unless that person has a software    *   *                                                          *
11   * license agreement with ACcESS.                                             *   ************************************************************
12   *                                                                            *  
  ******************************************************************************  
13  */  */
14                                                                              
15  #if !defined escript_DataAbstract_20040315_H  #if !defined escript_DataAbstract_20040315_H
16  #define escript_DataAbstract_20040315_H  #define escript_DataAbstract_20040315_H
17    
 #include "DataException.h"  
18  #include "DataArrayView.h"  #include "DataArrayView.h"
19  #include "DataArray.h"  #include "DataArray.h"
20  #include "FunctionSpace.h"  #include "FunctionSpace.h"
21    
 #include <iostream>  
 #include <fstream>  
22  #include <boost/scoped_ptr.hpp>  #include <boost/scoped_ptr.hpp>
23  #include <functional>  #include <boost/python/numeric.hpp>
24    
25  #include <string>  #include <string>
26    #include <fstream>
27    
28  namespace escript {  namespace escript {
29    
# Line 318  class DataAbstract { Line 316  class DataAbstract {
316    int    int
317    getTagNumber(int dpno);    getTagNumber(int dpno);
318    
319      /**
320         \brief
321         solves the eigenvalue problem this*V=ev*V for the eigenvalues ev
322    
323         \param ev - Output - eigenvalues in increasing order at each data point
324    
325      */
326      virtual void
327      eigenvalues(DataAbstract* ev);
328    
329      /**
330         \brief
331         solves the eigenvalue problem this*V=ev*V for the eigenvalues ev and eigenvectors V
332    
333         \param ev - Output - eigenvalues in increasing order at each data point
334         \param V - Output - corresponding eigenvectors. They are normalized such that their length is one
335                             and the first nonzero component is positive.
336         \param tol - Input - eigenvalue with relative distance tol are treated as equal.
337    
338      */
339    
340      virtual void
341      eigenvalues_and_eigenvectors(DataAbstract* ev,DataAbstract* V,const double tol=1.e-13);
342    
343   protected:   protected:
344    
345    /**    /**
# Line 415  DataAbstract::getPointDataView() Line 437  DataAbstract::getPointDataView()
437  {  {
438    return *(m_pointDataView.get());    return *(m_pointDataView.get());
439  }  }
   
440  } // end of namespace  } // end of namespace
441    
442  #endif  #endif

Legend:
Removed from v.474  
changed lines
  Added in v.615

  ViewVC Help
Powered by ViewVC 1.1.26