MPI-AMRVAC 3.2
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
Loading...
Searching...
No Matches
Data Types | Functions/Subroutines
mod_phys_dict Module Reference

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)
 

Detailed Description

Quick module that mimics the behaviour of python dictionaries for passing attributes around without explicit dependencies.

Jack Jenkins Dec 2025

Function/Subroutine Documentation

◆ get_dict_flag()

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.

◆ set_dict_flag()

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.