/[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 4113 by jfenwick, Tue Nov 20 07:04:11 2012 UTC revision 4114 by caltinay, Fri Dec 14 04:24:46 2012 UTC
# Line 136  BOOST_PYTHON_MODULE(escriptcpp) Line 136  BOOST_PYTHON_MODULE(escriptcpp)
136       .def("getDim",&escript::AbstractDomain::getDim,":rtype: `int`\n:return: Spatial dimension of the `Domain`")       .def("getDim",&escript::AbstractDomain::getDim,":rtype: `int`\n:return: Spatial dimension of the `Domain`")
137       .def("getNormal",&escript::AbstractDomain::getNormal,":rtype: `escript`\n:return: Boundary normals")       .def("getNormal",&escript::AbstractDomain::getNormal,":rtype: `escript`\n:return: Boundary normals")
138       .def("getSize",&escript::AbstractDomain::getSize,":return: the local size of samples. The function space is chosen appropriately\n:rtype: `Data`")       .def("getSize",&escript::AbstractDomain::getSize,":return: the local size of samples. The function space is chosen appropriately\n:rtype: `Data`")
      .def("saveVTK",&escript::AbstractDomain::saveVTK,args("filename","arg", "metadata"  
 , "metadata_schema"),  
 ":param filename: \n:type filename: ``string``\n:param arg: items to be added"  
 "\n:type arg: ``dict``\n:param metadata: string representing some meta data to be added\n:type metadata: ``string``"  
 "\n:param metadata_schema: schema type for metadata\n:type metadata_schema: ``string``")  
139       .def("dump",&escript::AbstractDomain::dump,args("filename"),"Dumps the domain to a file"       .def("dump",&escript::AbstractDomain::dump,args("filename"),"Dumps the domain to a file"
140  ":param filename:\n:type filename: string")  ":param filename:\n:type filename: string")
      .def("saveDX",&escript::AbstractDomain::saveDX,args("filename","arg"),"Saves a dictonary of Data objects to an OpenDX input file.\n\n:param filename:\n:type filename: ``string``"  
 "\n:param arg:\n:type arg: `dict`")  
141       .def("getMPISize",&escript::AbstractDomain::getMPISize,":return: the number of processes used for this `Domain`\n:rtype: ``int``")       .def("getMPISize",&escript::AbstractDomain::getMPISize,":return: the number of processes used for this `Domain`\n:rtype: ``int``")
142       .def("getMPIRank",&escript::AbstractDomain::getMPIRank,":return: the rank of this process\n:rtype: ``int``")       .def("getMPIRank",&escript::AbstractDomain::getMPIRank,":return: the rank of this process\n:rtype: ``int``")
143       .def("MPIBarrier",&escript::AbstractDomain::MPIBarrier,"Wait until all processes have reached this point")       .def("MPIBarrier",&escript::AbstractDomain::MPIBarrier,"Wait until all processes have reached this point")
# Line 384  args("arg"), "assigns new location to th Line 377  args("arg"), "assigns new location to th
377      )          )    
378      .def("minGlobalDataPoint",&escript::Data::minGlobalDataPoint,"Please consider using getInfLocator() from pdetools instead.")      .def("minGlobalDataPoint",&escript::Data::minGlobalDataPoint,"Please consider using getInfLocator() from pdetools instead.")
379      .def("maxGlobalDataPoint",&escript::Data::maxGlobalDataPoint, "Please consider using getSupLocator() from pdetools instead.")      .def("maxGlobalDataPoint",&escript::Data::maxGlobalDataPoint, "Please consider using getSupLocator() from pdetools instead.")
     .def("saveDX",&escript::Data::saveDX,args("fileName"),"Save the object in DX format.\n\n"  
 ":param fileName: filename\n:type fileName: string")  
     .def("saveVTK",&escript::Data::saveVTK, args("fileName"),"Save the object in VTK format.\n\n"  
 ":param fileName: \n:type fileName: string")  
380      .def("getTagNumber",&escript::Data::getTagNumber,args("dpno"),"Return tag number for the specified datapoint\n\n:rtype: int\n:param dpno: datapoint number\n:type dpno: int")      .def("getTagNumber",&escript::Data::getTagNumber,args("dpno"),"Return tag number for the specified datapoint\n\n:rtype: int\n:param dpno: datapoint number\n:type dpno: int")
381      // Unary functions for Data      // Unary functions for Data
382      .def("_interpolate",&escript::Data::interpolate)      .def("_interpolate",&escript::Data::interpolate)

Legend:
Removed from v.4113  
changed lines
  Added in v.4114

  ViewVC Help
Powered by ViewVC 1.1.26