LCOV - code coverage report
Current view: top level - include/postprocessors - SubChannelPointValue.h (source / functions) Hit Total Coverage
Test: idaholab/moose subchannel: #31405 (292dce) with base fef103 Lines: 2 2 100.0 %
Date: 2025-09-04 07:58:06 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             : #pragma once
      11             : 
      12             : #include "GeneralPostprocessor.h"
      13             : #include "SubChannelMesh.h"
      14             : 
      15             : /**
      16             :  * Calculates the value of a user selected variable at a user selected point in the assembly
      17             :  */
      18             : class SubChannelPointValue : public GeneralPostprocessor
      19             : {
      20             : public:
      21             :   static InputParameters validParams();
      22             :   SubChannelPointValue(const InputParameters & params);
      23        1398 :   virtual void initialize() override {}
      24             :   virtual void execute() override;
      25        1396 :   virtual void finalize() override {}
      26             :   virtual Real getValue() const override;
      27             : 
      28             : protected:
      29             :   /// geometric information
      30             :   const SubChannelMesh & _mesh;
      31             :   /// axial location [m]
      32             :   const Real & _height;
      33             :   /// subchannel index
      34             :   const int & _i_ch;
      35             :   Point _point;
      36             :   const unsigned int _var_number;
      37             :   const System & _system;
      38             :   /// value we want to calculate
      39             :   Real _value;
      40             : };

Generated by: LCOV version 1.14