w90_wannier90_readwrite_read_post_proc Subroutine

private subroutine w90_wannier90_readwrite_read_post_proc(settings, cp_pp, pp_only_A, postproc_setup, error, comm)

Uses

  • proc~~w90_wannier90_readwrite_read_post_proc~~UsesGraph proc~w90_wannier90_readwrite_read_post_proc w90_wannier90_readwrite_read_post_proc module~w90_error w90_error proc~w90_wannier90_readwrite_read_post_proc->module~w90_error module~w90_comms w90_comms module~w90_error->module~w90_comms module~w90_error_base w90_error_base module~w90_error->module~w90_error_base module~w90_comms->module~w90_error_base module~w90_constants w90_constants module~w90_comms->module~w90_constants

Arguments

Type IntentOptional Attributes Name
type(settings_type), intent(inout) :: settings
logical, intent(inout) :: cp_pp
logical, intent(inout) :: pp_only_A
logical, intent(inout) :: postproc_setup
type(w90_error_type), intent(out), allocatable :: error
type(w90_comm_type), intent(in) :: comm

Calls

proc~~w90_wannier90_readwrite_read_post_proc~~CallsGraph proc~w90_wannier90_readwrite_read_post_proc w90_wannier90_readwrite_read_post_proc proc~w90_readwrite_get_keyword w90_readwrite_get_keyword proc~w90_wannier90_readwrite_read_post_proc->proc~w90_readwrite_get_keyword proc~set_error_fatal set_error_fatal proc~w90_readwrite_get_keyword->proc~set_error_fatal proc~set_error_input set_error_input proc~w90_readwrite_get_keyword->proc~set_error_input proc~comms_sync_error comms_sync_error proc~set_error_fatal->proc~comms_sync_error proc~set_base_error set_base_error proc~set_error_fatal->proc~set_base_error proc~set_error_input->proc~comms_sync_error proc~set_error_input->proc~set_base_error

Called by

proc~~w90_wannier90_readwrite_read_post_proc~~CalledByGraph proc~w90_wannier90_readwrite_read_post_proc w90_wannier90_readwrite_read_post_proc proc~w90_wannier90_readwrite_read w90_wannier90_readwrite_read proc~w90_wannier90_readwrite_read->proc~w90_wannier90_readwrite_read_post_proc proc~w90_input_reader~2 w90_input_reader proc~w90_input_reader~2->proc~w90_wannier90_readwrite_read proc~w90_input_setopt w90_input_setopt proc~w90_input_setopt->proc~w90_wannier90_readwrite_read proc~w90_input_reader w90_input_reader proc~w90_input_reader->proc~w90_input_reader~2 proc~w90_input_setopt_f w90_input_setopt_f proc~w90_input_setopt_f->proc~w90_input_setopt program~wannier wannier program~wannier->proc~w90_input_reader~2

Source Code

  subroutine w90_wannier90_readwrite_read_post_proc(settings, cp_pp, pp_only_A, postproc_setup, &
                                                    error, comm)
    !================================================!
    ! check for input option to activate 'post processing' mode (i.e. writing nnkp data)
    ! the main() routine separately looks for '-pp' command line argument
    use w90_error, only: w90_error_type
    implicit none

    logical, intent(inout) :: cp_pp, pp_only_A, postproc_setup
    type(settings_type), intent(inout) :: settings
    type(w90_comm_type), intent(in) :: comm
    type(w90_error_type), allocatable, intent(out) :: error

    logical :: found

    call w90_readwrite_get_keyword(settings, 'postproc_setup', found, error, comm, &
                                   l_value=postproc_setup)
    if (allocated(error)) return

    call w90_readwrite_get_keyword(settings, 'cp_pp', found, error, comm, l_value=cp_pp)
    if (allocated(error)) return

    call w90_readwrite_get_keyword(settings, 'calc_only_A', found, error, comm, l_value=pp_only_A)
    if (allocated(error)) return
  end subroutine w90_wannier90_readwrite_read_post_proc