.. _file_utilities_command_system.h: File command_system.h ===================== |exhale_lsh| :ref:`Parent directory ` (``utilities``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS Command parsing and execution system for Gaussian Extractor. .. contents:: Contents :local: :backlinks: none Definition (``utilities/command_system.h``) ------------------------------------------- Detailed Description -------------------- Defines core command types for the Gaussian Extractor tool. Le Nhan Pham 2025 This header defines the command system architecture for the Gaussian Extractor application. It provides a unified interface for parsing command-line arguments, managing command contexts, and dispatching to appropriate command handlers. Architecture The command system consists of three main components: - CommandType enumeration defining available commands - :ref:`exhale_struct_structCommandContext` structure holding parsed parameters and state - :ref:`exhale_class_classCommandParser` class for argument parsing and validation Schedulers - extract: Process Gaussian log files and extract thermodynamic data - check-done: Identify and organize completed calculations - check-errors: Identify and organize failed calculations - check-pcm: Identify PCM convergence failures - check-all: Run comprehensive job status checks - high-kj: Calculate high-level energies with output in kJ/mol units - high-au: Calculate high-level energies with detailed output in atomic units Integration The command system integrates with: - Configuration management for default values - Job scheduler detection for resource allocation - Multi-threading and resource management systems Includes -------- - ``config_manager.h`` (:ref:`file_utilities_config_manager.h`) - ``job_management/job_scheduler.h`` (:ref:`file_job_management_job_scheduler.h`) - ``string`` - ``unordered_map`` - ``vector`` Included By ----------- - :ref:`file_ui_help_utils.h` - :ref:`file_utilities_module_executor.h` Classes ------- - :ref:`exhale_struct_structCommandContext` - :ref:`exhale_class_classCommandParser` Enums ----- - :ref:`exhale_enum_command__system_8h_1a21e038f5b8958e203d28bc4f18472352`