/[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 3506 by jfenwick, Wed May 11 01:59:45 2011 UTC revision 3515 by gross, Thu May 19 08:20:57 2011 UTC
# Line 433  args("arg"), "assigns new location to th Line 433  args("arg"), "assigns new location to th
433      .def("__pow__",&escript::Data::powD)      .def("__pow__",&escript::Data::powD)
434      .def("__rpow__",&escript::Data::rpowO,"\nUsed by the python ** operator\n\n:rtype: `Data`")      .def("__rpow__",&escript::Data::rpowO,"\nUsed by the python ** operator\n\n:rtype: `Data`")
435      // following two functions implement the newer python / operator      // following two functions implement the newer python / operator
     .def("__truediv__",&escript::Data::truedivD)  
436      .def("__truediv__",&escript::Data::truedivO)      .def("__truediv__",&escript::Data::truedivO)
437        .def("__truediv__",&escript::Data::truedivD)
438        .def("__rtruediv__",&escript::Data::rtruedivO)
439      // NOTE:: The order of these declarations is important. Anything      // NOTE:: The order of these declarations is important. Anything
440      // declared before the generic declaration isn't found so the generic      // declared before the generic declaration isn't found so the generic
441      // version will be called.      // version will be called.
# Line 502  args("arg"), "assigns new location to th Line 503  args("arg"), "assigns new location to th
503  ":rtype: `FunctionSpace`");  ":rtype: `FunctionSpace`");
504    def("Solution",escript::solution, args("domain"), ":rtype: `FunctionSpace`");    def("Solution",escript::solution, args("domain"), ":rtype: `FunctionSpace`");
505    def("ReducedSolution",escript::reducedSolution, args("domain"), ":rtype: `FunctionSpace`");    def("ReducedSolution",escript::reducedSolution, args("domain"), ":rtype: `FunctionSpace`");
506    def("DiracDeltaFunction",escript::diracDeltaFunction, args("domain"), ":rtype: `FunctionSpace`");    def("DiracDeltaFunctions",escript::diracDeltaFunctions, args("domain"), ":rtype: `FunctionSpace`");
507    
508    
509    

Legend:
Removed from v.3506  
changed lines
  Added in v.3515

  ViewVC Help
Powered by ViewVC 1.1.26