LCOV - code coverage report
Current view: top level - src/vectorpostprocessors - Sampler1DBase.C (source / functions) Hit Total Coverage
Test: idaholab/moose thermal_hydraulics: #30301 (3b550b) with base 2ad78d Lines: 7 8 87.5 %
Date: 2025-07-30 13:02:48 Functions: 1 1 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 "Sampler1DBase.h"
      11             : 
      12             : template <>
      13             : InputParameters
      14          38 : Sampler1DBase<Real>::validParams()
      15             : {
      16          38 :   InputParameters params = GeneralVectorPostprocessor::validParams();
      17          38 :   params += SamplerBase::validParams();
      18          38 :   params += BlockRestrictable::validParams();
      19             : 
      20          76 :   params.addRequiredParam<std::vector<std::string>>(
      21             :       "property", "Names of the material properties to be output along a line");
      22             : 
      23             :   // This parameter exists in BlockRestrictable, but it is made required here
      24             :   // because it is undesirable to use the default, which is to add all blocks.
      25          76 :   params.addRequiredParam<std::vector<SubdomainName>>(
      26             :       "block", "The list of block ids (SubdomainID) for which this object will be applied");
      27             : 
      28          38 :   return params;
      29           0 : }

Generated by: LCOV version 1.14