FV3 Bundle
qg_fields_interface.F90 File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine qg_field_create_c (c_key_self, c_key_geom, c_vars)
 Interfaces to be called from C++ for Fortran handling of QG model fields. More...
 
subroutine qg_field_delete_c (c_key_self)
 
subroutine qg_field_zero_c (c_key_self)
 
subroutine qg_field_dirac_c (c_key_self, c_conf)
 
subroutine qg_field_random_c (c_key_self)
 
subroutine qg_field_copy_c (c_key_self, c_key_rhs)
 
subroutine qg_field_self_add_c (c_key_self, c_key_rhs)
 
subroutine qg_field_self_schur_c (c_key_self, c_key_rhs)
 
subroutine qg_field_self_sub_c (c_key_self, c_key_rhs)
 
subroutine qg_field_self_mul_c (c_key_self, c_zz)
 
subroutine qg_field_axpy_c (c_key_self, c_zz, c_key_rhs)
 
subroutine qg_field_dot_prod_c (c_key_fld1, c_key_fld2, c_prod)
 
subroutine qg_field_add_incr_c (c_key_self, c_key_rhs)
 
subroutine qg_field_diff_incr_c (c_key_lhs, c_key_x1, c_key_x2)
 
subroutine qg_field_change_resol_c (c_key_fld, c_key_rhs)
 
subroutine qg_field_ug_coord_c (c_key_fld, c_key_ug, c_colocated)
 
subroutine qg_field_field_to_ug_c (c_key_fld, c_key_ug, c_colocated)
 
subroutine qg_field_field_from_ug_c (c_key_fld, c_key_ug)
 
subroutine qg_field_read_file_c (c_key_fld, c_conf, c_dt)
 
subroutine qg_field_analytic_init_c (c_key_fld, c_key_geom, c_conf, c_dt)
 
subroutine qg_field_write_file_c (c_key_fld, c_conf, c_dt)
 
subroutine qg_field_gpnorm_c (c_key_fld, kf, pstat)
 
subroutine qg_field_getpoint_c (c_key_fld, c_key_iter, c_nval, c_vals)
 
subroutine qg_field_rms_c (c_key_fld, prms)
 
subroutine qg_field_interp_tl_c (c_key_fld, c_key_loc, c_vars, c_key_gom)
 
subroutine qg_field_interp_ad_c (c_key_fld, c_key_loc, c_vars, c_key_gom)
 
subroutine qg_fieldnum_c (c_key_fld, c_nx, c_ny, c_nf, c_nb, c_nl)
 

Function/Subroutine Documentation

◆ qg_field_add_incr_c()

subroutine qg_field_add_incr_c ( integer(c_int), intent(in)  c_key_self,
integer(c_int), intent(in)  c_key_rhs 
)

Definition at line 236 of file qg_fields_interface.F90.

Here is the call graph for this function:

◆ qg_field_analytic_init_c()

subroutine qg_field_analytic_init_c ( integer(c_int), intent(in)  c_key_fld,
integer(c_int), intent(in)  c_key_geom,
type(c_ptr), intent(in)  c_conf,
type(c_ptr), intent(inout)  c_dt 
)
Parameters
[in]c_key_fldFields
[in]c_key_geomGrid information
[in]c_confConfiguration
[in,out]c_dtDateTime

Definition at line 375 of file qg_fields_interface.F90.

Here is the call graph for this function:

◆ qg_field_axpy_c()

subroutine qg_field_axpy_c ( integer(c_int), intent(in)  c_key_self,
real(c_double), intent(in)  c_zz,
integer(c_int), intent(in)  c_key_rhs 
)

Definition at line 192 of file qg_fields_interface.F90.

Here is the call graph for this function:

◆ qg_field_change_resol_c()

subroutine qg_field_change_resol_c ( integer(c_int), intent(in)  c_key_fld,
integer(c_int), intent(in)  c_key_rhs 
)

Definition at line 275 of file qg_fields_interface.F90.

Here is the call graph for this function:

◆ qg_field_copy_c()

subroutine qg_field_copy_c ( integer(c_int), intent(in)  c_key_self,
integer(c_int), intent(in)  c_key_rhs 
)

Definition at line 101 of file qg_fields_interface.F90.

Here is the call graph for this function:

◆ qg_field_create_c()

subroutine qg_field_create_c ( integer(c_int), intent(inout)  c_key_self,
integer(c_int), intent(in)  c_key_geom,
integer(c_int), dimension(*), intent(in)  c_vars 
)

Interfaces to be called from C++ for Fortran handling of QG model fields.

Parameters
[in]c_key_geomGeometry
[in]c_varsList of variables

Definition at line 14 of file qg_fields_interface.F90.

Here is the call graph for this function:

◆ qg_field_delete_c()

subroutine qg_field_delete_c ( integer(c_int), intent(inout)  c_key_self)

Definition at line 41 of file qg_fields_interface.F90.

Here is the call graph for this function:

◆ qg_field_diff_incr_c()

subroutine qg_field_diff_incr_c ( integer(c_int), intent(in)  c_key_lhs,
integer(c_int), intent(in)  c_key_x1,
integer(c_int), intent(in)  c_key_x2 
)

Definition at line 254 of file qg_fields_interface.F90.

Here is the call graph for this function:

◆ qg_field_dirac_c()

subroutine qg_field_dirac_c ( integer(c_int), intent(in)  c_key_self,
type(c_ptr), intent(in)  c_conf 
)
Parameters
[in]c_confConfiguration

Definition at line 72 of file qg_fields_interface.F90.

Here is the call graph for this function:

◆ qg_field_dot_prod_c()

subroutine qg_field_dot_prod_c ( integer(c_int), intent(in)  c_key_fld1,
integer(c_int), intent(in)  c_key_fld2,
real(c_double), intent(inout)  c_prod 
)

Definition at line 215 of file qg_fields_interface.F90.

Here is the call graph for this function:

◆ qg_field_field_from_ug_c()

subroutine qg_field_field_from_ug_c ( integer(c_int), intent(in)  c_key_fld,
integer(c_int), intent(in)  c_key_ug 
)

Definition at line 336 of file qg_fields_interface.F90.

Here is the call graph for this function:

◆ qg_field_field_to_ug_c()

subroutine qg_field_field_to_ug_c ( integer(c_int), intent(in)  c_key_fld,
integer(c_int), intent(in)  c_key_ug,
integer(c_int), intent(in)  c_colocated 
)

Definition at line 314 of file qg_fields_interface.F90.

Here is the call graph for this function:

◆ qg_field_getpoint_c()

subroutine qg_field_getpoint_c ( integer(c_int), intent(in)  c_key_fld,
integer(c_int), intent(in)  c_key_iter,
integer(c_int), intent(in)  c_nval,
real(c_double), dimension(c_nval), intent(inout)  c_vals 
)

Definition at line 451 of file qg_fields_interface.F90.

◆ qg_field_gpnorm_c()

subroutine qg_field_gpnorm_c ( integer(c_int), intent(in)  c_key_fld,
integer(c_int), intent(in)  kf,
real(c_double), dimension(3*kf), intent(inout)  pstat 
)

Definition at line 423 of file qg_fields_interface.F90.

Here is the call graph for this function:

◆ qg_field_interp_ad_c()

subroutine qg_field_interp_ad_c ( integer(c_int), intent(in)  c_key_fld,
integer(c_int), intent(in)  c_key_loc,
integer(c_int), dimension(*), intent(in)  c_vars,
integer(c_int), intent(in)  c_key_gom 
)
Parameters
[in]c_key_fldFields to be interpolated
[in]c_key_locList of requested locations
[in]c_varsList of variables
[in]c_key_gomInterpolated values

Definition at line 534 of file qg_fields_interface.F90.

Here is the call graph for this function:

◆ qg_field_interp_tl_c()

subroutine qg_field_interp_tl_c ( integer(c_int), intent(in)  c_key_fld,
integer(c_int), intent(in)  c_key_loc,
integer(c_int), dimension(*), intent(in)  c_vars,
integer(c_int), intent(in)  c_key_gom 
)
Parameters
[in]c_key_fldFields to be interpolated
[in]c_key_locList of requested locations
[in]c_varsList of variables
[in]c_key_gomInterpolated values

Definition at line 507 of file qg_fields_interface.F90.

Here is the call graph for this function:

◆ qg_field_random_c()

subroutine qg_field_random_c ( integer(c_int), intent(in)  c_key_self)

Definition at line 87 of file qg_fields_interface.F90.

Here is the call graph for this function:

◆ qg_field_read_file_c()

subroutine qg_field_read_file_c ( integer(c_int), intent(in)  c_key_fld,
type(c_ptr), intent(in)  c_conf,
type(c_ptr), intent(inout)  c_dt 
)
Parameters
[in]c_key_fldFields
[in]c_confConfiguration
[in,out]c_dtDateTime

Definition at line 355 of file qg_fields_interface.F90.

Here is the call graph for this function:

◆ qg_field_rms_c()

subroutine qg_field_rms_c ( integer(c_int), intent(in)  c_key_fld,
real(c_double), intent(inout)  prms 
)

Definition at line 486 of file qg_fields_interface.F90.

Here is the call graph for this function:

◆ qg_field_self_add_c()

subroutine qg_field_self_add_c ( integer(c_int), intent(in)  c_key_self,
integer(c_int), intent(in)  c_key_rhs 
)

Definition at line 119 of file qg_fields_interface.F90.

Here is the call graph for this function:

◆ qg_field_self_mul_c()

subroutine qg_field_self_mul_c ( integer(c_int), intent(in)  c_key_self,
real(c_double), intent(in)  c_zz 
)

Definition at line 173 of file qg_fields_interface.F90.

Here is the call graph for this function:

◆ qg_field_self_schur_c()

subroutine qg_field_self_schur_c ( integer(c_int), intent(in)  c_key_self,
integer(c_int), intent(in)  c_key_rhs 
)

Definition at line 137 of file qg_fields_interface.F90.

Here is the call graph for this function:

◆ qg_field_self_sub_c()

subroutine qg_field_self_sub_c ( integer(c_int), intent(in)  c_key_self,
integer(c_int), intent(in)  c_key_rhs 
)

Definition at line 155 of file qg_fields_interface.F90.

Here is the call graph for this function:

◆ qg_field_ug_coord_c()

subroutine qg_field_ug_coord_c ( integer(c_int), intent(in)  c_key_fld,
integer(c_int), intent(in)  c_key_ug,
integer(c_int), intent(in)  c_colocated 
)

Definition at line 292 of file qg_fields_interface.F90.

Here is the call graph for this function:

◆ qg_field_write_file_c()

subroutine qg_field_write_file_c ( integer(c_int), intent(in)  c_key_fld,
type(c_ptr), intent(in)  c_conf,
type(c_ptr), intent(in)  c_dt 
)
Parameters
[in]c_key_fldFields
[in]c_confConfiguration
[in]c_dtDateTime

Definition at line 402 of file qg_fields_interface.F90.

Here is the call graph for this function:

◆ qg_field_zero_c()

subroutine qg_field_zero_c ( integer(c_int), intent(in)  c_key_self)

Definition at line 58 of file qg_fields_interface.F90.

Here is the call graph for this function:

◆ qg_fieldnum_c()

subroutine qg_fieldnum_c ( integer(c_int), intent(in)  c_key_fld,
integer(kind=c_int), intent(inout)  c_nx,
integer(kind=c_int), intent(inout)  c_ny,
integer(kind=c_int), intent(inout)  c_nf,
integer(kind=c_int), intent(inout)  c_nb,
integer(kind=c_int), intent(inout)  c_nl 
)

Definition at line 561 of file qg_fields_interface.F90.