plopm.utils.initialization module
Utiliy functions to set the requiried input values by plopm
- plopm.utils.initialization.handle_blocks(cfg: ConfigPlopm) None
For block i,j,k quantities, do not split the commas
- plopm.utils.initialization.ini_cfg(cmdargs: dict) ConfigPlopm
Initialize the configuration dataclass
- plopm.utils.initialization.ini_properties(cfg: ConfigPlopm) None
Define the properties to plot
- plopm.utils.initialization.ini_summary(cfg: ConfigPlopm) None
Initialize the needed objects for the summary plots
- plopm.utils.initialization.initialize_mass(mskl: float) str
Initialize the mass properties according to the given variable
- plopm.utils.initialization.initialize_spatial(unit: str) tuple[float, str]
Handle the units for the axis in the spatial maps
- plopm.utils.initialization.is_summary(cfg: ConfigPlopm) bool
Check flag arguments and files for summary plot