Skip to content

Commit

Permalink
Add missing argument
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexHls committed Nov 22, 2023
1 parent a961c3d commit 42dd9ba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tardis/plasma/properties/nlte_population_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,7 @@ def population_objective_function(
total_rad_recomb_coefficients,
total_coll_ion_coefficients,
total_coll_recomb_coefficients,
set_charge_conservation=True,
):
"""Main set of equations for the NLTE ionization solver.
Expand Down Expand Up @@ -564,6 +565,8 @@ def population_objective_function(
Collisional ionization coefficients for current atomic number
total_coll_recomb_coefficients : pandas.DataFrame
Coll. recomb. coefficients for current atomic number
set_charge_conservation : bool
If True, sets the last row of the rate matrix to the charge conservation equation.
Returns
-------
(numpy.array, numpy.array)
Expand All @@ -579,6 +582,7 @@ def population_objective_function(
total_rad_recomb_coefficients,
total_coll_ion_coefficients,
total_coll_recomb_coefficients,
set_charge_conservation=set_charge_conservation,
)
jacobian_matrix = calculate_jacobian_matrix(
atomic_numbers,
Expand Down

0 comments on commit 42dd9ba

Please sign in to comment.