Closed sjbradshaw closed 5 years ago
Thanks @sjbradshaw. To summarize:
HYDRAD/source/config.h
OPENMP
(bool)Radiation_Model/source/config.h
NLTE_CHROMOSPHERE
(bool)OPTICALLY_THICK_RADIATION
(bool)Looking at file templates, it looks like the last two are already implemented. Are there any additional configuration files that need to be generated for the 6-level H atom?
If OPENMP
is true, the code should also use the OpenMP build script to compile the code rather than the default one.
The jump condition fix is covered in #48
There shouldn’t be any other config files. Just run the initial conditions first to generate the chromosphere with the 6-level H atom and then run HYDRAD.
From: Will Barnes notifications@github.com Sent: Thursday, January 10, 2019 2:33 PM To: rice-solar-physics/hydrad_tools hydrad_tools@noreply.github.com Cc: sjbradshaw stephen.bradshaw@rice.edu; Mention mention@noreply.github.com Subject: Re: [rice-solar-physics/hydrad_tools] Environment variables for OpenMP and 6-level hydrogen atom (#54)
Thanks @sjbradshaw https://github.com/sjbradshaw . To summarize:
HYDRAD/source/config.h
OPENMP (bool)
Radiation_Model/source/config.h
NLTE_CHROMOSPHERE (bool)
OPTICALLY_THICK_RADIATION (bool)
Looking at file templates, it looks like the last two are already implemented. Are there any additional configuration files that need to be generated for the 6-level H atom?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/rice-solar-physics/hydrad_tools/issues/54#issuecomment-453243284 , or mute the thread https://github.com/notifications/unsubscribe-auth/AIXhflWEsN6bPTNK4udKgWLyZPCTLNzJks5vB6N-gaJpZM4Z6PTy . https://github.com/notifications/beacon/AIXhfjhKyI1mJrhXdLVUaDXtEK-kDCKtks5vB6N-gaJpZM4Z6PTy.gif
Closed by #61
Using the OpenMP version of HYDRAD requires the pre-processor directive #define OPENMP to be added in the HYDRAD/source/config.h file.
Using the 6-level hydrogen atom requires both #define OPTICALLY_THICK_RADIATION and #define NLTE_CHROMOSPHERE to be added in the Radiation_Model/source/config.h file.
There is also a new directive which replaces #define USE_MIKIC with #define USE_JB. Here, JB refers to the new Johnston-Bradshaw method of broadening the transition region to speed up calculations that involve a strong heat flux from the corona. A Letter describing this method is currently being written-up.