LCOV - code coverage report
Current view: top level - src/base - ChainControlDataSystem.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 419b9d Lines: 9 9 100.0 %
Date: 2025-08-08 20:01:16 Functions: 4 4 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : //* This file is part of the MOOSE framework
       2             : //* https://mooseframework.inl.gov
       3             : //*
       4             : //* All rights reserved, see COPYRIGHT for full restrictions
       5             : //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
       6             : //*
       7             : //* Licensed under LGPL 2.1, please see LICENSE for details
       8             : //* https://www.gnu.org/licenses/lgpl-2.1.html
       9             : 
      10             : #include "ChainControlDataSystem.h"
      11             : 
      12       67610 : ChainControlDataSystem::ChainControlDataSystem(MooseApp & app) : _app(app) {}
      13             : 
      14             : bool
      15        2332 : ChainControlDataSystem::hasChainControlData(const std::string & data_name) const
      16             : {
      17        2332 :   return _chain_control_data_map.find(data_name) != _chain_control_data_map.end();
      18             : }
      19             : 
      20             : void
      21      303758 : ChainControlDataSystem::copyValuesBack()
      22             : {
      23      310137 :   for (const auto & item : _chain_control_data_map)
      24        6379 :     item.second->copyValuesBack();
      25      303758 : }
      26             : 
      27             : const std::map<std::string, std::unique_ptr<ChainControlDataBase>> &
      28       60579 : ChainControlDataSystem::getChainControlDataMap() const
      29             : {
      30       60579 :   return _chain_control_data_map;
      31             : }

Generated by: LCOV version 1.14