ICON Community Interface 0.4.0
Loading...
Searching...
No Matches
comin_plugin_types.F90
Go to the documentation of this file.
1
3!
4! @authors 06/2023 :: ICON Community Interface <comin@icon-model.org>
5!
6! SPDX-License-Identifier: BSD-3-Clause
7!
8! See LICENSES for license information.
9! Where software is supplied by third parties, it is indicated in the
10! headers of the routines.
11!
13
14 IMPLICIT NONE
15
16 PRIVATE
17
19 PUBLIC :: t_comin_plugin_info
20
21#include "comin_global.inc"
22
26 ! name of the plugin - currently only used for messages
27 CHARACTER(LEN=COMIN_MAX_LEN_PLUGIN_NAME) :: name = ""
28
29 ! full name of plugin shared library (including `.so` file
30 ! extension) or "icon" for static linking.
31 CHARACTER(LEN=COMIN_MAX_LEN_PLUGIN_LIBRARY) :: plugin_library = ""
32
33 ! name of primary constructor.
34 CHARACTER(LEN=COMIN_MAX_LEN_PRIMARY_CONSTRUCTOR) :: primary_constructor = "comin_main"
35
36 ! options string: offers the possibility to pass a character
37 ! string (e.g. a python script filename) to the plugin.
38 CHARACTER(LEN=COMIN_MAX_LEN_OPTIONS) :: options = ""
39
40 ! name of MPI communicator. left as an empty string if the
41 ! application does not require a communicator for this plugin.
42 CHARACTER(LEN=COMIN_MAX_LEN_COMM) :: comm = ""
43
44 LOGICAL :: log_debug = .false.
45 LOGICAL :: log_info = .true.
46 LOGICAL :: log_warning = .true.
47
49
53 INTEGER :: id
54 CHARACTER(LEN=:), ALLOCATABLE :: name
55 CHARACTER(LEN=:), ALLOCATABLE :: options
56 CHARACTER(LEN=:), ALLOCATABLE :: comm
57 LOGICAL :: errors_return = .false.
58 LOGICAL :: log_debug = .false.
59 LOGICAL :: log_info = .true.
60 LOGICAL :: log_warning = .true.
61 END TYPE t_comin_plugin_info
62
63END MODULE comin_plugin_types
Data type, describing the dynamic libraries.
The elements of this derived data type describe a 3rd party plugin.