106 |
.def("__str__",&escript::FunctionSpace::toString) |
.def("__str__",&escript::FunctionSpace::toString) |
107 |
.def(self == self) |
.def(self == self) |
108 |
.def(self != self); |
.def(self != self); |
|
|
|
|
// |
|
|
// Interface for DataVariable |
|
|
// |
|
|
class_<escript::DataVariable>("DataVariable",init<>()) |
|
|
.def(init<escript::Data*>()) |
|
|
.def("evaluate",&escript::DataVariable::evaluate) |
|
|
.def("sum",&escript::DataVariable::sum) |
|
|
.def("diff",&escript::DataVariable::diff); |
|
|
|
|
109 |
// |
// |
110 |
// Interface for Data |
// Interface for Data |
111 |
// |
// |