LCOV - code coverage report
Current view: top level - src/postprocessors - NodalVariablePostprocessor.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 2bf808 Lines: 7 8 87.5 %
Date: 2025-07-17 01:28:37 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 "NodalVariablePostprocessor.h"
      11             : #include "MooseVariable.h"
      12             : #include "SubProblem.h"
      13             : #include "MooseTypes.h"
      14             : 
      15             : InputParameters
      16      115915 : NodalVariablePostprocessor::validParams()
      17             : {
      18      115915 :   InputParameters params = NodalPostprocessor::validParams();
      19      115915 :   params.addRequiredCoupledVar("variable",
      20             :                                "The name of the variable that this postprocessor operates on");
      21      115915 :   return params;
      22           0 : }
      23             : 
      24         931 : NodalVariablePostprocessor::NodalVariablePostprocessor(const InputParameters & parameters)
      25             :   : NodalPostprocessor(parameters),
      26             :     MooseVariableInterface<Real>(this,
      27             :                                  true,
      28             :                                  "variable",
      29             :                                  Moose::VarKindType::VAR_ANY,
      30             :                                  Moose::VarFieldType::VAR_FIELD_STANDARD),
      31         931 :     _u(coupledValue("variable"))
      32             : {
      33         927 : }

Generated by: LCOV version 1.14