/[escript]/branches/schroedinger/escript/src/DataReady.cpp
ViewVC logotype

Contents of /branches/schroedinger/escript/src/DataReady.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1865 - (show annotations)
Thu Oct 9 03:53:57 2008 UTC (14 years, 5 months ago) by jfenwick
File size: 687 byte(s)
Branch commit
Added some missing files.

In python can ask a data object if it-  isReady(), isConstant(), 
isLazy().



1
2 /*******************************************************
3 *
4 * Copyright (c) 2003-2008 by University of Queensland
5 * Earth Systems Science Computational Center (ESSCC)
6 * http://www.uq.edu.au/esscc
7 *
8 * Primary Business: Queensland, Australia
9 * Licensed under the Open Software License version 3.0
10 * http://www.opensource.org/licenses/osl-3.0.php
11 *
12 *******************************************************/
13
14 #include "DataReady.h"
15
16 namespace escript
17 {
18
19 DataReady::DataReady(const FunctionSpace& what, const ShapeType& shape, bool isDataEmpty)
20 :parent(what,shape,isDataEmpty)
21 {
22 }
23
24
25 DataReady_ptr
26 DataReady::resolve()
27 {
28 return boost::dynamic_pointer_cast<DataReady>(this->getPtr());
29 }
30
31
32
33 }

  ViewVC Help
Powered by ViewVC 1.1.26