/[escript]/trunk/escript/src/escriptcpp.cpp
ViewVC logotype

Diff of /trunk/escript/src/escriptcpp.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 949 by gross, Fri Jan 5 04:23:05 2007 UTC revision 950 by gross, Tue Feb 6 07:01:11 2007 UTC
# Line 125  BOOST_PYTHON_MODULE(escriptcpp) Line 125  BOOST_PYTHON_MODULE(escriptcpp)
125      .def("setProtection",&escript::Data::setProtection)      .def("setProtection",&escript::Data::setProtection)
126      .def("getShape",&escript::Data::getShapeTuple)      .def("getShape",&escript::Data::getShapeTuple)
127      .def("getRank",&escript::Data::getDataPointRank)      .def("getRank",&escript::Data::getDataPointRank)
128        .def("dump",&escript::Data::dump)
129      .def("copyWithMask",&escript::Data::copyWithMask)      .def("copyWithMask",&escript::Data::copyWithMask)
130      .def("setTaggedValue",&escript::Data::setTaggedValue)      .def("setTaggedValue",&escript::Data::setTaggedValue)
131      .def("setRefValue",&escript::Data::setRefValue)      .def("setValueByReferenceNumber",&escript::Data::setValueByReferenceNumber)
132      .def("getRefValue",&escript::Data::getRefValue)      .def("getValueByReferenceNumber",&escript::Data::getValueByReferenceNumber)
133      .def("getNumberOfDataPoints",&escript::Data::getNumDataPoints)      .def("getNumberOfDataPoints",&escript::Data::getNumDataPoints)
134      .def("expand",&escript::Data::expand)      .def("expand",&escript::Data::expand)
135      .def("tag",&escript::Data::tag)      .def("tag",&escript::Data::tag)
# Line 249  BOOST_PYTHON_MODULE(escriptcpp) Line 250  BOOST_PYTHON_MODULE(escriptcpp)
250    //    //
251    // Factory methods for Data    // Factory methods for Data
252    //    //
253      def("load",escript::load);
254    def("Scalar",escript::Scalar,    def("Scalar",escript::Scalar,
255        (arg("value")=0.0,        (arg("value")=0.0,
256         arg("what")=escript::FunctionSpace(),         arg("what")=escript::FunctionSpace(),

Legend:
Removed from v.949  
changed lines
  Added in v.950

  ViewVC Help
Powered by ViewVC 1.1.26