/[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 4154 by jfenwick, Tue Jan 22 09:30:23 2013 UTC
# Line 1  Line 1 
1    
2  /*******************************************************  /*****************************************************************************
3  *  *
4  * Copyright (c) 2003-2009 by University of Queensland  * Copyright (c) 2003-2013 by University of Queensland
5  * Earth Systems Science Computational Center (ESSCC)  * http://www.uq.edu.au
 * http://www.uq.edu.au/esscc  
6  *  *
7  * Primary Business: Queensland, Australia  * Primary Business: Queensland, Australia
8  * Licensed under the Open Software License version 3.0  * Licensed under the Open Software License version 3.0
9  * http://www.opensource.org/licenses/osl-3.0.php  * http://www.opensource.org/licenses/osl-3.0.php
10  *  *
11  *******************************************************/  * Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12    * Development since 2012 by School of Earth Sciences
13    *
14    *****************************************************************************/
15    
16    
17  #if !defined escript_DataConstant_20040323_H  #if !defined escript_DataConstant_20040323_H
# Line 19  Line 21 
21  #include "DataReady.h"  #include "DataReady.h"
22  #include "WrappedArray.h"  #include "WrappedArray.h"
23    
 #include <boost/python/numeric.hpp>  
24    
25  namespace escript {  namespace escript {
26    
# Line 87  typedef DataReady parent; Line 88  typedef DataReady parent;
88                 const DataTypes::ShapeType &shape,                 const DataTypes::ShapeType &shape,
89                 const DataTypes::ValueType &data);                 const DataTypes::ValueType &data);
90    
91      ESCRIPT_DLL_API
92      DataConstant(const FunctionSpace& what,
93                               const DataTypes::ShapeType &shape,
94                               const double v);
95              
96              
97    ESCRIPT_DLL_API    ESCRIPT_DLL_API
98    bool    bool
99    isConstant() const    isConstant() const
# Line 95  typedef DataReady parent; Line 101  typedef DataReady parent;
101      return true;      return true;
102    };    };
103    
104      /**
105      \brief Return true if the value contains a NaN.
106      */
107      ESCRIPT_DLL_API
108      bool
109      hasNaN() const;
110    
111    /**    /**
112       \brief       \brief
# Line 272  typedef DataReady parent; Line 284  typedef DataReady parent;
284    
285    
286    /**    /**
287        \brief invert square matricies
288        \param out - Where to store the results
289        \return errorcode (0 indicates success)
290      */
291      ESCRIPT_DLL_API
292      virtual int
293      matrixInverse(DataAbstract* out) const;
294    
295      /**
296       \brief       \brief
297       Return a reference to the underlying DataVector.       Return a reference to the underlying DataVector.
298    */    */

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

  ViewVC Help
Powered by ViewVC 1.1.26