|
|
|
|
|
# Hot Fixes for C13
|
|
|
|
|
|
|
|
|
## C13.03
|
|
|
|
|
|
When interpolating stellar grid models that have zero flux at some frequencies, you may experience a spurious crash due to a FP exception. This is due to a compiler bug in g++ versions from version 4.7.0 onwards described [here](https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65425). Versions 13.03 and older of Cloudy are affected by this problem. The workaround is to replace this loop in stars.cpp:
|
... | ... | @@ -60,7 +57,7 @@ which integrates the SED between 1 and 1000 Rydbergs. |
|
|
The 1 - 1000 Ryd definition will be part of C13.04 and later versions of the code.
|
|
|
This only makes a difference for very hard SEDs.
|
|
|
|
|
|
To change to the X-ray community definition of xi edit parse_ionpar.cpp and add two lines following line 47 - afterwards it will read as
|
|
|
To change to the X-ray community definition of xi edit parse_ionpar.cpp and add two lines following line 47 - afterward it will read as
|
|
|
|
|
|
```
|
|
|
strcpy( rfield.chSpNorm[p.m_nqh], "IONX" );
|
... | ... | @@ -122,10 +119,8 @@ The simplest fix is to edit iter_end_chk.cpp and delete lines 341 - 349 then rec |
|
|
|
|
|
-----------
|
|
|
|
|
|
Return to HotFixes main page
|
|
|
|
|
|
Return to the StepByStep instructions
|
|
|
Return to [HotFixes](HotFixes) main page
|
|
|
|
|
|
Return to main [WikiStart wiki] page
|
|
|
Return to the [StepByStep](StepByStep) instructions, or go [home](home)
|
|
|
|
|
|
----- |