/[escript]/trunk/escript/src/Data.cpp
ViewVC logotype

Diff of /trunk/escript/src/Data.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 949 by trankine, Wed Jan 10 03:39:27 2007 UTC revision 950 by gross, Tue Feb 6 07:01:11 2007 UTC
# Line 2095  Data::getTagNumber(int dpno) Line 2095  Data::getTagNumber(int dpno)
2095  /* TODO */  /* TODO */
2096  /* global reduction */  /* global reduction */
2097  void  void
2098  Data::setRefValue(int ref,  Data::setValueByReferenceNumber(int ref,
2099                    const boost::python::numeric::array& value)                    const boost::python::numeric::array& value)
2100  {  {
2101    if (isProtected()) {    if (isProtected()) {
# Line 2106  Data::setRefValue(int ref, Line 2106  Data::setRefValue(int ref,
2106    DataArray valueDataArray(value);    DataArray valueDataArray(value);
2107    
2108    //    //
2109    // Call DataAbstract::setRefValue    // Call DataAbstract::setValueByReferenceNumber
2110    m_data->setRefValue(ref,valueDataArray);    m_data->setValueByReferenceNumber(ref,valueDataArray);
2111  }  }
2112    
2113  /* TODO */  /* TODO */
2114  /* global reduction */  /* global reduction */
2115  void  void
2116  Data::getRefValue(int ref,  Data::getValueByReferenceNumber(int ref,
2117                    boost::python::numeric::array& value)                    boost::python::numeric::array& value)
2118  {  {
2119    //    //
# Line 2122  Data::getRefValue(int ref, Line 2122  Data::getRefValue(int ref,
2122    
2123    //    //
2124    // Load DataArray with values from data-points specified by ref    // Load DataArray with values from data-points specified by ref
2125    m_data->getRefValue(ref,valueDataArray);    m_data->getValueByReferenceNumber(ref,valueDataArray);
2126    
2127    //    //
2128    // Load values from valueDataArray into return numarray    // Load values from valueDataArray into return numarray

Legend:
Removed from v.949  
changed lines
  Added in v.950

  ViewVC Help
Powered by ViewVC 1.1.26