/[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 102 by jgs, Wed Dec 15 07:08:39 2004 UTC revision 119 by jgs, Tue Apr 12 04:45:05 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("expand",&escript::Data::expand)      .def("setRefValue",&escript::Data::setRefValue)
109      //.def("tag",&escript::Data::tag)      .def("getRefValue",&escript::Data::getRefValue)
110        .def("expand",&escript::Data::expand)
111        .def("tag",&escript::Data::tag)
112        .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 117  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("archiveData",&escript::Data::archiveData)
126        .def("extractData",&escript::Data::extractData)
127      .def("integrate",&escript::Data::integrate)      .def("integrate",&escript::Data::integrate)
128      .def("transpose",&escript::Data::transpose)      .def("transpose",&escript::Data::transpose)
129      .def("trace",&escript::Data::trace)      .def("trace",&escript::Data::trace)
# Line 126  BOOST_PYTHON_MODULE(escriptcpp) Line 133  BOOST_PYTHON_MODULE(escriptcpp)
133      .def("log",&escript::Data::log)      .def("log",&escript::Data::log)
134      .def("ln",&escript::Data::ln)      .def("ln",&escript::Data::ln)
135      .def("Lsup",&escript::Data::Lsup)      .def("Lsup",&escript::Data::Lsup)
136        .def("Linf",&escript::Data::Lsup)
137      .def("sup",&escript::Data::sup)      .def("sup",&escript::Data::sup)
138      .def("inf",&escript::Data::inf)      .def("inf",&escript::Data::inf)
139      .def("abs",&escript::Data::abs)      .def("__abs__",&escript::Data::abs)
140      .def("exp",&escript::Data::exp)      .def("exp",&escript::Data::exp)
141      .def("sqrt",&escript::Data::sqrt)      .def("sqrt",&escript::Data::sqrt)
142      .def("maxval",&escript::Data::maxval)      .def("maxval",&escript::Data::maxval)
# Line 218  BOOST_PYTHON_MODULE(escriptcpp) Line 226  BOOST_PYTHON_MODULE(escriptcpp)
226       .def("of",&escript::AbstractSystemMatrix::vectorMultiply)       .def("of",&escript::AbstractSystemMatrix::vectorMultiply)
227       .def("saveMM",&escript::AbstractSystemMatrix::saveMM)       .def("saveMM",&escript::AbstractSystemMatrix::saveMM)
228       .def("setValue",&escript::AbstractSystemMatrix::setValue)       .def("setValue",&escript::AbstractSystemMatrix::setValue)
229         .def("resetSolver",&escript::AbstractSystemMatrix::resetSolver)
230       .def(self*other<escript::Data>());       .def(self*other<escript::Data>());
231    
232    //    //

Legend:
Removed from v.102  
changed lines
  Added in v.119

  ViewVC Help
Powered by ViewVC 1.1.26