/[escript]/trunk/finley/src/CPPAdapter/finleycpp.cpp
ViewVC logotype

Diff of /trunk/finley/src/CPPAdapter/finleycpp.cpp

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

revision 1339 by ksteube, Wed Nov 7 01:53:12 2007 UTC revision 1360 by ksteube, Thu Dec 13 05:05:00 2007 UTC
# Line 88  BOOST_PYTHON_MODULE(finleycpp) Line 88  BOOST_PYTHON_MODULE(finleycpp)
88    // NOTE: The return_value_policy is necessary for functions that    // NOTE: The return_value_policy is necessary for functions that
89    // return pointers.    // return pointers.
90    
91    def("load",finley::loadMesh,    def("LoadMesh",finley::loadMesh,
92        (arg("fileName")="file.nc"),        (arg("fileName")="file.nc"),
93        return_value_policy<manage_new_object>());        return_value_policy<manage_new_object>());
94    def("ReadMesh",finley::readMesh,    def("ReadMesh",finley::readMesh,
95        (arg("fileName")="file.fly",arg("integrationOrder")=-1,  arg("reducedIntegrationOrder")=-1,  arg("optimize")=true),        (arg("fileName")="file.fly",arg("integrationOrder")=-1,  arg("reducedIntegrationOrder")=-1,  arg("optimize")=true),
96        return_value_policy<manage_new_object>());        return_value_policy<manage_new_object>());
97      def("ReadMeshMPI",finley::readMeshMPI,
98          (arg("fileName")="file.fly",arg("integrationOrder")=-1,  arg("reducedIntegrationOrder")=-1,  arg("optimize")=true),
99          return_value_policy<manage_new_object>());
100    
101    def("ReadGmsh",finley::readGmsh,    def("ReadGmsh",finley::readGmsh,
102        (arg("fileName")="file.msh",arg("numDim"), arg("integrationOrder")=-1, arg("reducedIntegrationOrder")=-1, arg("optimize")=true),        (arg("fileName")="file.msh",arg("numDim"), arg("integrationOrder")=-1, arg("reducedIntegrationOrder")=-1, arg("optimize")=true),
# Line 142  BOOST_PYTHON_MODULE(finleycpp) Line 145  BOOST_PYTHON_MODULE(finleycpp)
145        .def(init<const finley::MeshAdapter&>())        .def(init<const finley::MeshAdapter&>())
146        .def("write",&finley::MeshAdapter::write)        .def("write",&finley::MeshAdapter::write)
147        .def("print_mesh_info",&finley::MeshAdapter::Print_Mesh_Info,(arg("full")=false))        .def("print_mesh_info",&finley::MeshAdapter::Print_Mesh_Info,(arg("full")=false))
148        .def("dump",&finley::MeshAdapter::write)        .def("dump",&finley::MeshAdapter::dump)
149        .def("getDescription",&finley::MeshAdapter::getDescription)        .def("getDescription",&finley::MeshAdapter::getDescription)
150        .def("getDim",&finley::MeshAdapter::getDim)        .def("getDim",&finley::MeshAdapter::getDim)
151        .def("getDataShape",&finley::MeshAdapter::getDataShape)        .def("getDataShape",&finley::MeshAdapter::getDataShape)

Legend:
Removed from v.1339  
changed lines
  Added in v.1360

  ViewVC Help
Powered by ViewVC 1.1.26