recording_manager.py

RecordingManager class definition.

class openmdao.recorders.recording_manager.RecordingManager[source]

Bases: object

Object that routes function calls to all attached recorders.

append(recorder)[source]

Add a recorder for recording.

Args:

recorder : BaseRecorder

Recorder instance.

close()[source]

Close all recorders.

record_completed_case(root, case)[source]

Record the variables in the given case.

record_derivatives(derivs, metadata)[source]

” Records derivatives if requested.

Args:

derivs : dict

Dictionary containing derivatives

metadata : dict

Metadata for iteration coordinate

record_iteration(root, metadata, dummy=False)[source]

Gathers variables for non-parallel case recorders and calls record for all recorders.

Args:

root : System

System containing variables.

metadata : dict

Metadata for iteration coordinate

dummy : bool, optional

If True, this is a dummy iteration, so no data will be colllected from the model, but collective gather call will still be made.

record_metadata(root)[source]

Record metadata for all variables of interest.

Args:

root : System

System containing variables.

startup(root)[source]

Initialization during setup.

Args:

root : System

System containing variables.