w90_wannier90_readwrite_read_pw90_calcs Subroutine

private subroutine w90_wannier90_readwrite_read_pw90_calcs(settings, pw90_calculation, error, comm)

Uses

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

Arguments

Type IntentOptional Attributes Name
type(settings_type), intent(inout) :: settings
type(pw90_calculation_type), intent(inout) :: pw90_calculation
type(w90_error_type), intent(out), allocatable :: error
type(w90_comm_type), intent(in) :: comm

Calls

proc~~w90_wannier90_readwrite_read_pw90_calcs~~CallsGraph proc~w90_wannier90_readwrite_read_pw90_calcs w90_wannier90_readwrite_read_pw90_calcs proc~w90_readwrite_get_keyword w90_readwrite_get_keyword proc~w90_wannier90_readwrite_read_pw90_calcs->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_pw90_calcs~~CalledByGraph proc~w90_wannier90_readwrite_read_pw90_calcs w90_wannier90_readwrite_read_pw90_calcs proc~w90_postw90_readwrite_read w90_postw90_readwrite_read proc~w90_postw90_readwrite_read->proc~w90_wannier90_readwrite_read_pw90_calcs proc~w90_postw90_readwrite_readall w90_postw90_readwrite_readall proc~w90_postw90_readwrite_readall->proc~w90_wannier90_readwrite_read_pw90_calcs program~postw90 postw90 program~postw90->proc~w90_postw90_readwrite_read

Source Code

  subroutine w90_wannier90_readwrite_read_pw90_calcs(settings, pw90_calculation, error, comm)
    !================================================!
    use w90_error, only: w90_error_type
    use w90_comms, only: w90_comm_type
    implicit none
    type(pw90_calculation_type), intent(inout) :: pw90_calculation
    type(w90_error_type), allocatable, intent(out) :: error
    type(w90_comm_type), intent(in) :: comm
    type(settings_type), intent(inout) :: settings
    logical :: found

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

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

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

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

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

    call w90_readwrite_get_keyword(settings, 'geninterp', found, error, comm, &
                                   l_value=pw90_calculation%geninterp)
    if (allocated(error)) return
    call w90_readwrite_get_keyword(settings, 'boltzwann', found, error, comm, &
                                   l_value=pw90_calculation%boltzwann)
    if (allocated(error)) return

  end subroutine w90_wannier90_readwrite_read_pw90_calcs