|
MPI-AMRVAC 3.2
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
|
Quick module that mimics the behaviour of python dictionaries for passing attributes around without explicit dependencies. More...
Data Types | |
| type | phys_dict |
Functions/Subroutines | |
| subroutine, public | set_dict_flag (d, key, val) |
| logical function, public | get_dict_flag (d, key) |
Quick module that mimics the behaviour of python dictionaries for passing attributes around without explicit dependencies.
Jack Jenkins Dec 2025
| logical function, public mod_phys_dict::get_dict_flag | ( | type(phys_dict), intent(in) | d, |
| character(len=*), intent(in) | key | ||
| ) |
If key not found, return false
Definition at line 68 of file mod_phys_dict.t.
| subroutine, public mod_phys_dict::set_dict_flag | ( | type(phys_dict), intent(inout) | d, |
| character(len=*), intent(in) | key, | ||
| logical, intent(in) | val | ||
| ) |
If key exists, update it
Otherwise, append
Extend by 1
Definition at line 23 of file mod_phys_dict.t.