Changeset 15165 for trunk/psModules/src/objects/pmGrowthCurve.c
- Timestamp:
- Oct 2, 2007, 2:42:40 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmGrowthCurve.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmGrowthCurve.c
r14938 r15165 5 5 * @author EAM, IfA 6 6 * 7 * @version $Revision: 1.1 2$ $Name: not supported by cvs2svn $8 * @date $Date: 2007- 09-21 00:03:51$7 * @version $Revision: 1.13 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2007-10-03 00:42:40 $ 9 9 * 10 10 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 32 32 static void pmGrowthCurveFree (pmGrowthCurve *growth) 33 33 { 34 35 34 if (growth == NULL) 36 35 return; … … 39 38 psFree (growth->apMag); 40 39 return; 40 } 41 42 bool psMemCheckGrowthCurve(psPtr ptr) 43 { 44 PS_ASSERT_PTR(ptr, false); 45 return ( psMemGetDeallocator(ptr) == (psFreeFunc)pmGrowthCurveFree ); 41 46 } 42 47 … … 59 64 } 60 65 61 psF32 pmGrowthCurveCorrect (pmGrowthCurve *growth, psF32 radius)66 psF32 pmGrowthCurveCorrect(pmGrowthCurve *growth, psF32 radius) 62 67 { 63 68 PS_ASSERT_PTR_NON_NULL(growth, NAN); 64 69 float apRad = psVectorInterpolate (growth->radius, growth->apMag, radius); 65 70 float apCor = growth->apRef - apRad;
Note:
See TracChangeset
for help on using the changeset viewer.
