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

Diff of /trunk/dudley/src/CPPAdapter/dudleycpp.cpp

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

revision 2721 by jfenwick, Fri Aug 21 06:30:25 2009 UTC revision 2722 by gross, Fri Oct 16 06:45:01 2009 UTC
# Line 107  BOOST_PYTHON_MODULE(finleycpp) Line 107  BOOST_PYTHON_MODULE(finleycpp)
107  ":param optimize: Enable optimisation of node labels\n:type optimize: ``bool``");  ":param optimize: Enable optimisation of node labels\n:type optimize: ``bool``");
108    
109    def("ReadGmsh",finley::readGmsh,    def("ReadGmsh",finley::readGmsh,
110        (arg("fileName")="file.msh",arg("numDim"), arg("integrationOrder")=-1, arg("reducedIntegrationOrder")=-1, arg("optimize")=true)        (arg("fileName")="file.msh",
111           arg("numDim"),
112           arg("integrationOrder")=-1,
113           arg("reducedIntegrationOrder")=-1,
114           arg("optimize")=true,  
115           arg("useMacroElements")=false)
116  //       ,return_value_policy<manage_new_object>());  //       ,return_value_policy<manage_new_object>());
117  ,"Read a gmsh mesh file\n\n"  ,"Read a gmsh mesh file\n\n"
118  ":rtype: `Domain`\n:param fileName:\n:type fileName: ``string``\n"  ":rtype: `Domain`\n:param fileName:\n:type fileName: ``string``\n"
119  ":param integrationOrder: order of the quadrature scheme. If *integrationOrder<0* the integration order is selected independently.\n"  ":param integrationOrder: order of the quadrature scheme. If *integrationOrder<0* the integration order is selected independently.\n"
120  ":type integrationOrder: ``int``\n"  ":type integrationOrder: ``int``\n"
121  ":param reducedIntegrationOrder: order of the quadrature scheme. If *reducedIntegrationOrder<0* the integration order is selected independently.\n"  ":param reducedIntegrationOrder: order of the quadrature scheme. If *reducedIntegrationOrder<0* the integration order is selected independently.\n"
122  ":param optimize: Enable optimisation of node labels\n:type optimize: ``bool``");  ":param optimize: Enable optimisation of node labels\n:type optimize: ``bool``\n"
123    ":param useMacroElements: Enable the usage of macro elements instead of second order elements.\n:type useMacroElements: ``bool``"
124    );
125    
126    def ("Brick",finley::brick,    def ("Brick",finley::brick,
127        (arg("n0")=1,arg("n1")=1,arg("n2")=1,        (arg("n0")=1,arg("n1")=1,arg("n2")=1,
# Line 125  BOOST_PYTHON_MODULE(finleycpp) Line 132  BOOST_PYTHON_MODULE(finleycpp)
132        arg("useElementsOnFace")=false,        arg("useElementsOnFace")=false,
133        arg("useFullElementOrder")=false,        arg("useFullElementOrder")=false,
134        arg("optimize")=false)        arg("optimize")=false)
135          
136  //       ,return_value_policy<manage_new_object>());  //       ,return_value_policy<manage_new_object>());
137  ,"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]."
138  "\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"
139  ":param order: =1 or =2 gives the order of shape function\n"  ":param order: =1, =-1 or =2 gives the order of shape function. If -1 macro elements of order 1 are used.\n"
140  ":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"
141  ":param integrationOrder: order of the quadrature scheme. If integrationOrder<0 the integration order is selected independently.\n"  ":param integrationOrder: order of the quadrature scheme. If integrationOrder<0 the integration order is selected independently.\n"
142  ":param reducedIntegrationOrder: order of the quadrature scheme. If reducedIntegrationOrder<0 the integration order is selected independently.\n"  ":param reducedIntegrationOrder: order of the quadrature scheme. If reducedIntegrationOrder<0 the integration order is selected independently.\n"
# Line 137  BOOST_PYTHON_MODULE(finleycpp) Line 145  BOOST_PYTHON_MODULE(finleycpp)
145  ":param periodic0:  whether or not boundary conditions are periodic\n"  ":param periodic0:  whether or not boundary conditions are periodic\n"
146  ":param periodic1:\n:param periodic2:\n"  ":param periodic1:\n:param periodic2:\n"
147  ":param useFullElementOrder:\n:param optimize:\n"  ":param useFullElementOrder:\n:param optimize:\n"
148    ":param optimize: Enable optimisation of node labels\n:type optimize: ``bool``"
149  );  );
150    
151    def ("Rectangle",finley::rectangle,    def ("Rectangle",finley::rectangle,
# Line 150  BOOST_PYTHON_MODULE(finleycpp) Line 159  BOOST_PYTHON_MODULE(finleycpp)
159  //       ,return_value_policy<manage_new_object>());  //       ,return_value_policy<manage_new_object>());
160  ,"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]."
161  "\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"
162  ":param order: =1 or =2 gives the order of shape function\n"  ":param order: =1, =-1 or =2 gives the order of shape function. If -1 macro elements of order 1 are used.\n"
163  ":param l0: length of side 0\n:param l1:\n"  ":param l0: length of side 0\n:param l1:\n"
164  ":param integrationOrder: order of the quadrature scheme. If integrationOrder<0 the integration order is selected independently.\n"  ":param integrationOrder: order of the quadrature scheme. If integrationOrder<0 the integration order is selected independently.\n"
165  ":param reducedIntegrationOrder: order of the quadrature scheme. If reducedIntegrationOrder<0 the integration order is selected independently.\n"  ":param reducedIntegrationOrder: order of the quadrature scheme. If reducedIntegrationOrder<0 the integration order is selected independently.\n"
# Line 158  BOOST_PYTHON_MODULE(finleycpp) Line 167  BOOST_PYTHON_MODULE(finleycpp)
167  ":type useElementsOnFace: ``int``"  ":type useElementsOnFace: ``int``"
168  ":param periodic0:  whether or not boundary conditions are periodic\n"  ":param periodic0:  whether or not boundary conditions are periodic\n"
169  ":param periodic1:\n"  ":param periodic1:\n"
170  ":param useFullElementOrder:\n:param optimize:\n");  ":param useFullElementOrder:\n:param optimize:\n"
171    ":param useMacroElements: Enable the usage of first order macro elements.\n:type useMacroElements: ``bool``\n"
172    ":param optimize: Enable optimisation of node labels\n:type optimize: ``bool``"
173    );
174    
175    def("Merge",finley::meshMerge,args("meshList")    def("Merge",finley::meshMerge,args("meshList")
176  //       ,return_value_policy<manage_new_object>());  //       ,return_value_policy<manage_new_object>());

Legend:
Removed from v.2721  
changed lines
  Added in v.2722

  ViewVC Help
Powered by ViewVC 1.1.26