11 use fckit_configuration_module,
only: fckit_configuration
22 #define LISTED_TYPE ufo_atmsfcinterp
25 #include "oops/util/linkedList_i.f"
36 #include "oops/util/linkedList_c.f"
41 c_geovars) bind(c,name='ufo_atmsfcinterp_setup_f90')
42 use oops_variables_mod
44 integer(c_int),
intent(inout) :: c_key_self
45 type(c_ptr),
value,
intent(in) :: c_conf
46 type(c_ptr),
value,
intent(in) :: c_obsvars
47 integer(c_int),
intent(in),
value :: c_nobsvars
48 integer(c_int),
intent(in) :: c_obsvarindices(c_nobsvars)
49 type(c_ptr),
value,
intent(in) :: c_geovars
52 type(fckit_configuration) :: f_conf
55 f_conf = fckit_configuration(c_conf)
57 self%obsvars = oops_variables(c_obsvars)
58 allocate(self%obsvarindices(self%obsvars%nvars()))
59 self%obsvarindices(:) = c_obsvarindices(:) + 1
60 self%geovars = oops_variables(c_geovars)
62 call self%setup(f_conf)
70 integer(c_int),
intent(inout) :: c_key_self
81 c_hofx) bind(c,name='ufo_atmsfcinterp_simobs_f90')
84 integer(c_int),
intent(in) :: c_key_self
85 integer(c_int),
intent(in) :: c_key_geovals
86 type(c_ptr),
value,
intent(in) :: c_obsspace
87 integer(c_int),
intent(in) :: c_nvars, c_nlocs
88 real(c_double),
intent(inout) :: c_hofx(c_nvars, c_nlocs)
92 character(len=*),
parameter :: myname_=
"ufo_atmsfcinterp_simobs_c"
98 call self%simobs(geovals, c_obsspace, c_nvars, c_nlocs, c_hofx)
Fortran atmsfcinterp module for functions on the interface between C++ and Fortran.
subroutine ufo_atmsfcinterp_simobs_c(c_key_self, c_key_geovals, c_obsspace, c_nvars, c_nlocs, c_hofx)
subroutine ufo_atmsfcinterp_setup_c(c_key_self, c_conf, c_obsvars, c_obsvarindices, c_nobsvars, c_geovars)
Linked list implementation.
subroutine ufo_atmsfcinterp_delete_c(c_key_self)
type(registry_t) ufo_atmsfcinterp_registry
Linked list interface - defines registry_t type.
Fortran module for atmsfcinterp observation operator.
type(registry_t), public ufo_geovals_registry
Linked list interface - defines registry_t type.
Fortran derived type for the observation type.
type to hold interpolated fields required by the obs operators