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 |
} |