/[escript]/trunk/esys2/bruce/src/Bruce/brucecpp.cpp
ViewVC logotype

Diff of /trunk/esys2/bruce/src/Bruce/brucecpp.cpp

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

revision 150 by jgs, Thu Sep 15 03:44:45 2005 UTC revision 151 by jgs, Thu Sep 22 01:55:00 2005 UTC
# Line 63  BOOST_PYTHON_MODULE(brucecpp) Line 63  BOOST_PYTHON_MODULE(brucecpp)
63    
64    class_<bruce::Bruce, bases<escript::AbstractContinuousDomain> >("Bruce",init<>())    class_<bruce::Bruce, bases<escript::AbstractContinuousDomain> >("Bruce",init<>())
65        .def(init<const bruce::Bruce&>())        .def(init<const bruce::Bruce&>())
66          .def("getDescription",&bruce::Bruce::getDescription)
67          .def("isValidFunctionSpaceType",&bruce::Bruce::isValidFunctionSpaceType)
68          .def("functionSpaceTypeAsString",&bruce::Bruce::functionSpaceTypeAsString)
69          .def("getContinuousFunctionCode",&bruce::Bruce::getContinuousFunctionCode)
70          .def("getFunctionCode",&bruce::Bruce::getFunctionCode)
71        .def("getDim",&bruce::Bruce::getDim)        .def("getDim",&bruce::Bruce::getDim)
72          .def("getDataShape",&bruce::Bruce::getDataShape)
73        .def("getX",&bruce::Bruce::getX)        .def("getX",&bruce::Bruce::getX)
74        .def("getSize",&bruce::Bruce::getSize);        .def("setToX",&bruce::Bruce::setToX)
75          .def("getSize",&bruce::Bruce::getSize)
76          .def("setToSize",&bruce::Bruce::setToSize)
77          .def(self == other<object>())
78          .def(self == self)
79          .def(self != other<object>())
80          .def(self != self);
81    
82  }  }

Legend:
Removed from v.150  
changed lines
  Added in v.151

  ViewVC Help
Powered by ViewVC 1.1.26