Skip to content

Commit

Permalink
updates coupling routine
Browse files Browse the repository at this point in the history
danielpeter committed Dec 19, 2024

Verified

This commit was signed with the committer’s verified signature.
nonrational Alan Norton
1 parent fb55620 commit 0ebaa4f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/specfem3D/couple_with_injection.f90
Original file line number Diff line number Diff line change
@@ -3397,9 +3397,15 @@ subroutine couple_with_injection_prepare_specfem_files()
call interpolate_with_Catmull_Rom(ntimesteps,dt_incr,start_time, &
tmp_veloc_points_timeseries,tmp_traction_points_timeseries)

! closes file
close(IOUT)

! free temporary arrays
deallocate(tmp_veloc_points_timeseries,tmp_traction_points_timeseries)

! synchronizes MPI processes
call synchronize_all()

! clear arrays for reading
Veloc_specfem(:,:) = 0.0_CUSTOM_REAL
Tract_specfem(:,:) = 0.0_CUSTOM_REAL

0 comments on commit 0ebaa4f

Please sign in to comment.