LCOV - code coverage report
Current view: top level - src/indicators - OpenMCIndicator.C (source / functions) Hit Total Coverage
Test: neams-th-coe/cardinal: be601f Lines: 7 7 100.0 %
Date: 2025-07-15 20:50:38 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 "OpenMCIndicator.h"
      22             : 
      23             : #include "libmesh/threads.h"
      24             : 
      25             : InputParameters
      26          72 : OpenMCIndicator::validParams()
      27             : {
      28          72 :   auto params = Indicator::validParams();
      29          72 :   return params;
      30             : }
      31             : 
      32          36 : OpenMCIndicator::OpenMCIndicator(const InputParameters & parameters)
      33             :   : Indicator(parameters),
      34             :     OpenMCBase(this, parameters),
      35          72 :     _field_var(_subproblem.getStandardVariable(_tid, name())),
      36          36 :     _current_elem(_field_var.currentElem())
      37             : {
      38          36 : }
      39             : 
      40             : #endif

Generated by: LCOV version 1.14