record_util.py¶
Utility functions related to recording or execution metadata.
-
openmdao.util.record_util.
create_local_meta
(metadata, name)[source]¶ Creates the metadata dictionary for this level of execution.
Args: metadata : dict
Dictionary containing the metadata passed from the parent level.
name : str
String to describe the current level of execution.
-
openmdao.util.record_util.
format_iteration_coordinate
(coord)[source]¶ Formats the iteration coordinate to a human-readable string.
Args: coord : list
List containing the iteration coordinate.
-
openmdao.util.record_util.
update_local_meta
(local_meta, iteration)[source]¶ Updates the local metadata dictionary to prepare for a new iteration.
Args: local_meta : dict
Dictionary containing the execution metadata at the current level.
parent : list
List containing the parent iteration coordinate.
iteration : tuple(int)
Tuple of integers representing the current iteration and any sub-iterations.