LCOV - code coverage report
Current view: top level - src/userobjects - PorousFlowFluidStateSingleComponentBase.C (source / functions) Hit Total Coverage
Test: idaholab/moose porous_flow: #32971 (54bef8) with base c6cf66 Lines: 12 13 92.3 %
Date: 2026-05-29 20:38:56 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 "PorousFlowFluidStateSingleComponentBase.h"
      11             : 
      12             : InputParameters
      13         130 : PorousFlowFluidStateSingleComponentBase::validParams()
      14             : {
      15         130 :   InputParameters params = PorousFlowFluidStateBase::validParams();
      16         260 :   params.addParam<unsigned int>("fluid_component", 0, "The fluid component number");
      17         130 :   params.addClassDescription("Base class for single component fluid state classes");
      18         130 :   return params;
      19           0 : }
      20             : 
      21          65 : PorousFlowFluidStateSingleComponentBase::PorousFlowFluidStateSingleComponentBase(
      22          65 :     const InputParameters & parameters)
      23             :   : PorousFlowFluidStateBase(parameters),
      24          65 :     _fluid_component(getParam<unsigned int>("fluid_component")),
      25          65 :     _pidx(0),
      26          65 :     _hidx(1),
      27          65 :     _dT(1.0e-6)
      28             : {
      29          65 : }

Generated by: LCOV version 1.14