Restrict all levels
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(mg_t), | intent(inout) | :: | mg | |||
| integer, | intent(in) | :: | iv |
subroutine mg_restrict(mg, iv) type(mg_t), intent(inout) :: mg integer, intent(in) :: iv integer :: lvl do lvl = mg%highest_lvl, mg%lowest_lvl+1, -1 call mg_restrict_lvl(mg, iv, lvl) end do end subroutine mg_restrict