Changeset 7766 for trunk/psLib/src/math/psSpline.h
- Timestamp:
- Jun 29, 2006, 4:20:43 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psSpline.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psSpline.h
r6305 r7766 12 12 * @author GLG, MHPCC 13 13 * 14 * @version $Revision: 1. 59$ $Name: not supported by cvs2svn $15 * @date $Date: 2006-0 2-02 21:09:08$14 * @version $Revision: 1.60 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2006-06-30 02:20:06 $ 16 16 * 17 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 29 29 #include "psScalar.h" 30 30 #include "psPolynomial.h" 31 32 #define PS_LEFT_SPLINE_DERIV 0.0 33 #define PS_RIGHT_SPLINE_DERIV 0.0 31 34 32 35 /** \addtogroup GROUP00 … … 92 95 ); 93 96 97 /***************************************************************************** 98 PS_SPLINE macros: 99 *****************************************************************************/ 100 #define PS_ASSERT_SPLINE(NAME, RVAL) \ 101 if (false == psMemCheckSpline1D(NAME)) { \ 102 psError(PS_ERR_BAD_PARAMETER_NULL, true, \ 103 "Unallowable operation: argument %s is not a psSpline1D struct.\n",\ 104 #NAME); \ 105 return(RVAL); \ 106 } \ 107 108 #define PS_ASSERT_SPLINE_NON_NULL(NAME, RVAL) \ 109 if ((NAME) == NULL) { \ 110 psError(PS_ERR_BAD_PARAMETER_NULL, true, \ 111 "Unallowable operation: psSpline1D %s is NULL.", \ 112 #NAME); \ 113 return(RVAL); \ 114 } \ 115 116 94 117 /** \} */ // End of MathGroup Functions 95 118
Note:
See TracChangeset
for help on using the changeset viewer.
