Skip to content

Commit

Permalink
Fix plot recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
archermarx committed Aug 7, 2024
1 parent 2396d29 commit 0d9f5e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "HallThruster"
uuid = "2311f341-5e6d-4941-9e3e-3ce0ae0d9ed6"
authors = ["Thomas Marks <[email protected]>"]
version = "0.16.4"
version = "0.16.5"

[deps]
DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab"
Expand Down
4 changes: 2 additions & 2 deletions src/visualization/recipes.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@recipe function f(sol::Solution, frame::Int = length(sol.u))
(;z_cell, ionization_reactions, ncharge, L_ch) = sol.params
model = params.config.ionization_model
model = sol.params.config.ionization_model

subplot_width = 500
subplot_height = 500
Expand Down Expand Up @@ -106,7 +106,7 @@
else
reactant_density = sol[:ni, rxn.reactant.Z][frame]
end
ionization_rate .+= reactant_density .* ne .* rate_coeff.(model, rxn, 3/2 .* Tev)
ionization_rate .+= reactant_density .* ne .* [rate_coeff(model, rxn, 3/2 .* T) for T in Tev]
end
end
end
Expand Down

2 comments on commit 0d9f5e7

@archermarx
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/112620

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.16.5 -m "<description of version>" 0d9f5e78f1c7b6f908c9797b2fcd7bfb4d674a4e
git push origin v0.16.5

Please sign in to comment.