|
PHYEX 0.9.5
PHYsique EXternalisée
|
MODE_BUDGET_OFFLINE - simple implementation of the budget data structure for offline use. More...
Go to the source code of this file.
Data Types | |
| type | mode_budget_offline::tbudgetdata_offline |
Modules | |
| module | mode_budget_offline |
Functions/Subroutines | |
| subroutine, public | mode_budget_offline::budget_offline_conf (kbudgets, obudget) |
| subroutine, public | mode_budget_offline::budget_offline_get_size (knbud) |
| subroutine, public | mode_budget_offline::budget_offline_get_names (knbud, kbudget, hnames) |
| subroutine, public | mode_budget_offline::budget_offline_get (kdimij, kdimk, knbud, ptend) |
Variables | |
| integer, parameter | mode_budget_offline::nbuoff_max =200 |
| integer, parameter | mode_budget_offline::nbuoff_namelen =16 |
| integer | mode_budget_offline::nbuoff_n =0 |
| integer, dimension(nbuoff_max) | mode_budget_offline::nbuoff_budget =0 |
| character(len=nbuoff_namelen), dimension(nbuoff_max) | mode_budget_offline::cbuoff_name =' ' |
| real, dimension(:,:,:), allocatable | mode_budget_offline::xbuoff_tend |
| real, dimension(:,:,:), allocatable | mode_budget_offline::xbuoff_init |
| character(len=nbuoff_namelen), dimension(nbudget_rh) | mode_budget_offline::cbuoff_pending =' ' |
MODE_BUDGET_OFFLINE - simple implementation of the budget data structure for offline use.
The contributions of the different processes are stored in a module array, as long as budgets are not read (and reset) with BUDGET_OFFLINE_GET. This array is indexed by entries, an entry being a (budget variable, process name) couple. Entries are registered the first time they are encountered.
The intended use (python binding) is:
The INIT_PHY/END_PHY pairs contribute with the difference between the field given to END_PHY and the field given to INIT_PHY; ADD_PHY adds directly the field. In all cases, contributions are accumulated until the next call to BUDGET_OFFLINE_GET.
S. Riette
Original Nov 2026
Definition in file mode_budget_offline.F90.