/[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 1034 by gross, Wed Mar 14 23:49:20 2007 UTC revision 1044 by gross, Mon Mar 19 07:29:31 2007 UTC
# Line 1932  Data::typeMatchRight(const Data& right) Line 1932  Data::typeMatchRight(const Data& right)
1932    }    }
1933  }  }
1934    
1935  /* TODO */  void
1936  /* global reduction */  Data::setTaggedValueByName(std::string name,
1937                               const boost::python::object& value)
1938    {
1939         if (getFunctionSpace().getDomain().isValidTagName(name)) {
1940            int tagKey=getFunctionSpace().getDomain().getTag(name);
1941            setTaggedValue(tagKey,value);
1942         }
1943    }
1944  void  void
1945  Data::setTaggedValue(int tagKey,  Data::setTaggedValue(int tagKey,
1946                       const boost::python::object& value)                       const boost::python::object& value)
# Line 1958  Data::setTaggedValue(int tagKey, Line 1965  Data::setTaggedValue(int tagKey,
1965    m_data->setTaggedValue(tagKey,valueDataArray.getView());    m_data->setTaggedValue(tagKey,valueDataArray.getView());
1966  }  }
1967    
 /* TODO */  
 /* global reduction */  
1968  void  void
1969  Data::setTaggedValueFromCPP(int tagKey,  Data::setTaggedValueFromCPP(int tagKey,
1970                              const DataArrayView& value)                              const DataArrayView& value)
# Line 1980  Data::setTaggedValueFromCPP(int tagKey, Line 1985  Data::setTaggedValueFromCPP(int tagKey,
1985    m_data->setTaggedValue(tagKey,value);    m_data->setTaggedValue(tagKey,value);
1986  }  }
1987    
 /* TODO */  
 /* global reduction */  
1988  int  int
1989  Data::getTagNumber(int dpno)  Data::getTagNumber(int dpno)
1990  {  {

Legend:
Removed from v.1034  
changed lines
  Added in v.1044

  ViewVC Help
Powered by ViewVC 1.1.26