/[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 2840 by jfenwick, Wed Jan 13 06:01:03 2010 UTC revision 2841 by jfenwick, Thu Jan 14 01:02:56 2010 UTC
# Line 195  args("solver", "preconditioner", "packag Line 195  args("solver", "preconditioner", "packag
195    fs_definer.def("getSize",&escript::FunctionSpace::getSize,":return: sample size\n:rtype: `Data`");    fs_definer.def("getSize",&escript::FunctionSpace::getSize,":return: sample size\n:rtype: `Data`");
196    fs_definer.def("setTags",&escript::FunctionSpace::setTags,args("newtag","mask"),    fs_definer.def("setTags",&escript::FunctionSpace::setTags,args("newtag","mask"),
197  "Set tags according to a mask\n\n:param newtag: tag number to set\n:type newtag: non-zero ``int``\n:param mask: Samples which correspond to positive values in the mask will be set to ``newtag``.\n:type mask: scalar `Data`");  "Set tags according to a mask\n\n:param newtag: tag number to set\n:type newtag: non-zero ``int``\n:param mask: Samples which correspond to positive values in the mask will be set to ``newtag``.\n:type mask: scalar `Data`");
198      fs_definer.def("setTags",&escript::FunctionSpace::setTagsByString,args("newtag","mask"),
199    "Set tags according to a mask\n\n:param newtag: tag name to set\n:type newtag: string\n:param mask: Samples which correspond to positive values in the mask will be set to ``newtag``.\n:type mask: scalar `Data`");
200    fs_definer.def("getTagFromDataPointNo",    fs_definer.def("getTagFromDataPointNo",
201                   &escript::FunctionSpace::getTagFromDataPointNo,":return: the tag associated with the given sample number.\n:rtype: int");                   &escript::FunctionSpace::getTagFromDataPointNo,":return: the tag associated with the given sample number.\n:rtype: int");
202    fs_definer.def("getReferenceIDFromDataPointNo", &escript::FunctionSpace::getReferenceIDFromDataPointNo,args("dataPointNo"),":return: the reference number associated with ``dataPointNo``\n:rtype: int ");    fs_definer.def("getReferenceIDFromDataPointNo", &escript::FunctionSpace::getReferenceIDFromDataPointNo,args("dataPointNo"),":return: the reference number associated with ``dataPointNo``\n:rtype: int ");

Legend:
Removed from v.2840  
changed lines
  Added in v.2841

  ViewVC Help
Powered by ViewVC 1.1.26