LCOV - code coverage report
Current view: top level - include/userobjects - PorousFlowCapillaryPressureConst.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 POROUSFLOWCAPILLARYPRESSURECONST_H
       9             : #define POROUSFLOWCAPILLARYPRESSURECONST_H
      10             : 
      11             : #include "PorousFlowCapillaryPressure.h"
      12             : 
      13             : class PorousFlowCapillaryPressureConst;
      14             : 
      15             : template <>
      16             : InputParameters validParams<PorousFlowCapillaryPressureConst>();
      17             : 
      18             : /**
      19             :  * Constant capillary pressure
      20             :  */
      21          48 : class PorousFlowCapillaryPressureConst : public PorousFlowCapillaryPressure
      22             : {
      23             : public:
      24             :   PorousFlowCapillaryPressureConst(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             :   /// Constant capillary pressure (Pa)
      36             :   const Real _pc;
      37             : };
      38             : 
      39             : #endif // POROUSFLOWCAPILLARYPRESSURECONST_H

Generated by: LCOV version 1.11