LCOV - code coverage report
Current view: top level - src/vectorpostprocessors - PointValueSampler.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 419b9d Lines: 9 10 90.0 %
Date: 2025-08-08 20:01:16 Functions: 2 2 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 "PointValueSampler.h"
      11             : 
      12             : #include <numeric>
      13             : 
      14             : registerMooseObject("MooseApp", PointValueSampler);
      15             : 
      16             : InputParameters
      17       14735 : PointValueSampler::validParams()
      18             : {
      19       14735 :   InputParameters params = PointVariableSamplerBase::validParams();
      20       14735 :   params.addClassDescription("Sample a variable at specific points.");
      21       14735 :   params.addRequiredParam<std::vector<Point>>(
      22             :       "points", "The points where you want to evaluate the variables");
      23             : 
      24       14735 :   return params;
      25           0 : }
      26             : 
      27         235 : PointValueSampler::PointValueSampler(const InputParameters & parameters)
      28         235 :   : PointVariableSamplerBase(parameters)
      29             : {
      30         235 :   _points = getParam<std::vector<Point>>("points");
      31         235 : }

Generated by: LCOV version 1.14