Skip to content

Commit

Permalink
bugfix: crash multi-scale simulation.
Browse files Browse the repository at this point in the history
  • Loading branch information
yhirokawa-ccs committed Jul 21, 2020
1 parent 69cb550 commit b79cee3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ms/main_ms.f90
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,6 @@ subroutine initialization_ms()
end do

! incident field
allocate(Ac_inc(1:3, -1:itotNtime+2))

call Weyl_init(fs, fw)

allocate(fs%imedia(fs%mg%is_array(1):fs%mg%ie_array(1), &
Expand Down Expand Up @@ -348,7 +346,9 @@ subroutine initialization_ms()
call comm_sync_all()
end do

itt = mit; call incident()
itt = mit
allocate(Ac_inc(1:3, -1:itotNtime+2))
call incident()

! Experimental implementation
if (comm_is_root(ms%id_ms_world)) then
Expand Down

0 comments on commit b79cee3

Please sign in to comment.