/[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 1921 by phornby, Thu Oct 23 11:32:24 2008 UTC revision 1946 by jfenwick, Wed Oct 29 05:48:53 2008 UTC
# Line 756  const Line 756  const
756  boost::python::numeric::array  boost::python::numeric::array
757  Data:: getValueOfDataPoint(int dataPointNo)  Data:: getValueOfDataPoint(int dataPointNo)
758  {  {
   size_t length=0;  
759    int i, j, k, l;    int i, j, k, l;
760    //    //
761    // determine the rank and shape of each data point    // determine the rank and shape of each data point
# Line 1581  Data::calc_minGlobalDataPoint(int& ProcN Line 1580  Data::calc_minGlobalDataPoint(int& ProcN
1580    int numDPPSample=temp.getNumDataPointsPerSample();    int numDPPSample=temp.getNumDataPointsPerSample();
1581    
1582    double next,local_min;    double next,local_min;
1583    int local_lowi,local_lowj;    int local_lowi=0,local_lowj=0;    
1584    
1585    #pragma omp parallel private(next,local_min,local_lowi,local_lowj)    #pragma omp parallel private(next,local_min,local_lowi,local_lowj)
1586    {    {
# Line 1900  escript::operator/(const boost::python:: Line 1899  escript::operator/(const boost::python::
1899  Data  Data
1900  Data::getItem(const boost::python::object& key) const  Data::getItem(const boost::python::object& key) const
1901  {  {
 //  const DataArrayView& view=getPointDataView();  
1902    
1903    DataTypes::RegionType slice_region=DataTypes::getSliceRegion(getDataPointShape(),key);    DataTypes::RegionType slice_region=DataTypes::getSliceRegion(getDataPointShape(),key);
1904    

Legend:
Removed from v.1921  
changed lines
  Added in v.1946

  ViewVC Help
Powered by ViewVC 1.1.26