IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 27, 2004, 10:32:49 AM (22 years ago)
Author:
gusciora
Message:

I've been unifying the naming conventions for various macros that check
functions parameters for type, size, non-NULL ...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psConstants.h

    r2215 r2216  
    66 *  @author GLG, MHPCC
    77 *
    8  *  @version $Revision: 1.23 $ $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 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    1515These constants are used by various functions in the psLib.
    1616 *****************************************************************************/
    17 #define DETERMINE_BRACKET_STEP_SIZE 0.10
    18 #define MAX_LMM_ITERATIONS 100
    19 #define MAX_MINIMIZE_ITERATIONS 100
    20 #define LEFT_SPLINE_DERIV 0.0
    21 #define RIGHT_SPLINE_DERIV 0.0
     17#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
    2222/*****************************************************************************
    2323These are common mathimatical constants used by various functions in the psLib.
    2424 *****************************************************************************/
    25 
    2625#define PS_ONE 1.0
     26
     27
     28
    2729/*****************************************************************************
    2830Macros which take a generic psLib type and determine if it is NULL, or has
     
    4042    return(RVAL); \
    4143}
     44
     45
    4246
    4347/*****************************************************************************
     
    158162
    159163
     164
    160165/*****************************************************************************
    161166    PS_POLY macros:
     
    167172} \
    168173
     174
     175
    169176/*****************************************************************************
    170177    PS_IMAGE macros:
     
    188195    return(RVAL); \
    189196}
     197
     198
     199
    190200/*****************************************************************************
    191201    PS_READOUT macros:
    192202 *****************************************************************************/
    193 /** Preprocessor macro to generate error on a NULL image */
    194203#define PS_READOUT_CHECK_NULL(NAME, RVAL) \
    195204if (NAME == NULL || NAME->image == NULL) { \
     
    198207}
    199208
     209
     210
    200211/*****************************************************************************
    201212    Misc. macros:
Note: See TracChangeset for help on using the changeset viewer.