LCOV - code coverage report
Current view: top level - include/materials - PorousFlowRelativePermeabilityBW.h (source / functions) Hit Total Coverage
Test: porous_flow Test Coverage Lines: 1 1 100.0 %
Date: 2017-11-21 14:47:27 Functions: 1 2 50.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /****************************************************************/
       2             : /* MOOSE - Multiphysics Object Oriented Simulation Environment  */
       3             : /*                                                              */
       4             : /*          All contents are licensed under LGPL V2.1           */
       5             : /*             See LICENSE for full restrictions                */
       6             : /****************************************************************/
       7             : 
       8             : #ifndef POROUSFLOWRELATIVEPERMEABILITYBW_H
       9             : #define POROUSFLOWRELATIVEPERMEABILITYBW_H
      10             : 
      11             : #include "PorousFlowRelativePermeabilityBase.h"
      12             : #include "PorousFlowBroadbridgeWhite.h"
      13             : 
      14             : class PorousFlowRelativePermeabilityBW;
      15             : 
      16             : template <>
      17             : InputParameters validParams<PorousFlowRelativePermeabilityBW>();
      18             : 
      19             : /**
      20             :  * Material that calculates the Broadbridge-White relative permeability
      21             :  * P Broadbridge, I White ``Constant rate rainfall
      22             :  * infiltration: A versatile nonlinear model, 1 Analytical solution''.
      23             :  * Water Resources Research 24 (1988) 145--154.
      24             :  */
      25           6 : class PorousFlowRelativePermeabilityBW : public PorousFlowRelativePermeabilityBase
      26             : {
      27             : public:
      28             :   PorousFlowRelativePermeabilityBW(const InputParameters & parameters);
      29             : 
      30             : protected:
      31             :   virtual Real relativePermeability(Real seff) const override;
      32             :   virtual Real dRelativePermeability(Real seff) const override;
      33             : 
      34             :   /// BW's low saturation
      35             :   const Real _sn;
      36             : 
      37             :   /// BW's high saturation
      38             :   const Real _ss;
      39             : 
      40             :   /// BW's low relative permeability
      41             :   const Real _kn;
      42             : 
      43             :   /// BW's high relative permeability
      44             :   const Real _ks;
      45             : 
      46             :   /// BW's C parameter
      47             :   const Real _c;
      48             : };
      49             : 
      50             : #endif // POROUSFLOWRELATIVEPERMEABILITYBW_H

Generated by: LCOV version 1.11