/[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 699 by gross, Fri Mar 31 06:27:56 2006 UTC revision 783 by gross, Tue Jul 18 01:32:50 2006 UTC
# Line 97  BOOST_PYTHON_MODULE(escriptcpp) Line 97  BOOST_PYTHON_MODULE(escriptcpp)
97       .def("getX",&escript::FunctionSpace::getX)       .def("getX",&escript::FunctionSpace::getX)
98       .def("getNormal",&escript::FunctionSpace::getNormal)       .def("getNormal",&escript::FunctionSpace::getNormal)
99       .def("getSize",&escript::FunctionSpace::getSize)       .def("getSize",&escript::FunctionSpace::getSize)
100         .def("setTags",&escript::FunctionSpace::setTags)
101       .def("getTagFromDataPointNo",&escript::FunctionSpace::getTagFromDataPointNo)       .def("getTagFromDataPointNo",&escript::FunctionSpace::getTagFromDataPointNo)
102       .def("__str__",&escript::FunctionSpace::toString)       .def("__str__",&escript::FunctionSpace::toString)
103       .def(self == self)       .def(self == self)
# Line 117  BOOST_PYTHON_MODULE(escriptcpp) Line 118  BOOST_PYTHON_MODULE(escriptcpp)
118      .def("getDomain",&escript::Data::getDomain,return_internal_reference<>())      .def("getDomain",&escript::Data::getDomain,return_internal_reference<>())
119      .def("getFunctionSpace",&escript::Data::getFunctionSpace,return_internal_reference<>())      .def("getFunctionSpace",&escript::Data::getFunctionSpace,return_internal_reference<>())
120      .def("isEmpty",&escript::Data::isEmpty)      .def("isEmpty",&escript::Data::isEmpty)
121        .def("isProtected",&escript::Data::isProtected)
122        .def("setProtection",&escript::Data::setProtection)
123      .def("getShape",&escript::Data::getShapeTuple)      .def("getShape",&escript::Data::getShapeTuple)
124      .def("getRank",&escript::Data::getDataPointRank)      .def("getRank",&escript::Data::getDataPointRank)
125      .def("copyWithMask",&escript::Data::copyWithMask)      .def("copyWithMask",&escript::Data::copyWithMask)
# Line 168  BOOST_PYTHON_MODULE(escriptcpp) Line 171  BOOST_PYTHON_MODULE(escriptcpp)
171      .def("_log10",&escript::Data::log10)      .def("_log10",&escript::Data::log10)
172      .def("_log",&escript::Data::log)      .def("_log",&escript::Data::log)
173      .def("_sign",&escript::Data::sign)      .def("_sign",&escript::Data::sign)
174        .def("_symmetric",&escript::Data::symmetric)
175        .def("_nonsymmetric",&escript::Data::nonsymmetric)
176        .def("_matrixtrace",&escript::Data::matrixtrace)
177      .def("_eigenvalues",&escript::Data::eigenvalues)      .def("_eigenvalues",&escript::Data::eigenvalues)
178      .def("_eigenvalues_and_eigenvectors",&escript::Data::eigenvalues_and_eigenvectors,(arg("tol")=1.e-13))      .def("_eigenvalues_and_eigenvectors",&escript::Data::eigenvalues_and_eigenvectors,(arg("tol")=1.e-13))
179      // functions returning a single real number:      // functions returning a single real number:

Legend:
Removed from v.699  
changed lines
  Added in v.783

  ViewVC Help
Powered by ViewVC 1.1.26