/[escript]/branches/arrayview_from_1695_trunk/escript/src/UnaryOp.h
ViewVC logotype

Diff of /branches/arrayview_from_1695_trunk/escript/src/UnaryOp.h

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

revision 121 by jgs, Fri May 6 04:26:16 2005 UTC revision 122 by jgs, Thu Jun 9 05:38:05 2005 UTC
# Line 48  unaryOp(DataExpanded& data, Line 48  unaryOp(DataExpanded& data,
48    int i,j;    int i,j;
49    DataArrayView::ValueType::size_type numDPPSample=data.getNumDPPSample();    DataArrayView::ValueType::size_type numDPPSample=data.getNumDPPSample();
50    DataArrayView::ValueType::size_type numSamples=data.getNumSamples();    DataArrayView::ValueType::size_type numSamples=data.getNumSamples();
51  #pragma omp parallel for private(i,j) schedule(static)    #pragma omp parallel for private(i,j) schedule(static)
52    for (i=0;i<numSamples;i++) {    for (i=0;i<numSamples;i++) {
53      for (j=0;j<numDPPSample;j++) {      for (j=0;j<numDPPSample;j++) {
54        data.getPointDataView().unaryOp(data.getPointOffset(i,j),operation);        data.getPointDataView().unaryOp(data.getPointOffset(i,j),operation);

Legend:
Removed from v.121  
changed lines
  Added in v.122

  ViewVC Help
Powered by ViewVC 1.1.26