FMM state を初期状態へ戻す。
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(fmm_state_type), | intent(inout) | :: | state |
リセット対象の FMM state。 |
subroutine reset_fmm_state(state) type(fmm_state_type), intent(inout) :: state if (associated(state%src_q)) deallocate (state%src_q) if (associated(state%multipole)) deallocate (state%multipole) if (associated(state%local)) deallocate (state%local) if (associated(state%multipole_active)) deallocate (state%multipole_active) if (associated(state%local_active)) deallocate (state%local_active) call initialize_fmm_state(state) end subroutine reset_fmm_state