ComIn 0.5.1
ICON Community Interface
Loading...
Searching...
No Matches
point_source Namespace Reference

Detailed Description

The point_source plugin shows an example for

  • Requesting a tracer that participates in ICON's turbulence and convection scheme
  • Adding point source emissions to this tracer
  • Using KDTree of scipy to locate the point source
  • Use decomp_domain to check if the point source is local to the PE
  • Updating the tracer with tendencies received from ICON's turbulence and convection scheme
Authors
12/2023 :: 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

◆ lonlat2xyz()

lonlat2xyz ( lon,
lat )

Definition at line 42 of file point_source.py.

◆ message()

message ( message_string,
rank )

Short helper function to print a message on one PE.

Definition at line 36 of file point_source.py.

◆ pntsrc_constructor()

pntsrc_constructor ( )

Constructor: Get pointers to tracers and descriptive data.

Definition at line 48 of file point_source.py.

◆ pntsrc_destructor()

pntsrc_destructor ( )

Definition at line 128 of file point_source.py.

◆ pntsrc_emission()

pntsrc_emission ( )

Emission for pntsrc on domain 1.

Definition at line 98 of file point_source.py.

◆ pntsrc_init()

pntsrc_init ( )

Definition at line 69 of file point_source.py.

◆ pntsrc_updatePhysTends()

pntsrc_updatePhysTends ( )

Update tracer from turb and conv tendencies for domain 1.

Definition at line 106 of file point_source.py.

Constant Documentation

◆ jg

int jg = 1

Definition at line 30 of file point_source.py.

◆ msgrank

int msgrank = 0

Definition at line 31 of file point_source.py.

◆ pntsrc_lat

float pntsrc_lat = 37.421389

Definition at line 33 of file point_source.py.

◆ pntsrc_lon

float pntsrc_lon = 141.0325

Definition at line 32 of file point_source.py.

◆ tracer

tracer

Definition at line 27 of file point_source.py.

◆ tracer_conv

tracer_conv

Definition at line 27 of file point_source.py.

◆ tracer_turb

tracer_turb

Definition at line 27 of file point_source.py.

◆ True

True

Definition at line 27 of file point_source.py.