LCOV - code coverage report
Current view: top level - include/materials - PorousFlowRelativePermeabilityCorey.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 POROUSFLOWRELATIVEPERMEABILITYCOREY_H
       9             : #define POROUSFLOWRELATIVEPERMEABILITYCOREY_H
      10             : 
      11             : #include "PorousFlowRelativePermeabilityBase.h"
      12             : 
      13             : class PorousFlowRelativePermeabilityCorey;
      14             : 
      15             : template <>
      16             : InputParameters validParams<PorousFlowRelativePermeabilityCorey>();
      17             : 
      18             : /**
      19             :  * Material to calculate Corey-type relative permeability of an arbitrary phase
      20             :  * given the effective saturation and Corey exponent of that phase.
      21             :  *
      22             :  * From  Corey, A. T., The interrelation between gas and oil relative
      23             :  * permeabilities, Prod. Month. 38-41 (1954)
      24             :  */
      25         372 : class PorousFlowRelativePermeabilityCorey : public PorousFlowRelativePermeabilityBase
      26             : {
      27             : public:
      28             :   PorousFlowRelativePermeabilityCorey(const InputParameters & parameters);
      29             : 
      30             : protected:
      31             :   virtual Real relativePermeability(Real seff) const override;
      32             :   virtual Real dRelativePermeability(Real seff) const override;
      33             : 
      34             :   /// Corey exponent n for the specified phase
      35             :   const Real _n;
      36             : };
      37             : 
      38             : #endif // POROUSFLOWRELATIVEPERMEABILITYCOREY_H

Generated by: LCOV version 1.11