Show
Ignore:
Timestamp:
04/30/08 09:59:27 (8 months ago)
Author:
peter
Message:

source/parse_commands.cpp:

  • Bug-fix: Using DLAW command would lead to bogus error message that
    "Hydrogen density MUST be specified."
  • Bug-fix: The code would continue a model despite the fact that it
    thought that no hydrogen density was entered.
  • Bug-fix: When combining the DLAW command and a wind model, the
    hydrogen density would be initialized after it was already used in
    wind.emdot.

source/parse_hden.cpp:
source/parse_dlaw.cpp:
source/parse_fluc.cpp:
source/parse_globule.cpp:

  • Make dense.gas_phase[ipHYDROGEN] linear immediately.
  • Disallow multiple density commands in one script.

source/zero.cpp:

  • Remove initialization of dense.gas_phase[ipHYDROGEN] to -99.

source/helike_einsta.cpp:
source/hydroeinsta.cpp:

  • Fix: Replace NULL -> 0.f.

tsuite/slow/checkall.pl:
tsuite/auto/checkall.pl:

  • Pick up DISASTER statements in output and include in serious.txt.

tsuite/auto/func_dlaw.in:

  • Bug-fix: remove duplicate density statement.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/source/helike_einsta.cpp

    r1986 r1997  
    10321032                        } 
    10331033                        else 
    1034                                 iso.CachedAs[ipISO][nelem][ N_(ipHi)-iso.n_HighestResolved_max[ipISO][nelem]-1 ][ ipLo ][1] = NULL; 
     1034                                iso.CachedAs[ipISO][nelem][ N_(ipHi)-iso.n_HighestResolved_max[ipISO][nelem]-1 ][ ipLo ][1] = 0.f; 
    10351035 
    10361036                        iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.01f);