Changeset 1142 for trunk/source/helike.cpp
- Timestamp:
- 05/21/07 12:12:52 (20 months ago)
- Files:
-
- 1 modified
-
trunk/source/helike.cpp (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/helike.cpp
r1116 r1142 69 69 /*lint -e662 creation of out of bound pointer */ 70 70 /*lint -e661 creation of out of bound pointer */ 71 72 /* The Elevels data type, and then the iso.quant_desig[ipHE_LIKE] structure,73 * which contain the quantum numbers n,l, and s for a given74 * energy level, are defined in iso.h, for use in multiple subroutines. */75 76 /*typedef struct {77 long n;78 long s;79 long l;80 } Elevels; iso.h */81 82 /* An array of structures each containing for a given element, n,l, and s83 * s=0 for singlets, s=1 for triplets84 * in helike.h85 static Elevels **iso.quant_desig[ipHE_LIKE]; */86 71 87 72 /*static long ipLev,globalZ;*/ … … 172 157 173 158 /* evaluate recombination rates */ 174 /* if the flag iso.lgHugeCaseB[ipISO] is true, cloudy exits in HeRecom(). */175 159 HeRecom(nelem); 176 160 … … 303 287 304 288 ipFirstCollapsed= iso.numLevels_local[ipHE_LIKE][nelem]-iso.nCollapsed_local[ipHE_LIKE][nelem]; 305 nResolved = iso.quant_desig[ipHE_LIKE][nelem][ipFirstCollapsed-1].n;289 nResolved = StatesElem[ipHE_LIKE][nelem][ipFirstCollapsed-1].n; 306 290 ASSERT( nResolved == iso.n_HighestResolved_local[ipHE_LIKE][nelem] ); 307 291 ASSERT(nResolved > 0 ); … … 344 328 for( il = ipFirstCollapsed; il < iso.numLevels_local[ipHE_LIKE][nelem]; ++il) 345 329 { 346 in = iso.quant_desig[ipHE_LIKE][nelem][il].n;330 in = StatesElem[ipHE_LIKE][nelem][il].n; 347 331 348 332 /* prin quan number of collapsed levels */ … … 365 349 366 350 ipFirstCollapsed= iso.numLevels_local[ipHE_LIKE][nelem]-iso.nCollapsed_local[ipHE_LIKE][nelem]; 367 nResolved = iso.quant_desig[ipHE_LIKE][nelem][ipFirstCollapsed-1].n;351 nResolved = StatesElem[ipHE_LIKE][nelem][ipFirstCollapsed-1].n; 368 352 ASSERT( nResolved == iso.n_HighestResolved_local[ipHE_LIKE][nelem] ); 369 353 ASSERT(nResolved > 0 ); … … 407 391 for( il = ipFirstCollapsed; il < iso.numLevels_local[ipHE_LIKE][nelem]; ++il) 408 392 { 409 in = iso.quant_desig[ipHE_LIKE][nelem][il].n;393 in = StatesElem[ipHE_LIKE][nelem][il].n; 410 394 /* prin quan number of collapsed levels */ 411 395 fprintf(ioQQQ," %2ld ",in);
