/[escript]/trunk/ripley/src/ripleycpp.cpp
ViewVC logotype

Diff of /trunk/ripley/src/ripleycpp.cpp

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

revision 4173 by jfenwick, Tue Jan 22 09:30:23 2013 UTC revision 4174 by caltinay, Wed Jan 30 03:21:27 2013 UTC
# Line 213  BOOST_PYTHON_MODULE(ripleycpp) Line 213  BOOST_PYTHON_MODULE(ripleycpp)
213    
214      register_exception_translator<ripley::RipleyException>(&(esysUtils::esysExceptionTranslator));      register_exception_translator<ripley::RipleyException>(&(esysUtils::esysExceptionTranslator));
215    
216      scope().attr("__doc__") = "To use this module, please import esys.ripley";              scope().attr("__doc__") = "To use this module, please import esys.ripley";
217        
       
218      def("Brick", ripley::_brick, (arg("n0"),arg("n1"),arg("n2"),arg("l0")=1.0,arg("l1")=1.0,arg("l2")=1.0,arg("d0")=-1,arg("d1")=-1,arg("d2")=-1),      def("Brick", ripley::_brick, (arg("n0"),arg("n1"),arg("n2"),arg("l0")=1.0,arg("l1")=1.0,arg("l2")=1.0,arg("d0")=-1,arg("d1")=-1,arg("d2")=-1),
219  "Creates a hexagonal mesh with n0 x n1 x n2 elements over the brick [0,l0] x [0,l1] x [0,l2].\n\n"  "Creates a hexagonal mesh with n0 x n1 x n2 elements over the brick [0,l0] x [0,l1] x [0,l2].\n\n"
220  ":param n0: number of elements in direction 0\n:type n0: ``int``\n"  ":param n0: number of elements in direction 0\n:type n0: ``int``\n"

Legend:
Removed from v.4173  
changed lines
  Added in v.4174

  ViewVC Help
Powered by ViewVC 1.1.26