LCOV - code coverage report
Current view: top level - src/userobjects - PorousFlowFluidStateSingleComponentBase.C (source / functions) Hit Total Coverage
Test: idaholab/moose porous_flow: #31405 (292dce) with base fef103 Lines: 12 13 92.3 %
Date: 2025-09-04 07:55: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         270 : PorousFlowFluidStateSingleComponentBase::validParams()
      14             : {
      15         270 :   InputParameters params = PorousFlowFluidStateBase::validParams();
      16         540 :   params.addParam<unsigned int>("fluid_component", 0, "The fluid component number");
      17         270 :   params.addClassDescription("Base class for single component fluid state classes");
      18         270 :   return params;
      19           0 : }
      20             : 
      21         135 : PorousFlowFluidStateSingleComponentBase::PorousFlowFluidStateSingleComponentBase(
      22         135 :     const InputParameters & parameters)
      23             :   : PorousFlowFluidStateBase(parameters),
      24         135 :     _fluid_component(getParam<unsigned int>("fluid_component")),
      25         135 :     _pidx(0),
      26         135 :     _hidx(1),
      27         135 :     _dT(1.0e-6)
      28             : {
      29         135 : }

Generated by: LCOV version 1.14