Skip to content

Commit

Permalink
field data tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
mloubout committed Feb 15, 2024
1 parent 956dc9a commit 0570aba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/JUDI.jl
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,9 @@ function __init__()
copy!(devito, pyimport("devito"))
# Initialize lock at session start
PYLOCK[] = ReentrantLock()

# Prevent autopadding to use external allocator
set_devito_config("autopadding", false)

# Prevent autopadding to use external allocator
set_devito_config("autopadding", false)
Expand Down
2 changes: 1 addition & 1 deletion src/TimeModeling/Modeling/misfit_fg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function multi_src_fg(model_full::AbstractModel, source::judiVector, dObs::judiV
end

# Extrapolate input data to computational grid
qIn = time_resample(make_input(source), source.geometry, dtComp)r
qIn = time_resample(make_input(source), source.geometry, dtComp)
dObserved = time_resample(make_input(dObs), dObs.geometry, dtComp)
qIn, dObserved = _maybe_pad_t0(qIn, source.geometry, dObserved, dObs.geometry)

Expand Down

0 comments on commit 0570aba

Please sign in to comment.