1 |
// $Id$ |
|
2 |
/* |
/* $Id$ */ |
3 |
************************************************************ |
|
4 |
* Copyright 2006 by ACcESS MNRF * |
/******************************************************* |
5 |
* * |
* |
6 |
* http://www.access.edu.au * |
* Copyright 2003-2007 by ACceSS MNRF |
7 |
* Primary Business: Queensland, Australia * |
* Copyright 2007 by University of Queensland |
8 |
* Licensed under the Open Software License version 3.0 * |
* |
9 |
* http://www.opensource.org/licenses/osl-3.0.php * |
* http://esscc.uq.edu.au |
10 |
* * |
* Primary Business: Queensland, Australia |
11 |
************************************************************ |
* Licensed under the Open Software License version 3.0 |
12 |
*/ |
* http://www.opensource.org/licenses/osl-3.0.php |
13 |
|
* |
14 |
|
*******************************************************/ |
15 |
|
|
16 |
/** \file Data.h */ |
/** \file Data.h */ |
17 |
|
|
28 |
|
|
29 |
extern "C" { |
extern "C" { |
30 |
#include "DataC.h" |
#include "DataC.h" |
31 |
#include "paso/Paso.h" |
/* #include "paso/Paso.h" doesn't belong in this file...causes trouble for BruceFactory.cpp */ |
32 |
} |
} |
33 |
|
|
34 |
#ifndef PASO_MPI |
#include "esysmpi.h" |
|
#define MPI_Comm long |
|
|
#endif |
|
|
|
|
35 |
#include <string> |
#include <string> |
36 |
#include <algorithm> |
#include <algorithm> |
37 |
|
|
332 |
{ |
{ |
333 |
return m_data->toString(); |
return m_data->toString(); |
334 |
} |
} |
|
|
|
|
/** |
|
|
\brief |
|
|
Return a description for this domain for python. |
|
|
*/ |
|
|
ESCRIPT_DLL_API |
|
|
const boost::python::str str() const; |
|
335 |
|
|
336 |
/** |
/** |
337 |
\brief |
\brief |
740 |
|
|
741 |
/** |
/** |
742 |
\brief |
\brief |
|
Return the minimum absolute value of this Data object. |
|
|
* |
|
|
*/ |
|
|
ESCRIPT_DLL_API |
|
|
double |
|
|
Linf() const; |
|
|
|
|
|
/** |
|
|
\brief |
|
743 |
Return the maximum value of this Data object. |
Return the maximum value of this Data object. |
744 |
* |
* |
745 |
*/ |
*/ |
1106 |
ESCRIPT_DLL_API |
ESCRIPT_DLL_API |
1107 |
Data& operator+=(const boost::python::object& right); |
Data& operator+=(const boost::python::object& right); |
1108 |
|
|
1109 |
|
ESCRIPT_DLL_API |
1110 |
|
Data& operator=(const Data& other); |
1111 |
|
|
1112 |
/** |
/** |
1113 |
\brief |
\brief |
1114 |
Overloaded operator -= |
Overloaded operator -= |
1508 |
*/ |
*/ |
1509 |
ESCRIPT_DLL_API Data operator/(const boost::python::object& left, const Data& right); |
ESCRIPT_DLL_API Data operator/(const boost::python::object& left, const Data& right); |
1510 |
|
|
1511 |
|
|
1512 |
|
|
1513 |
/** |
/** |
1514 |
\brief |
\brief |
1515 |
Output operator |
Output operator |
1537 |
NB: this operator does very little at this point, and isn't to |
NB: this operator does very little at this point, and isn't to |
1538 |
be relied on. Requires further implementation. |
be relied on. Requires further implementation. |
1539 |
*/ |
*/ |
1540 |
//ESCRIPT_DLL_API bool operator==(const Data& left, const Data& right); |
// ESCRIPT_DLL_API bool operator==(const Data& left, const Data& right); |
1541 |
|
|
1542 |
/** |
/** |
1543 |
\brief |
\brief |