Skip to content

Commit

Permalink
fix to radDecay test input
Browse files Browse the repository at this point in the history
  • Loading branch information
Sigfried Haering committed Oct 15, 2024
1 parent 9a7af6b commit 5d61971
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions src/chemistry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@ MFEM_HOST_DEVICE Chemistry::Chemistry(GasMixture *mixture, const ChemistryInput
case RADIATIVE_DECAY: {
assert(inputs.reactionInputs[r].modelParams != NULL);
#ifndef _GPU_
double R = inputs.reactionInputs[r].modelParams[0];
double R = inputs.reactionInputs[r].modelParams[0];
reactions_[r] = new RadiativeDecay(R, &inputs.speciesMapping, &inputs.speciesNames, &numSpecies_,
&reactantStoich_[r * numSpecies_], &productStoich_[r * numSpecies_]);
#else
printf("Radiative decay not currently supported for GPU execution.");
assert(false);
assert(false);
break;
#endif
} break;
Expand Down
30 changes: 15 additions & 15 deletions test/inputs/input.radDecay.ini
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ argon_minimal/third_order_thermal_conductivity = false

[plasma_models/radiation_model/net_emission]
coefficient = tabulated
tabulated/filename = ./rad-data/nec_sample.0.h5
tabulated/filename = ./inputs/rad-data/nec_sample.0.h5
tabulated/x_log = False
tabulated/f_log = False
tabulated/order = 1
Expand Down Expand Up @@ -177,7 +177,7 @@ reaction_energy = 1520571.3883 # [J/mol]
reactant_stoichiometry = '0 0 0 0 1 1'
product_stoichiometry = '1 0 0 0 2 0'
model = tabulated
tabulated/filename = 'rate-coefficients/Ionization.h5'
tabulated/filename = './inputs/rate-coefficients/Ionization.h5'
tabulated/x_log = False
tabulated/f_log = False
tabulated/order = 1
Expand All @@ -189,7 +189,7 @@ reaction_energy = -1520571.3883 # [J/mol]
reactant_stoichiometry = '1 0 0 0 2 0'
product_stoichiometry = '0 0 0 0 1 1'
model = tabulated
tabulated/filename = 'rate-coefficients/3BdyRecomb_Ground.h5'
tabulated/filename = './inputs/rate-coefficients/3BdyRecomb_Ground.h5'
tabulated/x_log = False
tabulated/f_log = False
tabulated/order = 1
Expand All @@ -201,7 +201,7 @@ reaction_energy = 403710.426440 # [J/mol]
reactant_stoichiometry = '0 1 0 0 1 0'
product_stoichiometry = '1 0 0 0 2 0'
model = tabulated
tabulated/filename = 'rate-coefficients/StepIonization_Metastable.h5'
tabulated/filename = './inputs/rate-coefficients/StepIonization_Metastable.h5'
tabulated/x_log = False
tabulated/f_log = False
tabulated/order = 1
Expand All @@ -213,7 +213,7 @@ reaction_energy = -403710.426440 # [J/mol]
reactant_stoichiometry = '1 0 0 0 2 0'
product_stoichiometry = '0 1 0 0 1 0'
model = tabulated
tabulated/filename = 'rate-coefficients/3BdyRecomb_Metastable.h5'
tabulated/filename = './inputs/rate-coefficients/3BdyRecomb_Metastable.h5'
tabulated/x_log = False
tabulated/f_log = False
tabulated/order = 1
Expand All @@ -226,7 +226,7 @@ reaction_energy = 1116860.96186 # [J/mol]
reactant_stoichiometry = '0 0 0 0 1 1'
product_stoichiometry = '0 1 0 0 1 0'
model = tabulated
tabulated/filename = 'rate-coefficients/Excitation_Metastable.h5'
tabulated/filename = './inputs/rate-coefficients/Excitation_Metastable.h5'
tabulated/x_log = False
tabulated/f_log = False
tabulated/order = 1
Expand All @@ -239,7 +239,7 @@ reaction_energy = -1116860.96186 # [J/mol]
reactant_stoichiometry = '0 1 0 0 1 0'
product_stoichiometry = '0 0 0 0 1 1'
model = tabulated
tabulated/filename = 'rate-coefficients/DeExcitation_Metastable.h5'
tabulated/filename = './inputs/rate-coefficients/DeExcitation_Metastable.h5'
tabulated/x_log = False
tabulated/f_log = False
tabulated/order = 1
Expand All @@ -252,7 +252,7 @@ reaction_energy = 389703.996814 # [J/mol]
reactant_stoichiometry = '0 0 1 0 1 0'
product_stoichiometry = '1 0 0 0 2 0'
model = tabulated
tabulated/filename = 'rate-coefficients/StepIonization_Resonant.h5'
tabulated/filename = './inputs/rate-coefficients/StepIonization_Resonant.h5'
tabulated/x_log = False
tabulated/f_log = False
tabulated/order = 1
Expand All @@ -264,7 +264,7 @@ reaction_energy = -389703.996814 # [J/mol]
reactant_stoichiometry = '1 0 0 0 2 0'
product_stoichiometry = '0 0 1 0 1 0'
model = tabulated
tabulated/filename = 'rate-coefficients/3BdyRecomb_Resonant.h5'
tabulated/filename = './inputs/rate-coefficients/3BdyRecomb_Resonant.h5'
tabulated/x_log = False
tabulated/f_log = False
tabulated/order = 1
Expand All @@ -277,7 +277,7 @@ reaction_energy = 1130867.391486 # [J/mol]
reactant_stoichiometry = '0 0 0 0 1 1'
product_stoichiometry = '0 0 1 0 1 0'
model = tabulated
tabulated/filename = 'rate-coefficients/Excitation_Resonant.h5'
tabulated/filename = './inputs/rate-coefficients/Excitation_Resonant.h5'
tabulated/x_log = False
tabulated/f_log = False
tabulated/order = 1
Expand All @@ -290,7 +290,7 @@ reaction_energy = -1130867.391486 # [J/mol]
reactant_stoichiometry = '0 0 1 0 1 0'
product_stoichiometry = '0 0 0 0 1 1'
model = tabulated
tabulated/filename = 'rate-coefficients/DeExcitation_Resonant.h5'
tabulated/filename = './inputs/rate-coefficients/DeExcitation_Resonant.h5'
tabulated/x_log = False
tabulated/f_log = False
tabulated/order = 1
Expand All @@ -303,7 +303,7 @@ reaction_energy = 250621.50241031335 # [J/mol]
reactant_stoichiometry = '0 0 0 1 1 0'
product_stoichiometry = '1 0 0 0 2 0'
model = tabulated
tabulated/filename = 'rate-coefficients/StepIonization_4p.h5'
tabulated/filename = './inputs/rate-coefficients/StepIonization_4p.h5'
tabulated/x_log = False
tabulated/f_log = False
tabulated/order = 1
Expand All @@ -315,7 +315,7 @@ reaction_energy = -250621.50241031335 # [J/mol]
reactant_stoichiometry = '1 0 0 0 2 0'
product_stoichiometry = '0 0 0 1 1 0'
model = tabulated
tabulated/filename = 'rate-coefficients/3BdyRecomb_4p.h5'
tabulated/filename = './inputs/rate-coefficients/3BdyRecomb_4p.h5'
tabulated/x_log = False
tabulated/f_log = False
tabulated/order = 1
Expand All @@ -327,7 +327,7 @@ reaction_energy = 1269949.8858896866 # [J/mol]
reactant_stoichiometry = '0 0 0 0 1 1'
product_stoichiometry = '0 0 0 1 1 0'
model = tabulated
tabulated/filename = 'rate-coefficients/Excitation_4p.h5'
tabulated/filename = './inputs/rate-coefficients/Excitation_4p.h5'
tabulated/x_log = False
tabulated/f_log = False
tabulated/order = 1
Expand All @@ -339,7 +339,7 @@ reaction_energy = -1269949.8858896866 # [J/mol]
reactant_stoichiometry = '0 0 0 1 1 0'
product_stoichiometry = '0 0 0 0 1 1'
model = tabulated
tabulated/filename = 'rate-coefficients/DeExcitation_4p.h5'
tabulated/filename = './inputs/rate-coefficients/DeExcitation_4p.h5'
tabulated/x_log = False
tabulated/f_log = False
tabulated/order = 1
Expand Down

0 comments on commit 5d61971

Please sign in to comment.