LCOV - code coverage report
Current view: top level - src/postprocessors - HeatStructureEnergy.C (source / functions) Hit Total Coverage
Test: idaholab/moose thermal_hydraulics: #30301 (3b550b) with base 2ad78d Lines: 0 12 0.0 %
Date: 2025-07-30 13:02:48 Functions: 0 3 0.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 "HeatStructureEnergy.h"
      11             : 
      12             : registerMooseObject("ThermalHydraulicsApp", HeatStructureEnergy);
      13             : 
      14             : InputParameters
      15           0 : HeatStructureEnergy::validParams()
      16             : {
      17           0 :   InputParameters params = HeatStructureEnergyBase::validParams();
      18             : 
      19           0 :   params.addClassDescription("Computes the total energy for a plate heat structure.");
      20             : 
      21           0 :   params.addRequiredParam<Real>("plate_depth", "Depth of the heat structure if plate-type");
      22             : 
      23           0 :   return params;
      24           0 : }
      25             : 
      26           0 : HeatStructureEnergy::HeatStructureEnergy(const InputParameters & parameters)
      27           0 :   : HeatStructureEnergyBase(parameters), _plate_depth(getParam<Real>("plate_depth"))
      28             : {
      29           0 :   addMooseVariableDependency(_T_var);
      30           0 : }
      31             : 
      32             : Real
      33           0 : HeatStructureEnergy::computeQpIntegral()
      34             : {
      35           0 :   return HeatStructureEnergyBase::computeQpIntegral() * _plate_depth;
      36             : }

Generated by: LCOV version 1.14