217 |
// DOASSERT is on which of course will play |
// DOASSERT is on which of course will play |
218 |
// havoc with the omp threads. Run single threaded |
// havoc with the omp threads. Run single threaded |
219 |
// if using DOASSERT. |
// if using DOASSERT. |
220 |
getPointDataView().copy(m_data.index(i,j),value); |
getPointDataView().copy(getPointOffset(i,j),value); |
221 |
} |
} |
222 |
} |
} |
223 |
} |
} |
274 |
DataArrayView tempView(getPointDataView().getData(),getPointDataView().getShape(),getPointDataView().getOffset()); |
DataArrayView tempView(getPointDataView().getData(),getPointDataView().getShape(),getPointDataView().getOffset()); |
275 |
for (int i=0;i<m_data.getNumRows();i++) { |
for (int i=0;i<m_data.getNumRows();i++) { |
276 |
for (int j=0;j<m_data.getNumCols();j++) { |
for (int j=0;j<m_data.getNumCols();j++) { |
277 |
tempView.setOffset(m_data.index(i,j)); |
tempView.setOffset(getPointOffset(i,j)); |
278 |
stringstream suffix; |
stringstream suffix; |
279 |
suffix << "( id: " << i << ", ref: " << fs.getReferenceIDOfSample(i) << ", pnt: " << j << ")"; |
suffix << "( id: " << i << ", ref: " << fs.getReferenceIDOfSample(i) << ", pnt: " << j << ")"; |
280 |
temp << tempView.toString(suffix.str()); |
temp << tempView.toString(suffix.str()); |
297 |
DataExpanded::getDataPoint(int sampleNo, |
DataExpanded::getDataPoint(int sampleNo, |
298 |
int dataPointNo) |
int dataPointNo) |
299 |
{ |
{ |
300 |
DataArrayView temp(m_data.getData(),getPointDataView().getShape(),m_data.index(sampleNo,dataPointNo)); |
DataArrayView temp(m_data.getData(),getPointDataView().getShape(),getPointOffset(sampleNo,dataPointNo)); |
301 |
return temp; |
return temp; |
302 |
} |
} |
303 |
|
|