Changeset 15889 for trunk/psModules/src/objects/pmSourceExtendedPars.c
- Timestamp:
- Dec 21, 2007, 2:31:41 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmSourceExtendedPars.c
r15562 r15889 6 6 * @author EAM, IfA: significant modifications. 7 7 * 8 * @version $Revision: 1. 2$ $Name: not supported by cvs2svn $9 * @date $Date: 2007-1 1-10 01:09:20$8 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2007-12-22 00:31:41 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 57 57 } 58 58 59 bool psMemCheckSourceExtendedPars(psPtr ptr) 60 { 61 PS_ASSERT_PTR(ptr, false); 62 return ( psMemGetDeallocator(ptr) == (psFreeFunc) pmSourceExtendedParsFree); 63 } 64 65 59 66 static void pmSourceRadialProfileFree (pmSourceRadialProfile *profile) { 60 67 if (!profile) return; … … 78 85 } 79 86 87 bool psMemCheckSourceRadialProfile(psPtr ptr) 88 { 89 PS_ASSERT_PTR(ptr, false); 90 return ( psMemGetDeallocator(ptr) == (psFreeFunc) pmSourceRadialProfileFree); 91 } 92 93 80 94 static void pmSourceIsophotalValuesFree (pmSourceIsophotalValues *isophot) { 81 95 if (!isophot) return; … … 95 109 return isophot; 96 110 } 111 112 113 bool psMemCheckSourceIsophotalValues(psPtr ptr) 114 { 115 PS_ASSERT_PTR(ptr, false); 116 return ( psMemGetDeallocator(ptr) == (psFreeFunc) pmSourceIsophotalValuesFree); 117 } 118 97 119 98 120 static void pmSourcePetrosianValuesFree (pmSourcePetrosianValues *petrosian) { … … 114 136 } 115 137 138 139 bool psMemCheckSourcePetrosianValues(psPtr ptr) 140 { 141 PS_ASSERT_PTR(ptr, false); 142 return ( psMemGetDeallocator(ptr) == (psFreeFunc) pmSourcePetrosianValuesFree); 143 } 144 116 145 static void pmSourceKronValuesFree (pmSourceKronValues *kron) { 117 146 if (!kron) return; … … 131 160 return kron; 132 161 } 162 163 164 bool psMemCheckSourceKronValues(psPtr ptr) 165 { 166 PS_ASSERT_PTR(ptr, false); 167 return ( psMemGetDeallocator(ptr) == (psFreeFunc) pmSourceKronValuesFree); 168 } 169 133 170 134 171 static void pmSourceAnnuliFree (pmSourceAnnuli *annuli) { … … 154 191 } 155 192 193 194 bool psMemCheckSourceAnnuli(psPtr ptr) 195 { 196 PS_ASSERT_PTR(ptr, false); 197 return ( psMemGetDeallocator(ptr) == (psFreeFunc) pmSourceAnnuliFree); 198 }
Note:
See TracChangeset
for help on using the changeset viewer.
