/[escript]/trunk-mpi-branch/escript/src/DataC.cpp
ViewVC logotype

Diff of /trunk-mpi-branch/escript/src/DataC.cpp

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

revision 1222 by ksteube, Wed Jun 13 01:02:19 2007 UTC revision 1223 by gross, Fri Aug 3 02:40:39 2007 UTC
# Line 40  int isDataPointShapeEqual(struct escript Line 40  int isDataPointShapeEqual(struct escript
40    }    }
41  }  }
42    
43    int  getNumDataPointsPerSample(struct escriptDataC* data)
44    {
45      if (data == (struct escriptDataC*)0) {
46           return 0;
47      } else {
48         escript::Data* temp=(escript::Data*)(data->m_dataPtr);
49         if (temp->isEmpty()) {
50            return 0;
51         } else {
52              return (temp->getNumDataPointsPerSample());
53         }
54      }
55    }
56    
57  int numSamplesEqual(struct escriptDataC* data, int numDataPointsPerSample,  int numSamplesEqual(struct escriptDataC* data, int numDataPointsPerSample,
58              int numSamples)              int numSamples)
59  {  {

Legend:
Removed from v.1222  
changed lines
  Added in v.1223

  ViewVC Help
Powered by ViewVC 1.1.26