/[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 2649 by gross, Mon Sep 7 03:33:55 2009 UTC revision 2653 by jfenwick, Tue Sep 8 04:26:30 2009 UTC
# Line 39  extern "C" { Line 39  extern "C" {
39  #include <boost/python/def.hpp>  #include <boost/python/def.hpp>
40  #include <boost/python/object.hpp>  #include <boost/python/object.hpp>
41  #include <boost/python/tuple.hpp>  #include <boost/python/tuple.hpp>
 #include <boost/python/numeric.hpp>  
42  #include <boost/smart_ptr.hpp>  #include <boost/smart_ptr.hpp>
43  #include <boost/version.hpp>  #include <boost/version.hpp>
44    
# Line 240  args("solver", "preconditioner", "packag Line 239  args("solver", "preconditioner", "packag
239      .def("isConstant",&escript::Data::isConstant,":rtype: ``bool``\n:return: True if this ``Data`` is an instance of ``DataConstant``\n:note: This does not mean the data is immutable.")      .def("isConstant",&escript::Data::isConstant,":rtype: ``bool``\n:return: True if this ``Data`` is an instance of ``DataConstant``\n:note: This does not mean the data is immutable.")
240      .def("isLazy",&escript::Data::isLazy,":rtype: ``bool``\n:return: True if this ``Data`` is lazy.")      .def("isLazy",&escript::Data::isLazy,":rtype: ``bool``\n:return: True if this ``Data`` is lazy.")
241      .def("isReady",&escript::Data::isReady,":rtype: ``bool``\n:return: True if this ``Data`` is not lazy.")      .def("isReady",&escript::Data::isReady,":rtype: ``bool``\n:return: True if this ``Data`` is not lazy.")
     .def("hasNoSamples", &escript::Data::hasNoSamples,":rtype: ``bool``\n:return: True if this ``Data`` (locally)"  
 " contains no samples.")  
242      .def("expand",&escript::Data::expand,"Convert the data to expanded representation if it is not expanded already.")      .def("expand",&escript::Data::expand,"Convert the data to expanded representation if it is not expanded already.")
243      .def("tag",&escript::Data::tag,"Convert data to tagged representation if it is not already tagged or expanded")      .def("tag",&escript::Data::tag,"Convert data to tagged representation if it is not already tagged or expanded")
244      .def("resolve",&escript::Data::resolve,"Convert the data to non-lazy representation.")      .def("resolve",&escript::Data::resolve,"Convert the data to non-lazy representation.")

Legend:
Removed from v.2649  
changed lines
  Added in v.2653

  ViewVC Help
Powered by ViewVC 1.1.26