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

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

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

revision 3086 by jfenwick, Thu Aug 5 05:07:58 2010 UTC revision 3115 by jfenwick, Sun Aug 29 23:14:35 2010 UTC
# Line 115  BOOST_PYTHON_MODULE(dudleycpp) Line 115  BOOST_PYTHON_MODULE(dudleycpp)
115        arg("useElementsOnFace")=false,        arg("useElementsOnFace")=false,
116        arg("useFullElementOrder")=false,        arg("useFullElementOrder")=false,
117        arg("optimize")=false)        arg("optimize")=false)
         
 //       ,return_value_policy<manage_new_object>());  
118  ,"Creates a rectangular mesh with n0 x n1 x n2 elements over the brick [0,l0] x [0,l1] x [0,l2]."  ,"Creates a rectangular mesh with n0 x n1 x n2 elements over the brick [0,l0] x [0,l1] x [0,l2]."
119  "\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"
120  ":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 139  BOOST_PYTHON_MODULE(dudleycpp) Line 137  BOOST_PYTHON_MODULE(dudleycpp)
137        arg("useElementsOnFace")=false,        arg("useElementsOnFace")=false,
138        arg("useFullElementOrder")=false,        arg("useFullElementOrder")=false,
139        arg("optimize")=false)        arg("optimize")=false)
 //       ,return_value_policy<manage_new_object>());  
140  ,"Creates a rectangular mesh with n0 x n1 elements over the brick [0,l0] x [0,l1]."  ,"Creates a rectangular mesh with n0 x n1 elements over the brick [0,l0] x [0,l1]."
141  "\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"
142  ":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 195  BOOST_PYTHON_MODULE(dudleycpp) Line 192  BOOST_PYTHON_MODULE(dudleycpp)
192  ":return: the number of data points summed across all MPI processes\n"  ":return: the number of data points summed across all MPI processes\n"
193  ":rtype: ``int``")  ":rtype: ``int``")
194        .def("addPDEToSystem",&dudley::MeshAdapter::addPDEToSystem,        .def("addPDEToSystem",&dudley::MeshAdapter::addPDEToSystem,
195  args("mat", "rhs","A", "B", "C", "D", "X", "Y", "d", "y", "d_contact", "y_contact"),  args("mat", "rhs","A", "B", "C", "D", "X", "Y", "d", "y"),
196  "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"
197  ":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"
198  ":param A:\n:type A: `Data`\n"  ":param A:\n:type A: `Data`\n"
# Line 205  args("mat", "rhs","A", "B", "C", "D", "X Line 202  args("mat", "rhs","A", "B", "C", "D", "X
202  ":param X:\n:type X: `Data`\n"  ":param X:\n:type X: `Data`\n"
203  ":param Y:\n:type Y: `Data`\n"  ":param Y:\n:type Y: `Data`\n"
204  ":param d:\n:type d: `Data`\n"  ":param d:\n:type d: `Data`\n"
 ":param d_contact:\n:type d_contact: `Data`\n"  
 ":param y_contact:\n:type y_contact: `Data`\n"  
205  )  )
206        .def("addPDEToLumpedSystem",&dudley::MeshAdapter::addPDEToLumpedSystem,        .def("addPDEToLumpedSystem",&dudley::MeshAdapter::addPDEToLumpedSystem,
207  args("mat", "D", "d"),  args("mat", "D", "d"),
# Line 221  args("rhs", "X", "Y", "y", "y_contact"), Line 216  args("rhs", "X", "Y", "y", "y_contact"),
216  ":param X:\n:type X: `Data`\n"  ":param X:\n:type X: `Data`\n"
217  ":param Y:\n:type Y: `Data`\n"  ":param Y:\n:type Y: `Data`\n"
218  ":param y:\n:type y: `Data`\n"  ":param y:\n:type y: `Data`\n"
 ":param y_contact:\n:type y_contact: `Data`"  
219  )  )
220        .def("addPDEToTransportProblem",&dudley::MeshAdapter::addPDEToTransportProblem,        .def("addPDEToTransportProblem",&dudley::MeshAdapter::addPDEToTransportProblem,
221  args( "tp", "source", "M", "A", "B", "C", "D", "X", "Y", "d", "y", "d_contact", "y_contact"),  args( "tp", "source", "M", "A", "B", "C", "D", "X", "Y", "d", "y", "d_contact", "y_contact"),

Legend:
Removed from v.3086  
changed lines
  Added in v.3115

  ViewVC Help
Powered by ViewVC 1.1.26