LCOV - code coverage report
Current view: top level - include/materials - PorousFlowRelativePermeabilityConst.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 POROUSFLOWRELATIVEPERMEABILITYCONST_H
       9             : #define POROUSFLOWRELATIVEPERMEABILITYCONST_H
      10             : 
      11             : #include "PorousFlowRelativePermeabilityBase.h"
      12             : 
      13             : class PorousFlowRelativePermeabilityConst;
      14             : 
      15             : template <>
      16             : InputParameters validParams<PorousFlowRelativePermeabilityConst>();
      17             : 
      18             : /**
      19             :  * This class simply sets a constant relative permeability at the nodes. This
      20             :  * simple class is useful for testing purposes mainly
      21             :  */
      22          18 : class PorousFlowRelativePermeabilityConst : public PorousFlowRelativePermeabilityBase
      23             : {
      24             : public:
      25             :   PorousFlowRelativePermeabilityConst(const InputParameters & parameters);
      26             : 
      27             : protected:
      28             :   virtual Real relativePermeability(Real seff) const override;
      29             :   virtual Real dRelativePermeability(Real seff) const override;
      30             : 
      31             :   /// Constant relative permeability
      32             :   const Real _relperm;
      33             : };
      34             : 
      35             : #endif // POROUSFLOWRELATIVEPERMEABILITYCONST_H

Generated by: LCOV version 1.11