Changeset 2216 for trunk/psLib/src/dataManip/psConstants.h
- Timestamp:
- Oct 27, 2004, 10:32:49 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/dataManip/psConstants.h (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/dataManip/psConstants.h
r2215 r2216 6 6 * @author GLG, MHPCC 7 7 * 8 * @version $Revision: 1.2 3$ $Name: not supported by cvs2svn $9 * @date $Date: 2004-10-27 20: 29:12$8 * @version $Revision: 1.24 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2004-10-27 20:32:49 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 15 15 These constants are used by various functions in the psLib. 16 16 *****************************************************************************/ 17 #define DETERMINE_BRACKET_STEP_SIZE 0.1018 #define MAX_LMM_ITERATIONS 10019 #define MAX_MINIMIZE_ITERATIONS 10020 #define LEFT_SPLINE_DERIV 0.021 #define RIGHT_SPLINE_DERIV 0.017 #define PS_DETERMINE_BRACKET_STEP_SIZE 0.10 18 #define PS_MAX_LMM_ITERATIONS 100 19 #define PS_MAX_MINIMIZE_ITERATIONS 100 20 #define PS_LEFT_SPLINE_DERIV 0.0 21 #define PS_RIGHT_SPLINE_DERIV 0.0 22 22 /***************************************************************************** 23 23 These are common mathimatical constants used by various functions in the psLib. 24 24 *****************************************************************************/ 25 26 25 #define PS_ONE 1.0 26 27 28 27 29 /***************************************************************************** 28 30 Macros which take a generic psLib type and determine if it is NULL, or has … … 40 42 return(RVAL); \ 41 43 } 44 45 42 46 43 47 /***************************************************************************** … … 158 162 159 163 164 160 165 /***************************************************************************** 161 166 PS_POLY macros: … … 167 172 } \ 168 173 174 175 169 176 /***************************************************************************** 170 177 PS_IMAGE macros: … … 188 195 return(RVAL); \ 189 196 } 197 198 199 190 200 /***************************************************************************** 191 201 PS_READOUT macros: 192 202 *****************************************************************************/ 193 /** Preprocessor macro to generate error on a NULL image */194 203 #define PS_READOUT_CHECK_NULL(NAME, RVAL) \ 195 204 if (NAME == NULL || NAME->image == NULL) { \ … … 198 207 } 199 208 209 210 200 211 /***************************************************************************** 201 212 Misc. macros:
Note:
See TracChangeset
for help on using the changeset viewer.
