check_methods Subroutine

private subroutine check_methods(mg)

Arguments

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

Calls

proc~~check_methods~2~~CallsGraph proc~check_methods~2 check_methods proc~mg_set_methods~2 mg_set_methods proc~check_methods~2->proc~mg_set_methods~2 proc~ahelmholtz_set_methods~2 ahelmholtz_set_methods proc~mg_set_methods~2->proc~ahelmholtz_set_methods~2 proc~helmholtz_set_methods~2 helmholtz_set_methods proc~mg_set_methods~2->proc~helmholtz_set_methods~2 proc~laplacian_set_methods~2 laplacian_set_methods proc~mg_set_methods~2->proc~laplacian_set_methods~2 proc~vhelmholtz_set_methods~2 vhelmholtz_set_methods proc~mg_set_methods~2->proc~vhelmholtz_set_methods~2 proc~vlaplacian_set_methods~2 vlaplacian_set_methods proc~mg_set_methods~2->proc~vlaplacian_set_methods~2

Called by

proc~~check_methods~2~~CalledByGraph proc~check_methods~2 check_methods proc~mg_fas_fmg~2 mg_fas_fmg proc~mg_fas_fmg~2->proc~check_methods~2 proc~mg_fas_vcycle~2 mg_fas_vcycle proc~mg_fas_fmg~2->proc~mg_fas_vcycle~2 proc~mg_fas_vcycle~2->proc~check_methods~2 proc~diffusion_solve_acoeff~2 diffusion_solve_acoeff proc~diffusion_solve_acoeff~2->proc~mg_fas_fmg~2 proc~diffusion_solve_acoeff~2->proc~mg_fas_vcycle~2 proc~diffusion_solve_vcoeff~2 diffusion_solve_vcoeff proc~diffusion_solve_vcoeff~2->proc~mg_fas_fmg~2 proc~diffusion_solve_vcoeff~2->proc~mg_fas_vcycle~2 proc~diffusion_solve~2 diffusion_solve proc~diffusion_solve~2->proc~mg_fas_fmg~2 proc~diffusion_solve~2->proc~mg_fas_vcycle~2

Source Code

  subroutine check_methods(mg)
    type(mg_t), intent(inout) :: mg

    if (.not. associated(mg%box_op) .or. .not. associated(mg%box_smoother)) &
       then
       call mg_set_methods(mg)
    end if

  end subroutine check_methods