LCOV - code coverage report
Current view: top level - src/modelmodifiers - ModelModifiersBase.C (source / functions) Hit Total Coverage
Test: neams-th-coe/cardinal: 93e9c4 Lines: 11 12 91.7 %
Date: 2026-07-16 12:06:10 Functions: 2 2 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /********************************************************************/
       2             : /*                  SOFTWARE COPYRIGHT NOTIFICATION                 */
       3             : /*                             Cardinal                             */
       4             : /*                                                                  */
       5             : /*                  (c) 2021 UChicago Argonne, LLC                  */
       6             : /*                        ALL RIGHTS RESERVED                       */
       7             : /*                                                                  */
       8             : /*                 Prepared by UChicago Argonne, LLC                */
       9             : /*               Under Contract No. DE-AC02-06CH11357               */
      10             : /*                With the U. S. Department of Energy               */
      11             : /*                                                                  */
      12             : /*             Prepared by Battelle Energy Alliance, LLC            */
      13             : /*               Under Contract No. DE-AC07-05ID14517               */
      14             : /*                With the U. S. Department of Energy               */
      15             : /*                                                                  */
      16             : /*                 See LICENSE for full restrictions                */
      17             : /********************************************************************/
      18             : 
      19             : #ifdef ENABLE_OPENMC_COUPLING
      20             : 
      21             : #include "ModelModifiersBase.h"
      22             : 
      23             : InputParameters
      24          58 : ModelModifiersBase::validParams()
      25             : {
      26          58 :   auto params = MooseObject::validParams();
      27          58 :   params += OpenMCBase::validParams();
      28             : 
      29          58 :   params.addClassDescription(
      30             :       "Base class for classes that modify the OpenMC model prior to execution");
      31          58 :   params.registerBase("ModelModifiers");
      32          58 :   params.registerSystemAttributeName("ModelModifiers");
      33          58 :   params.addPrivateParam<OpenMCCellAverageProblem *>("_openmc_problem");
      34          58 :   return params;
      35           0 : }
      36             : 
      37          32 : ModelModifiersBase::ModelModifiersBase(const InputParameters & parameters)
      38          32 :   : MooseObject(parameters), OpenMCBase(this, parameters)
      39             : {
      40          32 : }
      41             : 
      42             : #endif

Generated by: LCOV version 1.14