Changeset 19894 for trunk/psModules/src/objects/pmSourceMoments.c
- Timestamp:
- Oct 3, 2008, 4:29:19 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmSourceMoments.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmSourceMoments.c
r19884 r19894 6 6 * @author EAM, IfA: significant modifications. 7 7 * 8 * @version $Revision: 1. 2$ $Name: not supported by cvs2svn $9 * @date $Date: 2008-10-0 3 21:55:42$8 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2008-10-04 02:29:19 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 211 211 // XXX EAM : should this limit be user-defined? 212 212 if (PS_SQR(pDiff) < wDiff) continue; 213 if (pDiff < 0) continue; 213 214 214 215 Sum += pDiff; … … 269 270 source->moments->Mxxxx, source->moments->Mxxxy, source->moments->Mxxyy, source->moments->Mxyyy, source->moments->Myyyy); 270 271 272 if (source->moments->Mxx < 0) { 273 fprintf (stderr, "error: neg second moment??\n"); 274 } 275 if (source->moments->Myy < 0) { 276 fprintf (stderr, "error: neg second moment??\n"); 277 } 278 271 279 // XXX TEST: 272 pmSourceMoments_Old (source, radius);280 // pmSourceMoments_Old (source, radius); 273 281 return(true); 274 282 }
Note:
See TracChangeset
for help on using the changeset viewer.
