/[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 104 by jgs, Fri Dec 17 07:43:12 2004 UTC revision 117 by jgs, Fri Apr 1 05:48:57 2005 UTC
# Line 105  BOOST_PYTHON_MODULE(escriptcpp) Line 105  BOOST_PYTHON_MODULE(escriptcpp)
105      .def("getRank",&escript::Data::getDataPointRank)      .def("getRank",&escript::Data::getDataPointRank)
106      .def("copyWithMask",&escript::Data::copyWithMask)      .def("copyWithMask",&escript::Data::copyWithMask)
107      .def("setTaggedValue",&escript::Data::setTaggedValue)      .def("setTaggedValue",&escript::Data::setTaggedValue)
108        .def("setRefValue",&escript::Data::setRefValue)
109        .def("getRefValue",&escript::Data::getRefValue)
110      //.def("expand",&escript::Data::expand)      //.def("expand",&escript::Data::expand)
111      //.def("tag",&escript::Data::tag)      //.def("tag",&escript::Data::tag)
112      .def("saveDX",&escript::Data::saveDX)      .def("saveDX",&escript::Data::saveDX)
113        .def("saveVTK",&escript::Data::saveVTK)
114      .def("wherePositive",&escript::Data::wherePositive)      .def("wherePositive",&escript::Data::wherePositive)
115      .def("whereNegative",&escript::Data::whereNegative)      .def("whereNegative",&escript::Data::whereNegative)
116      .def("whereNonNegative",&escript::Data::whereNonNegative)      .def("whereNonNegative",&escript::Data::whereNonNegative)
# Line 118  BOOST_PYTHON_MODULE(escriptcpp) Line 121  BOOST_PYTHON_MODULE(escriptcpp)
121      .def("interpolate",&escript::Data::interpolate)      .def("interpolate",&escript::Data::interpolate)
122      .def("grad",&escript::Data::gradOn)      .def("grad",&escript::Data::gradOn)
123      .def("grad",&escript::Data::grad)      .def("grad",&escript::Data::grad)
124        .def("convertToNumArray",&escript::Data::convertToNumArray)
125      .def("integrate",&escript::Data::integrate)      .def("integrate",&escript::Data::integrate)
126      .def("transpose",&escript::Data::transpose)      .def("transpose",&escript::Data::transpose)
127      .def("trace",&escript::Data::trace)      .def("trace",&escript::Data::trace)
# Line 127  BOOST_PYTHON_MODULE(escriptcpp) Line 131  BOOST_PYTHON_MODULE(escriptcpp)
131      .def("log",&escript::Data::log)      .def("log",&escript::Data::log)
132      .def("ln",&escript::Data::ln)      .def("ln",&escript::Data::ln)
133      .def("Lsup",&escript::Data::Lsup)      .def("Lsup",&escript::Data::Lsup)
134        .def("Linf",&escript::Data::Lsup)
135      .def("sup",&escript::Data::sup)      .def("sup",&escript::Data::sup)
136      .def("inf",&escript::Data::inf)      .def("inf",&escript::Data::inf)
137      .def("abs",&escript::Data::abs)      .def("__abs__",&escript::Data::abs)
138      .def("exp",&escript::Data::exp)      .def("exp",&escript::Data::exp)
139      .def("sqrt",&escript::Data::sqrt)      .def("sqrt",&escript::Data::sqrt)
140      .def("maxval",&escript::Data::maxval)      .def("maxval",&escript::Data::maxval)
# Line 219  BOOST_PYTHON_MODULE(escriptcpp) Line 224  BOOST_PYTHON_MODULE(escriptcpp)
224       .def("of",&escript::AbstractSystemMatrix::vectorMultiply)       .def("of",&escript::AbstractSystemMatrix::vectorMultiply)
225       .def("saveMM",&escript::AbstractSystemMatrix::saveMM)       .def("saveMM",&escript::AbstractSystemMatrix::saveMM)
226       .def("setValue",&escript::AbstractSystemMatrix::setValue)       .def("setValue",&escript::AbstractSystemMatrix::setValue)
227         .def("resetSolver",&escript::AbstractSystemMatrix::resetSolver)
228       .def(self*other<escript::Data>());       .def(self*other<escript::Data>());
229    
230    //    //

Legend:
Removed from v.104  
changed lines
  Added in v.117

  ViewVC Help
Powered by ViewVC 1.1.26