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

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

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

revision 3681 by jfenwick, Thu Nov 17 06:49:33 2011 UTC revision 3682 by jfenwick, Mon Nov 21 01:56:45 2011 UTC
# Line 153  BOOST_PYTHON_MODULE(dudleycpp) Line 153  BOOST_PYTHON_MODULE(dudleycpp)
153  );  );
154    
155    class_<dudley::MeshAdapter, bases<escript::AbstractContinuousDomain> >    class_<dudley::MeshAdapter, bases<escript::AbstractContinuousDomain> >
156        ("MeshAdapter","A concrete class representing a domain. For more details, please consult the c++ documentation.",init<optional <Dudley_Mesh*> >())        ("MeshAdapter","A concrete class representing a domain. For more details, please consult the c++ documentation.",no_init)
157        .def(init<const dudley::MeshAdapter&>())  //       .def(init<const dudley::MeshAdapter&>())
158        .def("write",&dudley::MeshAdapter::write,args("filename"),        .def("write",&dudley::MeshAdapter::write,args("filename"),
159  "Write the current mesh to a file with the given name.")  "Write the current mesh to a file with the given name.")
160        .def("print_mesh_info",&dudley::MeshAdapter::Print_Mesh_Info,(arg("full")=false),        .def("print_mesh_info",&dudley::MeshAdapter::Print_Mesh_Info,(arg("full")=false),

Legend:
Removed from v.3681  
changed lines
  Added in v.3682

  ViewVC Help
Powered by ViewVC 1.1.26