/[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 1417 by gross, Mon Feb 25 04:45:48 2008 UTC revision 1718 by gross, Thu Aug 21 05:50:11 2008 UTC
# Line 84  BOOST_PYTHON_MODULE(escriptcpp) Line 84  BOOST_PYTHON_MODULE(escriptcpp)
84    def("blocktimer_increment",blocktimer_increment);    def("blocktimer_increment",blocktimer_increment);
85    def("blocktimer_time",blocktimer_time);    def("blocktimer_time",blocktimer_time);
86    def("getVersion",escript::getSvnVersion);    def("getVersion",escript::getSvnVersion);
87      def("printParallelThreadCounts",escript::printParallelThreadCnt);
88    
89    
90    //    //
# Line 114  BOOST_PYTHON_MODULE(escriptcpp) Line 115  BOOST_PYTHON_MODULE(escriptcpp)
115    //    //
116    // Interface for FunctionSpace    // Interface for FunctionSpace
117    //    //
118    class_<escript::FunctionSpace>("FunctionSpace",init<>())    class_<escript::FunctionSpace> fs_definer("FunctionSpace",init<>());
119       .def("getDim",&escript::FunctionSpace::getDim)    fs_definer.def("getDim",&escript::FunctionSpace::getDim);
120       .def("getDomain",&escript::FunctionSpace::getDomain,return_internal_reference<>())    fs_definer.def("getDomain",&escript::FunctionSpace::getDomain,
121       .def("getX",&escript::FunctionSpace::getX)                   return_internal_reference<>());
122       .def("getNormal",&escript::FunctionSpace::getNormal)    fs_definer.def("getX",&escript::FunctionSpace::getX);
123       .def("getSize",&escript::FunctionSpace::getSize)    fs_definer.def("getNormal",&escript::FunctionSpace::getNormal);
124       .def("setTags",&escript::FunctionSpace::setTags)    fs_definer.def("getSize",&escript::FunctionSpace::getSize);
125       .def("getTagFromDataPointNo",&escript::FunctionSpace::getTagFromDataPointNo)    fs_definer.def("setTags",&escript::FunctionSpace::setTags);
126       .def("__str__",&escript::FunctionSpace::toString)    fs_definer.def("getTagFromDataPointNo",
127       .def(self == self)                   &escript::FunctionSpace::getTagFromDataPointNo);
128       .def(self != self);    fs_definer.def("getReferenceIDFromDataPointNo", &escript::FunctionSpace::getReferenceIDFromDataPointNo);
129      fs_definer.def("getListOfTags",&escript::FunctionSpace::getListOfTags);
130      fs_definer.def("__str__", &escript::FunctionSpace::toString);
131      fs_definer.def(self == self);
132      fs_definer.def(self != self);
133    //    //
134    // Interface for Data    // Interface for Data
135    //    //

Legend:
Removed from v.1417  
changed lines
  Added in v.1718

  ViewVC Help
Powered by ViewVC 1.1.26