35 |
ESCRIPT_DLL_API |
ESCRIPT_DLL_API |
36 |
void setInt(const char* name, int value); |
void setInt(const char* name, int value); |
37 |
|
|
38 |
|
boost::python::list |
39 |
|
listEscriptParams(); |
40 |
|
|
41 |
private: |
private: |
42 |
|
|
43 |
// If we get more params we can replace this with a map |
// If we get more params we can replace this with a map |
45 |
int autolazy; |
int autolazy; |
46 |
int too_many_levels; |
int too_many_levels; |
47 |
int too_many_nodes; |
int too_many_nodes; |
48 |
|
int resolve_collective; |
49 |
|
|
50 |
protected: |
protected: |
51 |
// This is to provide fast access for methods in Data. |
// This is to provide fast access for methods in Data. |
56 |
int getAUTOLAZY() { return autolazy;} |
int getAUTOLAZY() { return autolazy;} |
57 |
int getTOO_MANY_LEVELS() {return too_many_levels;} |
int getTOO_MANY_LEVELS() {return too_many_levels;} |
58 |
int getTOO_MANY_NODES() {return too_many_nodes;} |
int getTOO_MANY_NODES() {return too_many_nodes;} |
59 |
|
int getRESOLVE_COLLECTIVE() {return resolve_collective;} |
60 |
|
|
61 |
friend class escript::Data; |
friend class escript::Data; |
62 |
friend class escript::DataLazy; |
friend class escript::DataLazy; |
74 |
friend Data operator/(const escript::Data&, const boost::python::api::object&); |
friend Data operator/(const escript::Data&, const boost::python::api::object&); |
75 |
friend Data C_GeneralTensorProduct(escript::Data& arg_0, escript::Data& arg_1, |
friend Data C_GeneralTensorProduct(escript::Data& arg_0, escript::Data& arg_1, |
76 |
int axis_offset, int transpose); |
int axis_offset, int transpose); |
|
|
|
77 |
}; |
}; |
78 |
|
|
79 |
|
|
95 |
|
|
96 |
/** |
/** |
97 |
\brief describe available paramters. |
\brief describe available paramters. |
98 |
\return a list of tuples (parameter name, description) |
\return a list of tuples (parameter name, value, description) |
99 |
*/ |
*/ |
100 |
ESCRIPT_DLL_API |
ESCRIPT_DLL_API |
101 |
boost::python::list listEscriptParams(); |
inline boost::python::list listEscriptParams() |
102 |
|
{ |
103 |
|
return escriptParams.listEscriptParams(); |
104 |
|
} |
105 |
|
|
106 |
|
|
107 |
|
|
108 |
} |
} |
109 |
#endif |
#endif |