YAC 3.21.0
Yet Another Coupler
Loading...
Searching...
No Matches
mo_yac_iso_c_helpers Module Reference

Functions/Subroutines

character(len=:) function, allocatable, public yac_internal_cptr2char (cptr)
 Convertes a C-pointer to a C-string to a Fortran string.
 
type(c_ptr) function, public yac_dble2cptr (routine, ptr_name, dble_ptr)
 

Variables

character(len= *), parameter, public yac_component_has_metadata_hint = "(use yac_fcomponent_has_metadata to check for the existence of " // "metadata before calling yac_fget_component_metadata)"
 
character(len= *), parameter, public yac_grid_has_metadata_hint = "(use yac_fgrid_has_metadata to check for the existence of " // "metadata before calling yac_fget_grid_metadata)"
 
character(len= *), parameter, public yac_field_has_metadata_hint = "(use yac_ffield_has_metadata to check for the existence of " // "metadata before calling yac_fget_field_metadata)"
 

Function/Subroutine Documentation

◆ yac_dble2cptr()

type(c_ptr) function, public mo_yac_iso_c_helpers::yac_dble2cptr ( character(len=*), intent(in) routine,
character(len=*), intent(in) ptr_name,
type(yac_dble_ptr), intent(in) dble_ptr )

Definition at line 70 of file yac_global.F90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_internal_cptr2char()

character(len=:) function, allocatable, public mo_yac_iso_c_helpers::yac_internal_cptr2char ( type(c_ptr), intent(in) cptr)

Convertes a C-pointer to a C-string to a Fortran string.

Parameters
[in]cptrC-cointer to C-string
Returns
Fortran string

Definition at line 42 of file yac_global.F90.

Here is the caller graph for this function:

Variable Documentation

◆ yac_component_has_metadata_hint

character(len=*), parameter, public mo_yac_iso_c_helpers::yac_component_has_metadata_hint = "(use yac_fcomponent_has_metadata to check for the existence of " // "metadata before calling yac_fget_component_metadata)"

Definition at line 16 of file yac_global.F90.

◆ yac_field_has_metadata_hint

character(len=*), parameter, public mo_yac_iso_c_helpers::yac_field_has_metadata_hint = "(use yac_ffield_has_metadata to check for the existence of " // "metadata before calling yac_fget_field_metadata)"

Definition at line 24 of file yac_global.F90.

◆ yac_grid_has_metadata_hint

character(len=*), parameter, public mo_yac_iso_c_helpers::yac_grid_has_metadata_hint = "(use yac_fgrid_has_metadata to check for the existence of " // "metadata before calling yac_fget_grid_metadata)"

Definition at line 20 of file yac_global.F90.