Skip to content

Commit

Permalink
Merge pull request #24 from ProjectTorreyPines/get_grid_subset
Browse files Browse the repository at this point in the history
Get grid subset
  • Loading branch information
anchal-physics authored Mar 20, 2024
2 parents 0bdbb18 + 9c2c482 commit dc005d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/SynthDiag.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ using StaticArrays
import PhysicalConstants.CODATA2018: c_0, ε_0, m_e, e
import QuadGK: quadgk, BatchIntegrand
import GGDUtils:
interp, get_grid_subset_with_index, get_subset_boundary, subset_do, get_TPS_mats

interp, get_grid_subset, get_subset_boundary, subset_do, get_TPS_mats
default_ifo = "$(@__DIR__)/default_interferometer.json"

include("$(@__DIR__)/noise.jl")
Expand Down
6 changes: 3 additions & 3 deletions src/interferometer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function add_interferometer!(
config[:interferometer],
)
end
IMASDD.dict2imas(config, ids; verbose)
IMASDD.dict2imas(config, ids; verbose=verbose)
compute_interferometer(ids; rtol=rtol, n_e_gsi=n_e_gsi)
return ids
end
Expand Down Expand Up @@ -271,8 +271,8 @@ end

function get_sep_bnd(ep_grid_ggd)
ep_space = ep_grid_ggd.space[1]
core = get_grid_subset_with_index(ep_grid_ggd, 22)
sol = get_grid_subset_with_index(ep_grid_ggd, 23)
core = get_grid_subset(ep_grid_ggd, 22)
sol = get_grid_subset(ep_grid_ggd, 23)
sep_bnd = IMASDD.edge_profiles__grid_ggd___grid_subset()
sep_bnd.element =
subset_do(
Expand Down

0 comments on commit dc005d3

Please sign in to comment.