/[escript]/branches/diaplayground/dudley/src/CPPAdapter/dudleycpp.cpp
ViewVC logotype

Diff of /branches/diaplayground/dudley/src/CPPAdapter/dudleycpp.cpp

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

revision 4821 by sshaw, Tue Apr 1 04:58:33 2014 UTC revision 4934 by jfenwick, Tue May 13 00:28:11 2014 UTC
# Line 89  BOOST_PYTHON_MODULE(dudleycpp) Line 89  BOOST_PYTHON_MODULE(dudleycpp)
89  ":param useMacroElements: Enable the usage of macro elements instead of second order elements.\n:type useMacroElements: ``bool``"  ":param useMacroElements: Enable the usage of macro elements instead of second order elements.\n:type useMacroElements: ``bool``"
90  );  );
91    
92    def ("Brick",dudley::brick,    def ("__Brick_driver",dudley::brick_driver,
93          arg("args"),
94    /*      
95        (arg("n0")=1,arg("n1")=1,arg("n2")=1,        (arg("n0")=1,arg("n1")=1,arg("n2")=1,
96        arg("order")=1,        arg("order")=1,
97        arg("l0")=1.0,arg("l1")=1.0,arg("l2")=1.0,        arg("l0")=1.0,arg("l1")=1.0,arg("l2")=1.0,
# Line 98  BOOST_PYTHON_MODULE(dudleycpp) Line 100  BOOST_PYTHON_MODULE(dudleycpp)
100        arg("useElementsOnFace")=false,        arg("useElementsOnFace")=false,
101        arg("useFullElementOrder")=false,        arg("useFullElementOrder")=false,
102        arg("optimize")=false)        arg("optimize")=false)
103  ,"Creates a tetrahedral mesh by subdividing n0 x n1 x n2 rectangular elements over the brick [0,l0] x [0,l1] x [0,l2]."  */      
104    "Creates a tetrahedral mesh by subdividing n0 x n1 x n2 rectangular elements over the brick [0,l0] x [0,l1] x [0,l2]."
105  "We accept floating point values for n0, n1 only to ease transition of scripts to python3 when the time comes."  "We accept floating point values for n0, n1 only to ease transition of scripts to python3 when the time comes."
106  "\n\n:param n0:\n:type n0:\n:param n1:\n:type n1:\n:param n2:\n:type n2:\n"  "\n\n:param n0:\n:type n0:\n:param n1:\n:type n1:\n:param n2:\n:type n2:\n"
107  ":param order: =1, =-1 or =2 gives the order of shape function. If -1 macro elements of order 1 are used.\n"  ":param order: =1, =-1 or =2 gives the order of shape function. If -1 macro elements of order 1 are used.\n"
# Line 113  BOOST_PYTHON_MODULE(dudleycpp) Line 116  BOOST_PYTHON_MODULE(dudleycpp)
116  ":param optimize: Enable optimisation of node labels\n:type optimize: ``bool``"  ":param optimize: Enable optimisation of node labels\n:type optimize: ``bool``"
117  );  );
118    
119    def ("Rectangle",dudley::rectangle,    def ("__Rectangle_driver",dudley::rectangle_driver,
120          arg("args"),
121    /*      
122        (arg("n0")=1,arg("n1")=1,arg("order")=1,        (arg("n0")=1,arg("n1")=1,arg("order")=1,
123        arg("l0")=1.0,arg("l1")=1.0,        arg("l0")=1.0,arg("l1")=1.0,
124        arg("periodic0")=false,arg("periodic1")=false,        arg("periodic0")=false,arg("periodic1")=false,
# Line 121  BOOST_PYTHON_MODULE(dudleycpp) Line 126  BOOST_PYTHON_MODULE(dudleycpp)
126        arg("useElementsOnFace")=false,        arg("useElementsOnFace")=false,
127        arg("useFullElementOrder")=false,        arg("useFullElementOrder")=false,
128        arg("optimize")=false)        arg("optimize")=false)
129  ,"Creates a triangular mesh by subdividing n0 x n1 rectangular elements over the brick [0,l0] x [0,l1]."  */      
130    "Creates a triangular mesh by subdividing n0 x n1 rectangular elements over the brick [0,l0] x [0,l1]."
131  "We accept floating point values for n0, n1 only to ease transition of scripts to python3 when the time comes."  "We accept floating point values for n0, n1 only to ease transition of scripts to python3 when the time comes."
132  "\n\n:param n0:\n:type n0:\n:param n1:\n:type n1:\n"  "\n\n:param n0:\n:type n0:\n:param n1:\n:type n1:\n"
133  ":param order: =1, =-1 or =2 gives the order of shape function. If -1 macro elements of order 1 are used.\n"  ":param order: =1, =-1 or =2 gives the order of shape function. If -1 macro elements of order 1 are used.\n"

Legend:
Removed from v.4821  
changed lines
  Added in v.4934

  ViewVC Help
Powered by ViewVC 1.1.26