Skip to content

Commit

Permalink
Merge branch 'master' into compathelper/new_version/2024-05-17-00-17-…
Browse files Browse the repository at this point in the history
…15-505-03489143190
  • Loading branch information
jguterl authored May 21, 2024
2 parents 706c549 + a24200d commit 7e8cbdd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
2 changes: 2 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
[compat]
Colors = "0.12"
FileIO = "1"
FileIO = "1"
NumericalIntegration = "0.3"
RecipesBase = "1"
17 changes: 9 additions & 8 deletions src/ADF11/types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,24 @@ abstract type ChargeExchange <: ADASRate end
abstract type ChargeExchangeRadiation <: ADASRate end
abstract type SXRLineRadiation <: ADASRate end
abstract type SXRContinuumRadiation <: ADASRate end
abstract type Bremstrahlung <: ADASRate end
abstract type RecombinationBremsstrahlung <: ADASRate end
abstract type SXRSensitivity <: ADASRate end
abstract type SXRBremstrahlung <: ADASRate end
abstract type Bremstrahlung <: ADASRate end
abstract type MeanIonisationPotential <: ADASRate end
abstract type CrossCouplingCoeffs <: ADASRate end
abstract type ParentCrossCouplingCoeffs <: ADASRate end
abstract type MeanChargeStateSquared <: ADASRate end
abstract type MeanChargeState <: ADASRate end

const adf11_types = Dict(
"acd" => (Recombination, "effective recombination"),
"scd" => (Ionization, "effective ionization"),
"prb" => (ContinuumRadiation, "continuum radiation"),
"plt" => (LineRadiation, "line radiation"),
"ccd" => (ChargeExchange, "thermal charge exchange"),
"prc" => (ChargeExchangeRadiation, "thermal charge exchange continuum radiation"),
"pls" => (SXRLineRadiation, "line radiation in the SXR range"),
"acd" => (Recombination, "effective recombination coefficients"),
"scd" => (Ionization, "effective ionization coefficients"),
"prb" => (RecombinationBremsstrahlung, "Continuum and line power driven by recombination and Bremsstrahlung of dominant ions"),
"plt" => (LineRadiation, "Line power driven by excitation of dominant ions"),
"ccd" => (ChargeExchange, "Charge exchange effective recombination coefficients (with D)"),
"prc" => (ChargeExchangeRadiation, "Line power due to charge transfer from thermal neutral hydrogen to dominant ions (Charge exchange emission)"),
"pls" => (SXRLineRadiation, "Line power from selected transitions of dominant ions"),
"prs" => (SXRContinuumRadiation, "continuum radiation in the SXR range"),
"brs" => (Bremstrahlung, "continuum spectral bremstrahlung"),
"fis" => (SXRSensitivity, "sensitivity in the SXR range"),
Expand Down

0 comments on commit 7e8cbdd

Please sign in to comment.