Changeset 2047
- Timestamp:
- 05/12/08 03:29:41 (5 days ago)
- Files:
-
- branches/c08_branch/source/date.h (modified) (1 diff)
- branches/c08_branch/source/ion_trim.cpp (modified) (2 diffs)
- branches/c08_branch/source/rt_diffuse.cpp (modified) (1 diff)
- branches/c08_branch/source/service.cpp (modified) (2 diffs)
- branches/c08_branch/source/version.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/c08_branch/source/date.h
r2034 r2047 16 16 #define MONTH 4 17 17 /* day is correct */ 18 #define DAY 518 #define DAY 12 19 19 20 20 #endif /* _DATE_H_ */ branches/c08_branch/source/ion_trim.cpp
r2034 r2047 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; branches/c08_branch/source/rt_diffuse.cpp
r1822 r2047 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 */ branches/c08_branch/source/service.cpp
r2034 r2047 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 ); branches/c08_branch/source/version.h
r1898 r2047 9 9 10 10 static const int CLD_MAJOR = 8; 11 static const int CLD_MINOR = 1;11 static const int CLD_MINOR = 0; 12 12 static const int CLD_PATCH = 0; 13 13 … … 28 28 lgRelease = false; 29 29 30 /* is this a beta version? 0 for no */ 31 nBetaVer = 0; 30 /* is this a beta version? 0 for no 31 * if this is non-zero then lgRelease above should be false */ 32 nBetaVer = 1; 32 33 33 34 if( lgRelease ) 34 35 { 35 if( CLD_PATCH > 0 ) 36 sprintf( chVersion, "%2.2i.%2.2i (patch level %d)", CLD_MAJOR, CLD_MINOR, CLD_PATCH ); 37 else 38 sprintf( chVersion, "%2.2i.%2.2i", CLD_MAJOR, CLD_MINOR ); 36 sprintf( chVersion, "%2.2i.%2.2i.%2.2i", CLD_MAJOR, CLD_MINOR, CLD_PATCH ); 39 37 } 40 38 else if( nBetaVer > 0 ) 41 39 { 42 sprintf( chVersion, "%2.2i.%2.2i beta %ld (prerelease)", CLD_MAJOR, CLD_MINOR, nBetaVer );40 sprintf( chVersion, "%2.2i.%2.2i.%2.2i beta %ld (prerelease)", CLD_MAJOR, CLD_MINOR, CLD_PATCH , nBetaVer ); 43 41 } 44 42 else
