ICON Community Interface 0.4.0
Loading...
Searching...
No Matches
comin_variable Module Reference

Functions/Subroutines

type(c_ptr) function, public comin_var_get_descr_list_head ()
 Get first element of variable descriptor list. Returns a C-pointer that can be evaluated with the auxiliary function comin_var_get_descr_list_var_desc.
 
type(c_ptr) function, public comin_var_get_descr_list_next (current)
 Get next element of variable descriptor list. Returns a C-pointer that can be evaluated with the auxiliary function comin_var_get_descr_list_var_desc. Returns null pointer if end of list has been reached.
 
type(c_ptr) function, public comin_request_get_list ()
 
subroutine, public comin_var_get_descr_list_var_desc (it, var_desc_out)
 Auxiliary function: Evaluates a list iterator of the variable descriptor list and returns the corresponding variable descriptor.
 
subroutine, public comin_var_descr_list_iterator_delete (it)
 Delete list iterator.
 
subroutine, public comin_var_list_append (var_descr, cptr, device_ptr, array_shape, type_id, dim_semantics, lcontainer, ncontained, var_handle)
 Append item to variable list.
 
subroutine, public comin_var_descr_list_finalize ()
 Destruct variable descriptor list, deallocate memory.
 
subroutine, public comin_var_list_finalize ()
 Destruct variable list, deallocate memory.
 
subroutine, public comin_var_request_list_finalize ()
 Destruct variable request list, deallocate memory.
 
subroutine, public comin_var_get (context, var_descriptor, flag, var_ptr)
 Request a pointer to an ICON variable in context(s).
 
type(t_comin_var_item) function, pointer, public comin_var_get_from_exposed (var_descriptor)
 get pointer to a variable exposed by ICON
 
subroutine, public comin_var_request_add (var_descriptor, lmodexclusive)
 By calling this subroutine inside the primary constructor, 3rd party plugins may request the creation of additional variables.
 
subroutine, public comin_var_complete ()
 
subroutine, public comin_var_set_sync_device_mem (sync_device_mem)
 
subroutine, public comin_var_set_sync_halo (sync_halo)
 
subroutine, public comin_var_set_cptr (var, cptr)
 
logical function, public comin_var_is_used (var_descriptor)
 Check if a variable is actually used by any comin plugin.
 

Function/Subroutine Documentation

◆ comin_var_complete()

subroutine, public comin_variable::comin_var_complete

Definition at line 619 of file comin_variable.F90.

Here is the caller graph for this function:

◆ comin_var_descr_list_finalize()

subroutine, public comin_variable::comin_var_descr_list_finalize

Destruct variable descriptor list, deallocate memory.

Definition at line 202 of file comin_variable.F90.

◆ comin_var_descr_list_iterator_delete()

subroutine, public comin_variable::comin_var_descr_list_iterator_delete ( type(c_ptr), intent(inout) it)

Delete list iterator.

Definition at line 147 of file comin_variable.F90.

◆ comin_var_get_descr_list_head()

type(c_ptr) function, public comin_variable::comin_var_get_descr_list_head

Get first element of variable descriptor list. Returns a C-pointer that can be evaluated with the auxiliary function comin_var_get_descr_list_var_desc.

Definition at line 81 of file comin_variable.F90.

◆ comin_var_get_descr_list_next()

type(c_ptr) function, public comin_variable::comin_var_get_descr_list_next ( type(c_ptr), intent(in), value current)

Get next element of variable descriptor list. Returns a C-pointer that can be evaluated with the auxiliary function comin_var_get_descr_list_var_desc. Returns null pointer if end of list has been reached.

Definition at line 93 of file comin_variable.F90.

◆ comin_var_get_descr_list_var_desc()

subroutine, public comin_variable::comin_var_get_descr_list_var_desc ( type(c_ptr), intent(in), value it,
type(t_comin_var_descriptor), intent(inout) var_desc_out )

Auxiliary function: Evaluates a list iterator of the variable descriptor list and returns the corresponding variable descriptor.

Definition at line 131 of file comin_variable.F90.

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

◆ comin_var_get_from_exposed()

type(t_comin_var_item) function, pointer, public comin_variable::comin_var_get_from_exposed ( type (t_comin_var_descriptor), intent(in) var_descriptor)

get pointer to a variable exposed by ICON

Definition at line 479 of file comin_variable.F90.

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

◆ comin_var_is_used()

logical function, public comin_variable::comin_var_is_used ( type(t_comin_var_descriptor), intent(in) var_descriptor)

Check if a variable is actually used by any comin plugin.

Definition at line 710 of file comin_variable.F90.

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

◆ comin_var_set_cptr()

subroutine, public comin_variable::comin_var_set_cptr ( type(t_comin_var_handle), intent(inout) var,
type(c_ptr), intent(in) cptr )

Definition at line 700 of file comin_variable.F90.

◆ comin_var_set_sync_device_mem()

subroutine, public comin_variable::comin_var_set_sync_device_mem ( procedure(comin_var_sync_device_mem_fct) sync_device_mem)

Definition at line 631 of file comin_variable.F90.

◆ comin_var_set_sync_halo()

subroutine, public comin_variable::comin_var_set_sync_halo ( procedure(comin_var_sync_halo_fct) sync_halo)

Definition at line 640 of file comin_variable.F90.

Here is the call graph for this function: