/[escript]/trunk/escript/src/escriptcpp.cpp
ViewVC logotype

Diff of /trunk/escript/src/escriptcpp.cpp

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

revision 121 by jgs, Fri May 6 04:26:16 2005 UTC revision 122 by jgs, Thu Jun 9 05:38:05 2005 UTC
# Line 16  Line 16 
16  ******************************************************************************/  ******************************************************************************/
17    
18  #include "escript/Data/Data.h"  #include "escript/Data/Data.h"
19    #include "escript/Data/DataVariable.h"
20  #include "escript/Data/FunctionSpace.h"  #include "escript/Data/FunctionSpace.h"
21  #include "escript/Data/FunctionSpaceFactory.h"  #include "escript/Data/FunctionSpaceFactory.h"
22  #include "escript/Data/DataFactory.h"  #include "escript/Data/DataFactory.h"
# Line 41  using namespace boost::python; Line 42  using namespace boost::python;
42   *   *
43   * - \ref finley   * - \ref finley
44   *   *
45     * - <a href=http://www.esscc.uq.edu.au/~cochrane/esys_python_doc/html/index.html>Python module documentation (doxygen generated)</a>
46     *
47     * - <a href=http://www.esscc.uq.edu.au/~cochrane/esys_python_doc/index.html>Python module documentation (epydoc generated)</a>
48     *
49   */   */
50    
51  /*! \page escript Escript  /*! \page escript Escript
# Line 95  BOOST_PYTHON_MODULE(escriptcpp) Line 100  BOOST_PYTHON_MODULE(escriptcpp)
100       .def(self != self);       .def(self != self);
101    
102    //    //
103      // Interface for DataVariable
104      //
105      class_<escript::DataVariable>("DataVariable",init<>())
106        .def(init<escript::Data*>())
107        .def("evaluate",&escript::DataVariable::evaluate)
108        .def("sum",&escript::DataVariable::sum)
109        .def("diff",&escript::DataVariable::diff);
110    
111      //
112    // Interface for Data    // Interface for Data
113    //    //
114    class_<escript::Data>("Data",init<>())    class_<escript::Data>("Data",init<>())

Legend:
Removed from v.121  
changed lines
  Added in v.122

  ViewVC Help
Powered by ViewVC 1.1.26