Changeset 2045
- Timestamp:
- 05/12/08 03:16:01 (4 months ago)
- Location:
- trunk/source
- Files:
-
- 4 modified
-
init_coreload.cpp (modified) (1 diff)
-
ion_trim.cpp (modified) (2 diffs)
-
rt_diffuse.cpp (modified) (1 diff)
-
service.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/init_coreload.cpp
r2036 r2045 306 306 grid.lgGridDone = false; 307 307 grid.lgStrictRepeat = false; 308 308 309 /* these are energy range... if not changed with command, 0. says just use energy limits of mesh */ 309 310 grid.LoEnergy_keV = 0.; 310 311 grid.HiEnergy_keV = 0.; 311 312 312 313 313 PunchFilesInit(); 314 314 -
trunk/source/ion_trim.cpp
r1960 r2045 5 5 #include "cddefines.h" 6 6 #include "elementnames.h" 7 #include "radius.h" 7 8 #include "heavy.h" 8 9 #include "conv.h" … … 190 191 elementnames.chElementName[nelem]); 191 192 fprintf(ioQQQ, 192 "Turn off the element or do not consider gas with low density, the current hydrogen density is %.2e cm-3.\n", 193 "Turn off the element with the command ELEMENT XXX OFF or do not consider " 194 "gas with low density, the current hydrogen density is %.2e cm-3.\n", 193 195 dense.gas_phase[ipHYDROGEN]); 194 196 fprintf(ioQQQ, 195 "abort flag being set.\n"); 197 "The outer radius of the cloud is %.2e cm - should a stopping " 198 "radius be set?\n", 199 radius.Radius ); 200 fprintf(ioQQQ, 201 "The abort flag is being set - the calculation is stopping.\n"); 196 202 lgAbort = true; 197 203 return; -
trunk/source/rt_diffuse.cpp
r1822 r2045 384 384 385 385 ip = Heavy.ipHeavy[nelem][ion]-1; 386 ASSERT( ip >= 0 ); 386 387 387 388 /* nflux was reset upward in ConvInitSolution to encompass all 388 389 * possible line and continuum emission. this test should not 389 * possibly fail. It could if the ionization were to increase with depth. 390 * This is important because the nflux cell in ConInterOut is used to carry out the 391 * unit integration, and if it gets clobbered by diffuse emission the code 392 * will declare insanity in PrtComment */ 393 ASSERT( ip >= 0 && ip < rfield.nflux ); 390 * possibly fail. It could if the ionization were to increase with depth 391 * although the continuum mesh is designed to deal with this. 392 * This test is important because the nflux cell in ConInterOut 393 * is used to carry out the unit integration, and if it gets 394 * clobbered by diffuse emission the code will declare 395 * insanity in PrtComment */ 396 if( ip >= rfield.nflux ) 397 continue; 394 398 395 399 /* get shell number, stat weights for this species */ -
trunk/source/service.cpp
r2035 r2045 140 140 if( lgFail ) 141 141 { 142 fprintf( ioQQQ, " A syntax error occur ed while splitting the string: \"%s\"\n", str.c_str() );142 fprintf( ioQQQ, " A syntax error occurred while splitting the string: \"%s\"\n", str.c_str() ); 143 143 fprintf( ioQQQ, " The separator is \"%s\". Empty substrings are not allowed.\n", sep.c_str() ); 144 144 cdEXIT(EXIT_FAILURE); … … 929 929 else 930 930 { 931 /* round number off for 9.3 format, neg numb not possi lbe */931 /* round number off for 9.3 format, neg numb not possible */ 932 932 tvalue = value; 933 933 xlog = log10( tvalue );
