LCOV - code coverage report
Current view: top level - src/vectorpostprocessors - LineMaterialRealSampler.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 2bf808 Lines: 9 10 90.0 %
Date: 2025-07-17 01:28:37 Functions: 3 3 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             : // MOOSE includes
      11             : #include "LineMaterialRealSampler.h"
      12             : 
      13             : registerMooseObject("MooseApp", LineMaterialRealSampler);
      14             : 
      15             : InputParameters
      16       14309 : LineMaterialRealSampler::validParams()
      17             : {
      18       14309 :   InputParameters params = LineMaterialSamplerBase<Real>::validParams();
      19       14309 :   params.addClassDescription("Samples real-valued material properties for all quadrature points in "
      20             :                              "all elements that are intersected by a specified line");
      21       14309 :   return params;
      22           0 : }
      23             : 
      24          22 : LineMaterialRealSampler::LineMaterialRealSampler(const InputParameters & parameters)
      25          22 :   : LineMaterialSamplerBase<Real>(parameters)
      26             : {
      27          22 : }
      28             : 
      29             : Real
      30         244 : LineMaterialRealSampler::getScalarFromProperty(const Real & property, const Point & /*curr_point*/)
      31             : {
      32         244 :   return property;
      33             : }

Generated by: LCOV version 1.14