ComIn 0.5.1
ICON Community Interface
Loading...
Searching...
No Matches
descrdata.py
Go to the documentation of this file.
1# @authors 11/2023 :: ICON Community Interface <comin@icon-model.org>
2#
3# SPDX-License-Identifier: BSD-3-Clause
4#
5# Please see the file LICENSE in the root of the source tree for this code.
6# Where software is supplied by third parties, it is indicated in the
7# headers of the routines.
8
9import comin
10
11comin.print_info(comin.current_get_plugin_info())
12
14comin.print_info(f"{dir(domain)=}")
15comin.print_info(f"{dir(domain.cells)=}")
16comin.print_info(f"{domain.cells.clon=}")
17comin.print_info(f"{ {name: getattr(domain, name) for name in dir(domain)}=}")
18
20comin.print_info(f"{ {name: getattr(glob, name) for name in dir(glob)}=}")
21
22comin.print_info(f"{comin.descrdata_get_simulation_interval()=}")
23comin.print_info(f"{comin.descrdata_get_cell_block_limits(1, 5, -4)=}")
24comin.print_info(f"{comin.descrdata_get_cell_indices(42, 1, 3, 2, 3, 4)=}")
25comin.print_info(f"{comin.descrdata_get_cell_npromz(1)=}")
26comin.print_info(f"{comin.descrdata_get_edge_npromz(1)=}")
27comin.print_info(f"{comin.descrdata_get_vert_npromz(1)=}")
28comin.print_info(f"{comin.descrdata_index_lookup_glb2loc_cell(1,42)=}")
29comin.print_info(f"{comin.setup_get_version()=}")
30
31comin.print_info(f"{comin.parallel_get_host_mpi_rank()=}")
32
33
34@comin.register_callback(comin.EP_ATM_PHYSICS_BEFORE)
35def phy():
36 comin.print_info(f"{comin.current_get_domain_id()=}")
37 comin.print_info(f"{comin.current_get_datetime()=}")
_descrdata descrdata_get_domain(int jg)
returns descriptive data for a given domain, arguments: jg
Definition comin.py:200
plugin_info current_get_plugin_info()
returns object describing the current plugin
Definition comin.py:179
_descrdata descrdata_get_global()
returns global descriptive data object
Definition comin.py:205