MONC
Private Member Functions | List of all members
collections_mod::c_add_logical Interface Reference

Adds a logical element to the end of the list. More...

Private Member Functions

subroutine list_add_logical (specificlist, logical_data)
 Adds an element to the end of the list. More...
 

Detailed Description

Adds a logical element to the end of the list.

This has a time complexity of O(1)

Parameters
collectionThe specific list involved
dataLogical data to add

Definition at line 240 of file collections.F90.

Member Function/Subroutine Documentation

◆ list_add_logical()

subroutine collections_mod::c_add_logical::list_add_logical ( type(list_type), intent(inout)  specificlist,
logical, intent(in)  logical_data 
)
private

Adds an element to the end of the list.

Do not call directly from external module, this is called via the appropriate interface

Parameters
specificlistThe specific list involved
dataLogical data to add

Definition at line 2948 of file collections.F90.

2948  type(list_type), intent(inout) :: specificlist
2949  logical, intent(in) :: logical_data
2950 
2951  class(*), pointer :: generic
2952 
2953  generic=>conv_to_generic(logical_data, .true.)
2954  call list_add_generic(specificlist, generic, .true.)

The documentation for this interface was generated from the following file: