LCOV - code coverage report
Current view: top level - include/userobjects - PorousFlowCapillaryPressureBC.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 POROUSFLOWCAPILLARYPRESSUREBC_H
       9             : #define POROUSFLOWCAPILLARYPRESSUREBC_H
      10             : 
      11             : #include "PorousFlowCapillaryPressure.h"
      12             : 
      13             : class PorousFlowCapillaryPressureBC;
      14             : 
      15             : template <>
      16             : InputParameters validParams<PorousFlowCapillaryPressureBC>();
      17             : 
      18             : /**
      19             :  * Brooks-Corey effective saturation, capillary pressure and relative
      20             :  * permeability functions.
      21             :  *
      22             :  * From Brooks, R. H. and A. T. Corey (1966), Properties of porous media affecting
      23             :  * fluid flow, J. Irrig. Drain. Div., 6, 61
      24             :  */
      25           6 : class PorousFlowCapillaryPressureBC : public PorousFlowCapillaryPressure
      26             : {
      27             : public:
      28             :   PorousFlowCapillaryPressureBC(const InputParameters & parameters);
      29             : 
      30             :   virtual Real capillaryPressureCurve(Real saturation) const override;
      31             :   virtual Real dCapillaryPressureCurve(Real saturation) const override;
      32             :   virtual Real d2CapillaryPressureCurve(Real saturation) const override;
      33             : 
      34             :   virtual Real effectiveSaturation(Real pc) const override;
      35             :   virtual Real dEffectiveSaturation(Real pc) const override;
      36             :   virtual Real d2EffectiveSaturation(Real pc) const override;
      37             : 
      38             : protected:
      39             :   /// Brooks-Corey exponent lambda
      40             :   const Real _lambda;
      41             :   /// Threshold entry pressure
      42             :   const Real _pe;
      43             : };
      44             : 
      45             : #endif // POROUSFLOWCAPILLARYPRESSUREBC_H

Generated by: LCOV version 1.11