/[escript]/branches/trilinos_from_5897/escriptcore/src/DataConstant.h
ViewVC logotype

Diff of /branches/trilinos_from_5897/escriptcore/src/DataConstant.h

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

revision 2548 by jfenwick, Mon Jul 20 06:20:06 2009 UTC revision 3911 by jfenwick, Thu Jun 14 01:01:03 2012 UTC
# Line 1  Line 1 
1    
2  /*******************************************************  /*******************************************************
3  *  *
4  * Copyright (c) 2003-2009 by University of Queensland  * Copyright (c) 2003-2012 by University of Queensland
5  * Earth Systems Science Computational Center (ESSCC)  * Earth Systems Science Computational Center (ESSCC)
6  * http://www.uq.edu.au/esscc  * http://www.uq.edu.au/esscc
7  *  *
# Line 19  Line 19 
19  #include "DataReady.h"  #include "DataReady.h"
20  #include "WrappedArray.h"  #include "WrappedArray.h"
21    
 #include <boost/python/numeric.hpp>  
22    
23  namespace escript {  namespace escript {
24    
# Line 87  typedef DataReady parent; Line 86  typedef DataReady parent;
86                 const DataTypes::ShapeType &shape,                 const DataTypes::ShapeType &shape,
87                 const DataTypes::ValueType &data);                 const DataTypes::ValueType &data);
88    
89      ESCRIPT_DLL_API
90      DataConstant(const FunctionSpace& what,
91                               const DataTypes::ShapeType &shape,
92                               const double v);
93              
94              
95    ESCRIPT_DLL_API    ESCRIPT_DLL_API
96    bool    bool
97    isConstant() const    isConstant() const
# Line 95  typedef DataReady parent; Line 99  typedef DataReady parent;
99      return true;      return true;
100    };    };
101    
102      /**
103      \brief Return true if the value contains a NaN.
104      */
105      ESCRIPT_DLL_API
106      bool
107      hasNaN() const;
108    
109    /**    /**
110       \brief       \brief
# Line 272  typedef DataReady parent; Line 282  typedef DataReady parent;
282    
283    
284    /**    /**
285        \brief invert square matricies
286        \param out - Where to store the results
287        \return errorcode (0 indicates success)
288      */
289      ESCRIPT_DLL_API
290      virtual int
291      matrixInverse(DataAbstract* out) const;
292    
293      /**
294       \brief       \brief
295       Return a reference to the underlying DataVector.       Return a reference to the underlying DataVector.
296    */    */

Legend:
Removed from v.2548  
changed lines
  Added in v.3911

  ViewVC Help
Powered by ViewVC 1.1.26