ICON Community Interface 0.4.0
Loading...
Searching...
No Matches
test_datatypes Namespace Reference

Test plugin for the ICON Community Interface (ComIn) More...

Functions

 simple_python_constructor ()
 
 check ()
 

Variables

dict comin_datatypes
 
dict numpy_datatypes
 
tuple descr = ("test_var_" + name, 1)
 
 datatype
 
dict var_handles = {}
 

Detailed Description

Test plugin for the ICON Community Interface (ComIn)

Creates variables with different datatypes and checks the corresponding buffer

Authors
12/2024 :: ICON Community Interface comin.nosp@m.@ico.nosp@m.n-mod.nosp@m.el.o.nosp@m.rg

SPDX-License-Identifier: BSD-3-Clause

Please see the file LICENSE in the root of the source tree for this code. Where software is supplied by third parties, it is indicated in the headers of the routines.

Function Documentation

◆ check()

test_datatypes.check ( )

Definition at line 52 of file test_datatypes.py.

◆ simple_python_constructor()

test_datatypes.simple_python_constructor ( )

Definition at line 40 of file test_datatypes.py.

Here is the call graph for this function:

Variable Documentation

◆ comin_datatypes

dict test_datatypes.comin_datatypes
Initial value:
1= {
2 "dp": comin.COMIN_VAR_DATATYPE_DOUBLE,
3 "sp": comin.COMIN_VAR_DATATYPE_FLOAT,
4 "i": comin.COMIN_VAR_DATATYPE_INT,
5}

Definition at line 19 of file test_datatypes.py.

◆ datatype

test_datatypes.datatype

Definition at line 33 of file test_datatypes.py.

◆ descr

test_datatypes.descr = ("test_var_" + name, 1)

Definition at line 31 of file test_datatypes.py.

◆ numpy_datatypes

dict test_datatypes.numpy_datatypes
Initial value:
1= {
2 "dp": np.double,
3 "sp": np.single,
4 "i": np.intc,
5}

Definition at line 24 of file test_datatypes.py.

◆ var_handles

dict test_datatypes.var_handles = {}

Definition at line 36 of file test_datatypes.py.