#define __PIO_FILE__ "pionfget_mod.F90"
!! @brief Read Routines for non-decomposed NetCDF data.
use perf_mod, only : t_startf, t_stopf ! _EXTERNAL
use pio_kinds, only: i4,r4,r8
use pio_types, only : file_desc_t, var_desc_t
use pio_support, only : replace_c_null
!! @defgroup PIO_get_var PIO_get_var
!! @brief Reads non-decomposed data from a NetCDF file
!! @details The get_var interface is provided as a simplified interface to
!! read variables from a NetCDF format file. The variable is read on the
!! root IO task and broadcast in its entirety to all tasks.
module procedure get_var_{DIMS}d_{TYPE}, get_var_vdesc_{DIMS}d_{TYPE}
module procedure get_vara_{DIMS}d_{TYPE}, get_vara_vdesc_{DIMS}d_{TYPE}
module procedure get_var1_{TYPE}, get_var1_vdesc_{TYPE}
character(len=*), parameter :: modName='pionfget_mod'
integer(C_INT) function PIOc_get_var_text (ncid, varid, ival) &
bind(C,name="PIOc_get_var_text")
integer(C_INT), value :: ncid
integer(C_INT), value :: varid
character(C_CHAR) :: ival(*)
end function PIOc_get_var_text
integer(C_INT) function PIOc_get_var_int (ncid, varid, ival) &
bind(C,name="PIOc_get_var_int")
integer(C_INT), value :: ncid
integer(C_INT), value :: varid
integer(C_INT) :: ival(*)
end function PIOc_get_var_int