Minor issue:
- `Radiation::computeEnergySink` is not specified as `virtual`, though it must be. See the issue #184.
TODO:
- If a more sophisticated radiation model requires other than energy sink term, other objects need to have the pointer to `Radiation`. For example, if radiative diffusion is implemented, then `Fluxes` should include the radiative diffusion term in `computeViscousFluxes`.
Radiation
base class andNetEmission
derived class is implemented.Radiation
only hascomputeEnergySink
, which is executed withinSourceTerm::updateTerms
.NetEmission
reads tabulated data for net emission coefficient, to runcomputeEnergySink
.NetEmission
computes net emitted energy based on heavy species energy.NetEmission
is implemented gpu-compatible.Minor:
M2ulPhyS::readTable
now generates pointers toDenseMatrix.Read()
with specific index oftableHost
, instead of usingstd::vector::back()
.How to use:
[plasma_models/radiation_model/net_emission]
currently only takes 'tabulated'.
coefficient = tabulated
Input for TableInterpolator
tabulated/filename = 'your_tabulated_file.h5' tabulated/x_log = False tabulated/f_log = True tabulated/order = 1