LCOV - code coverage report
Current view: top level - include/userobjects - PorousFlowCapillaryPressureBW.h (source / functions) Hit Total Coverage
Test: porous_flow Test Coverage Lines: 1 1 100.0 %
Date: 2017-11-17 17:48:31 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 POROUSFLOWCAPILLARYPRESSUREBW_H
       9             : #define POROUSFLOWCAPILLARYPRESSUREBW_H
      10             : 
      11             : #include "PorousFlowCapillaryPressure.h"
      12             : 
      13             : class PorousFlowCapillaryPressureBW;
      14             : 
      15             : template <>
      16             : InputParameters validParams<PorousFlowCapillaryPressureBW>();
      17             : 
      18             : /**
      19             :  * Capillary pressure of Broadbridge and White.
      20             :  */
      21           4 : class PorousFlowCapillaryPressureBW : public PorousFlowCapillaryPressure
      22             : {
      23             : public:
      24             :   PorousFlowCapillaryPressureBW(const InputParameters & parameters);
      25             : 
      26             :   virtual Real capillaryPressureCurve(Real saturation) const override;
      27             :   virtual Real dCapillaryPressureCurve(Real saturation) const override;
      28             :   virtual Real d2CapillaryPressureCurve(Real saturation) const override;
      29             : 
      30             :   virtual Real effectiveSaturation(Real pc) const override;
      31             :   virtual Real dEffectiveSaturation(Real pc) const override;
      32             :   virtual Real d2EffectiveSaturation(Real pc) const override;
      33             : 
      34             : protected:
      35             :   /// BW's Sn parameter (initial saturation)
      36             :   const Real _sn;
      37             :   /// BW's Ss parameter
      38             :   const Real _ss;
      39             :   /// BW's C parameter (>1)
      40             :   const Real _c;
      41             :   /// BWs lambda_s parameter multiplied by fluid density * gravity (>0)
      42             :   const Real _las;
      43             : };
      44             : 
      45             : #endif // POROUSFLOWCAPILLARYPRESSUREBW_H

Generated by: LCOV version 1.11