branches/domexper/dudley/src/CPPAdapter/dudleycpp.cpp revision 3231 by jfenwick, Fri Oct 1 01:53:46 2010 UTC trunk/dudley/src/CPPAdapter/dudleycpp.cpp revision 3469 by jfenwick, Tue Feb 22 06:39:16 2011 UTC
# Line 114  BOOST_PYTHON_MODULE(dudleycpp) Line 114  BOOST_PYTHON_MODULE(dudleycpp)
114        arg("useElementsOnFace")=false,        arg("useElementsOnFace")=false,
115        arg("useFullElementOrder")=false,        arg("useFullElementOrder")=false,
116        arg("optimize")=false)        arg("optimize")=false)
117  ,"Creates a rectangular mesh with n0 x n1 x n2 elements over the brick [0,l0] x [0,l1] x [0,l2]."  ,"Creates a tetrahedral mesh by subdividing n0 x n1 x n2 rectangular elements over the brick [0,l0] x [0,l1] x [0,l2]."
118  "\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"
119  ":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"
120  ":param l0: length of side 0\n:param l1:\n:param l2:\n"  ":param l0: length of side 0\n:param l1:\n:param l2:\n"
# Line 136  BOOST_PYTHON_MODULE(dudleycpp) Line 136  BOOST_PYTHON_MODULE(dudleycpp)
136        arg("useElementsOnFace")=false,        arg("useElementsOnFace")=false,
137        arg("useFullElementOrder")=false,        arg("useFullElementOrder")=false,
138        arg("optimize")=false)        arg("optimize")=false)
139  ,"Creates a rectangular mesh with n0 x n1 elements over the brick [0,l0] x [0,l1]."  ,"Creates a triangular mesh by subdividing n0 x n1 rectangular elements over the brick [0,l0] x [0,l1]."
140  "\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"
141  ":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"
142  ":param l0: length of side 0\n:param l1:\n"  ":param l0: length of side 0\n:param l1:\n"
# Line 169  BOOST_PYTHON_MODULE(dudleycpp) Line 169  BOOST_PYTHON_MODULE(dudleycpp)
169  ":return: the number of data points summed across all MPI processes\n"  ":return: the number of data points summed across all MPI processes\n"
170  ":rtype: ``int``")  ":rtype: ``int``")
172  args("mat", "rhs","A", "B", "C", "D", "X", "Y", "d", "y"),  args("mat", "rhs","A", "B", "C", "D", "X", "Y", "d", "y", "d_contact", "y_contact"),
173  "adds a PDE onto the stiffness matrix mat and a rhs\n\n"  "adds a PDE onto the stiffness matrix mat and a rhs\n\n"
174  ":param mat:\n:type mat: `OperatorAdapter`\n:param rhs:\n:type rhs: `Data`\n"  ":param mat:\n:type mat: `OperatorAdapter`\n:param rhs:\n:type rhs: `Data`\n"
175  ":param A:\n:type A: `Data`\n"  ":param A:\n:type A: `Data`\n"
# Line 179  args("mat", "rhs","A", "B", "C", "D", "X Line 179  args("mat", "rhs","A", "B", "C", "D", "X
179  ":param X:\n:type X: `Data`\n"  ":param X:\n:type X: `Data`\n"
180  ":param Y:\n:type Y: `Data`\n"  ":param Y:\n:type Y: `Data`\n"
181  ":param d:\n:type d: `Data`\n"  ":param d:\n:type d: `Data`\n"
182    ":param d_contact:\n:type d_contact: `Data`\n"
183    ":param y_contact:\n:type y_contact: `Data`\n"
184  )  )
186  args("mat", "D", "d"),  args("mat", "D", "d"),
187  "adds a PDE onto the lumped stiffness matrix\n\n"  "adds a PDE onto the lumped stiffness matrix\n\n"
188  ":param mat:\n:type mat: `Data`\n"  ":param mat:\n:type mat: `Data`\n"
189  ":param D:\n:type D: `Data`\n"  ":param D:\n:type D: `Data`\n"
190  ":param d:\n:type d: `Data`\n")  ":param d:\n:type d: `Data`\n"
191    ":param useHRZ:\n:type useHRZ: bool\n"
192    )
194  args("rhs", "X", "Y", "y", "y_contact"),  args("rhs", "X", "Y", "y", "y_contact"),
195  "adds a PDE onto the stiffness matrix mat and a rhs\n\n"  "adds a PDE onto the stiffness matrix mat and a rhs\n\n"
# Line 193  args("rhs", "X", "Y", "y", "y_contact"), Line 197  args("rhs", "X", "Y", "y", "y_contact"),
197  ":param X:\n:type X: `Data`\n"  ":param X:\n:type X: `Data`\n"
198  ":param Y:\n:type Y: `Data`\n"  ":param Y:\n:type Y: `Data`\n"
199  ":param y:\n:type y: `Data`\n"  ":param y:\n:type y: `Data`\n"
200    ":param y_contact:\n:type y_contact: `Data`"
201  )  )