262 |
.def("setToZero",&escript::Data::setToZero,"After this call the object will store values of the same shape as before but all components will be zero.") |
.def("setToZero",&escript::Data::setToZero,"After this call the object will store values of the same shape as before but all components will be zero.") |
263 |
.def("interpolate",&escript::Data::interpolate,args("functionspace"),"Interpolate this object's values into a new functionspace.") |
.def("interpolate",&escript::Data::interpolate,args("functionspace"),"Interpolate this object's values into a new functionspace.") |
264 |
.def("interpolateTable", &escript::Data::interpolateFromTable2DP, |
.def("interpolateTable", &escript::Data::interpolateFromTable2DP, |
265 |
args("table","Amin","Astep", "B", "Bmin", "Bstep","undef"), |
(arg("table"),arg("Amin"),arg("Astep"), arg("B"), arg("Bmin"), arg("Bstep"), arg("undef")=1.e50), |
266 |
"Creates a new Data object by interpolating using the source data (which are\n" |
"Creates a new Data object by interpolating using the source data (which are\n" |
267 |
"looked up in ``table``)\n``A`` must be the outer dimension on the table\n\n" |
"looked up in ``table``)\n``A`` must be the outer dimension on the table\n\n" |
268 |
":param table: two dimensional collection of values\n" |
":param table: two dimensional collection of values\n" |
277 |
"\n:rtype: `Data`" |
"\n:rtype: `Data`" |
278 |
) |
) |
279 |
.def("interpolateTable", &escript::Data::interpolateFromTable1DP, |
.def("interpolateTable", &escript::Data::interpolateFromTable1DP, |
280 |
args("table","Amin","Astep","undef"), |
(arg("table"),arg("Amin"),arg("Astep"), arg("undef")=1.e50), |
281 |
"Creates a new Data object by interpolating using the source data (which are\n" |
"Creates a new Data object by interpolating using the source data (which are\n" |
282 |
"looked up in ``table``)\n\n" |
"looked up in ``table``)\n\n" |
283 |
":param table: one dimensional collection of values\n" |
":param table: one dimensional collection of values\n" |