File DiagnosticManager_Mod.F90¶
FileList > core > DiagnosticManager_Mod.F90
Go to the source code of this file
Central diagnostic manager integrating with CATChem framework. More...
Namespaces¶
| Type | Name |
|---|---|
| namespace | diagnosticmanager_mod |
Detailed Description¶
Author:
CATChem Development Team
Date:
2025
Version:
2.0
This module provides a central diagnostic manager that integrates the dynamic diagnostic system with the existing CATChem framework (StateContainer, ProcessManager, ConfigManager, ErrorManager).
The DiagnosticManager: * Manages diagnostic registries for all processes * Integrates with StateContainer for state management * Uses ErrorManager for consistent error handling * Supports ConfigManager for output configuration * Provides centralized diagnostic collection and output * Replaces static diagstate_mod with dynamic system
Usage Example¶
use diagnosticmanager_mod
type(DiagnosticManagerType) :: diag_mgr
type(StateContainerType) :: container
integer :: rc
! Initialize diagnostic manager
call diag_mgr%init(container, rc)
! Processes register their diagnostics via process manager
call process_mgr%run_all(container, rc)
! Collect and write diagnostics
call diag_mgr%collect_all_diagnostics(container, rc)
call diag_mgr%write_output(container, rc)
The documentation for this class was generated from the following file src/core/DiagnosticManager_Mod.F90