/[escript]/trunk/escript/src/DataC.h
ViewVC logotype

Diff of /trunk/escript/src/DataC.h

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

trunk/esys2/escript/src/Data/DataC.h revision 100 by jgs, Wed Dec 15 03:48:48 2004 UTC trunk/escript/src/DataC.h revision 478 by jgs, Tue Jan 31 02:21:49 2006 UTC
# Line 1  Line 1 
1    /* $Id$ */
2  /*  /*
3   ******************************************************************************   ******************************************************************************
4   *                                                                            *   *                                                                            *
# Line 11  Line 12 
12   *                                                                            *   *                                                                            *
13   ******************************************************************************   ******************************************************************************
14  */  */
15                                                                              
16  #if !defined  escript_DataC_20040611_H  #if !defined  escript_DataC_20040611_H
17  #define escript_DataC_20040611_H  #define escript_DataC_20040611_H
18    
# Line 51  int getFunctionSpaceType(escriptDataC* d Line 52  int getFunctionSpaceType(escriptDataC* d
52     \param _fs_ Input - function space type to checked against     \param _fs_ Input - function space type to checked against
53     \param _data_ Input - C wrapper for Data.     \param _data_ Input - C wrapper for Data.
54  */  */
55  #define functionSpaceTypeEqual(_fs_,_data_) ( (_fs_==getFunctionSpaceType(_data_)) || isEmpty(_data_) ) ? 1 : 0  #define functionSpaceTypeEqual(_fs_,_data_) ( (isEmpty(_data_) || _fs_==getFunctionSpaceType(_data_)) ) ? 1 : 0
56    
57  /**  /**
58     \brief     \brief
# Line 74  int isDataPointShapeEqual(escriptDataC* Line 75  int isDataPointShapeEqual(escriptDataC*
75     of samples equal the input values. In the case that data is empty or NULL,     of samples equal the input values. In the case that data is empty or NULL,
76     true is returned.     true is returned.
77     \param data Input - C wrapper for Data.     \param data Input - C wrapper for Data.
78     \param noDataPointsPerSample Input - number of data points per sample     \param numDataPointsPerSample Input - number of data points per sample
79     \param noSamples Input - number of samples     \param numSamples Input - number of samples
80  */  */
81  int numSamplesEqual(escriptDataC* data, int numDataPointsPerSample,  int numSamplesEqual(escriptDataC* data, int numDataPointsPerSample,
82              int numSamples);              int numSamples);
# Line 89  int getDataPointRank(escriptDataC* data) Line 90  int getDataPointRank(escriptDataC* data)
90    
91  /**  /**
92     \brief     \brief
93     Returns the pointer to the shape array of the point data.     Returns the value of the i-th component of the shape of the point data.
94     \param data Input - C wrapper for Data.     \param data Input - C wrapper for Data.
95       \param i Input - index of shape component.
96  */  */
97  int* getDataPointShape(escriptDataC* data);  int getDataPointShape(escriptDataC* data,int i);
98    
99  /**  /**
100     \brief     \brief

Legend:
Removed from v.100  
changed lines
  Added in v.478

  ViewVC Help
Powered by ViewVC 1.1.26