/[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

revision 3991 by jfenwick, Fri Sep 21 02:47:54 2012 UTC revision 3992 by caltinay, Wed Sep 26 02:50:48 2012 UTC
# Line 41  ESCRIPT_DLL_API int getFunctionSpaceType Line 41  ESCRIPT_DLL_API int getFunctionSpaceType
41    
42  /**  /**
43     \brief     \brief
44     sets the int variable _fs_ the function space type of _data_ if the data are not empty.     sets the int variable _FS to the function space type of _DATA if the data
45     \param _fs_ Input/Output - variable to be updated.     object is not empty.
46     \param _data_ Input - C wrapper for Data.     \param _FS Input/Output - variable to be updated.
47       \param _DATA Input - C wrapper for Data.
48  */  */
49  #define updateFunctionSpaceType(_fs_,_data_) _fs_=(isEmpty(_data_) ? _fs_ : getFunctionSpaceType(_data_))  #define updateFunctionSpaceType(_FS,_DATA) _FS=(isEmpty(_DATA) ? _FS : getFunctionSpaceType(_DATA))
50                                                                                                                                                                            
51  /**  /**
52     \brief     \brief
53     is true if the function space type of _data_ is equal to _fs_ or is empty     returns true if the function space type of _DATA is equal to _FS or is empty
54     \param _fs_ Input - function space type to checked against     \param _FS Input - function space type to checked against
55     \param _data_ Input - C wrapper for Data.     \param _DATA Input - C wrapper for Data.
56  */  */
57  #define functionSpaceTypeEqual(_fs_,_data_) ( (isEmpty(_data_) || _fs_==getFunctionSpaceType(_data_)) ) ? 1 : 0  #define functionSpaceTypeEqual(_FS,_DATA) ( (isEmpty(_DATA) || _FS==getFunctionSpaceType(_DATA)) ) ? 1 : 0
58    
59  /**  /**
60     \brief     \brief

Legend:
Removed from v.3991  
changed lines
  Added in v.3992

  ViewVC Help
Powered by ViewVC 1.1.26