/[escript]/trunk/dataexporter/src/escriptexportcpp.cpp
ViewVC logotype

Contents of /trunk/dataexporter/src/escriptexportcpp.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2881 - (show annotations)
Thu Jan 28 02:03:15 2010 UTC (9 years, 9 months ago) by jfenwick
File size: 1576 byte(s)
Don't panic.
Updating copyright stamps

1
2 /*******************************************************
3 *
4 * Copyright (c) 2003-2010 by University of Queensland
5 * Earth Systems Science Computational Center (ESSCC)
6 * http://www.uq.edu.au/esscc
7 *
8 * Primary Business: Queensland, Australia
9 * Licensed under the Open Software License version 3.0
10 * http://www.opensource.org/licenses/osl-3.0.php
11 *
12 *******************************************************/
13
14
15 #include <escriptexport/FileSavers.h>
16
17 #include <boost/python.hpp>
18 #include <boost/python/module.hpp>
19 #include <boost/python/def.hpp>
20 #include <boost/python/object.hpp>
21 #include <boost/version.hpp>
22
23 using namespace boost::python;
24
25 /*! \mainpage Esys Documentation
26 *
27 * \version 3.0.0
28 *
29 * - \ref escript
30 *
31 * - \ref esys_exception "Esys Exception"
32 *
33 * - \ref finley
34 *
35 * - <a href="../../epydoc/index.html">Python module documentation (epydoc generated)</a>
36 *
37 */
38
39 /*! \page escriptexport EscriptExport
40 * EscriptExport is the python module that contains the interfaces
41 * to the C++ side of the escript data exporter.
42 *
43 *
44 *
45 * \section class_desc Class Description:
46 * None
47 *
48 * \section class_limits Class Limitations:
49 * None
50 *
51 * \section class_conds Class Conditions of Use:
52 * None
53 *
54 * \section class_throws Throws:
55 * None
56 *
57 */
58
59 BOOST_PYTHON_MODULE(escriptexportcpp)
60 {
61 #if BOOST_VERSION >= 103500
62 // params are: bool show_user_defined, bool show_py_signatures, bool show_cpp_signatures
63 docstring_options docopt(true,true,false);
64 #endif
65
66 def("_saveSilo", escriptexport::saveSilo, (args("filename", "cycle", "time", "domain", "datavars")));
67
68 }
69

  ViewVC Help
Powered by ViewVC 1.1.26