LCOV - code coverage report
Current view: top level - include/materials - PorousFlowRelativePermeabilityFLAC.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 POROUSFLOWRELATIVEPERMEABILITYFLAC_H
       9             : #define POROUSFLOWRELATIVEPERMEABILITYFLAC_H
      10             : 
      11             : #include "PorousFlowRelativePermeabilityBase.h"
      12             : #include "PorousFlowFLACrelperm.h"
      13             : 
      14             : class PorousFlowRelativePermeabilityFLAC;
      15             : 
      16             : template <>
      17             : InputParameters validParams<PorousFlowRelativePermeabilityFLAC>();
      18             : 
      19             : /**
      20             :  * Material to calculate relative permeability inspired by the
      21             :  * formula used in FLAC:
      22             :  * relperm = (1 + m) seff^m - m seff^(m + 1)
      23             :  */
      24          33 : class PorousFlowRelativePermeabilityFLAC : public PorousFlowRelativePermeabilityBase
      25             : {
      26             : public:
      27             :   PorousFlowRelativePermeabilityFLAC(const InputParameters & parameters);
      28             : 
      29             : protected:
      30             :   virtual Real relativePermeability(Real seff) const override;
      31             :   virtual Real dRelativePermeability(Real seff) const override;
      32             : 
      33             :   /// exponent m for the specified phase
      34             :   const Real _m;
      35             : };
      36             : 
      37             : #endif // POROUSFLOWRELATIVEPERMEABILITYFLAC_H

Generated by: LCOV version 1.11