#include <host_export_handler.hpp>
◆ ExportHandler() [1/2]
  
  | 
        
          | ExportHandler::ExportHandler | ( |  | ) |  |  | default | 
 
 
◆ ExportHandler() [2/2]
      
        
          | ExportHandler::ExportHandler | ( | std::shared_ptr< Core::MainExporter > | _main_exporter, | 
        
          |  |  | ExecInfo | _exec, | 
        
          |  |  | std::size_t | _dump_interval, | 
        
          |  |  | std::size_t | _n_iter_simulation ) | 
      
 
 
◆ operator()()
Handles periodic export of simulation data. 
This operator is called during the simulation loop to periodically export simulation state. It updates the main exporter, writes particle counts, and optionally saves data based on compile-time flag.
- Parameters
- 
  
    | current_time | The current simulation time. |  | loop_counter | The current loop iteration counter. |  | simulation | The simulation unit containing the state and data to export. |  | partial_exporter | The partial exporter for writing particle and probe data. |  
 
 
 
◆ pre_post_export()
Prepares and updates the exporter with the current simulation state before/after main loop. 
This function gathers the necessary data from the simulation and reactor state and updates the main exporter with this information.
- Parameters
- 
  
    | current_time | The current simulation time. |  | simulation | The simulation unit containing the state and data to export. |  | transitioner | The flow map transitioner providing access to the reactor state. |  
 
 
 
◆ prepareEventSpan()
Prepares the event span if the event counter is enabled. 
- Parameters
- 
  
    | simulation | The simulation unit. |  
 
- Returns
- Optional span of event counts. 
 
 
◆ dump_counter
  
  | 
        
          | size_t ExportHandler::dump_counter {} |  | private | 
 
 
◆ dump_interval
  
  | 
        
          | size_t ExportHandler::dump_interval {} |  | private | 
 
 
◆ exec
◆ main_exporter
◆ n_iter_simulation
  
  | 
        
          | size_t ExportHandler::n_iter_simulation {} |  | private | 
 
 
◆ progressbar
The documentation for this class was generated from the following files: