Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jqfeld committed Aug 19, 2024
1 parent 3cb9171 commit 6a75f65
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "BoltzmannSolvers"
uuid = "3936891d-e4a6-4f9f-ac95-6e87deea8a87"
authors = ["Jan Kuhfeld <[email protected]> and contributors"]
version = "0.1.4"
version = "0.1.5"

[deps]
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
Expand All @@ -18,9 +18,9 @@ BoltzmannSolversPlasmaSpeciesExt = "PlasmaSpecies"
BoltzmannSolversSymbolicsExt = "Symbolics"

[compat]
Symbolics = "5"
Symbolics = "6"
CSV = "0.10"
DataInterpolations = "4"
DataInterpolations = "6"
DataFrames = "1"
julia = "1"

Expand Down
2 changes: 1 addition & 1 deletion src/interpolation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ struct NamedInterpolation{I}
name::Symbol
itp::I
end
NamedInterpolation(name, y, x) = NamedInterpolation(name,LinearInterpolation(y,x))
NamedInterpolation(name, y, x) = NamedInterpolation(name,LinearInterpolation(y,x; extrapolate=true))

Base.nameof(i::NamedInterpolation) = i.name
Base.show(io::IO, i::NamedInterpolation) = Base.print(io::IO, "[$(i.name)]")
Expand Down
4 changes: 4 additions & 0 deletions src/solvers/multibolt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ function default_swarm_names(::MultiBolt)
[
"E_N" => :reduced_field,
"muN_FLUX" => :reduced_mobility,
"DLN_FLUX" => :longitudinal_diff_coef,
"DTN_FLUX" => :transversal_diff_coef,
"alpha_eff_N" => :reduced_townsend_alpha_coef,
"avg_en" => :mean_energy,
]
Expand All @@ -15,6 +17,8 @@ end
function load_raw_dataframe(::MultiBolt, source; kwargs...)
swarm_param_files = [
"muN_FLUX.txt",
"DTN_FLUX.txt",
"DLN_FLUX.txt",
"avg_en.txt",
"alpha_eff_N.txt",
] .|> x -> joinpath(source, x)
Expand Down

0 comments on commit 6a75f65

Please sign in to comment.