mg_restrict Subroutine

public subroutine mg_restrict(mg, iv)

Restrict all levels

Arguments

Type IntentOptional Attributes Name
type(mg_t), intent(inout) :: mg
integer, intent(in) :: iv

Calls

proc~~mg_restrict~~CallsGraph proc~mg_restrict mg_restrict proc~mg_restrict_lvl mg_restrict_lvl proc~mg_restrict->proc~mg_restrict_lvl proc~restrict_onto restrict_onto proc~mg_restrict_lvl->proc~restrict_onto proc~restrict_set_buffer restrict_set_buffer proc~mg_restrict_lvl->proc~restrict_set_buffer proc~sort_and_transfer_buffers sort_and_transfer_buffers proc~mg_restrict_lvl->proc~sort_and_transfer_buffers proc~mg_get_child_offset mg_get_child_offset proc~restrict_onto->proc~mg_get_child_offset proc~mg_ix_to_ichild mg_ix_to_ichild proc~restrict_set_buffer->proc~mg_ix_to_ichild mpi_waitall mpi_waitall proc~sort_and_transfer_buffers->mpi_waitall proc~mpi_irecv_wrapper mpi_irecv_wrapper proc~sort_and_transfer_buffers->proc~mpi_irecv_wrapper proc~mpi_isend_wrapper mpi_isend_wrapper proc~sort_and_transfer_buffers->proc~mpi_isend_wrapper proc~sort_sendbuf sort_sendbuf proc~sort_and_transfer_buffers->proc~sort_sendbuf mpi_irecv mpi_irecv proc~mpi_irecv_wrapper->mpi_irecv mpi_isend mpi_isend proc~mpi_isend_wrapper->mpi_isend interface~mrgrnk mrgrnk proc~sort_sendbuf->interface~mrgrnk proc~i_mrgrnk I_mrgrnk interface~mrgrnk->proc~i_mrgrnk

Source Code

  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