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