Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.12 KB

Plugging.md

File metadata and controls

33 lines (23 loc) · 1.12 KB

PHYEX PLUGGING DOCUMENTATION

About this section

The PHYEX parametrisations can be called from the Meso-NH and AROME models, from test programs and from a driver. This document is intended for developers who want to plug in the physics in a new model or program.

Interfaces

The folowing routines are identified as the interfaces of the physics:

  • lima_adjust_split
  • ice_adjust
  • shallow_mf
  • turb
  • lima
  • rain_ice, rain_ice_old
  • ini_\phyex

These interfaces are declared in the corresponding modi_* files.

Hooks

The code provided in the common directory is independent, it can be compiled and used without dependency except the fiat package. For more interaction with the hosting model, some subroutine can receive a specific implementation. The following codes already have specific implementations for the Meso-NH and AROME models and are therefore quite likely to receive a new implementation before plugging into another host model.

  • mode_budget: to store and/or compute statistics on variable tendencies
  • mode_msg: to print messages and abort on error