LCOV - code coverage report
Current view: top level - include/materials - PorousFlowMaterialBase.h (source / functions) Hit Total Coverage
Test: porous_flow Test Coverage Lines: 1 1 100.0 %
Date: 2017-11-18 13:30:36 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 POROUSFLOWMATERIALBASE_H
       9             : #define POROUSFLOWMATERIALBASE_H
      10             : 
      11             : #include "PorousFlowMaterial.h"
      12             : #include "DerivativeMaterialInterface.h"
      13             : 
      14             : class PorousFlowMaterialBase;
      15             : 
      16             : template <>
      17             : InputParameters validParams<PorousFlowMaterialBase>();
      18             : 
      19             : /**
      20             :  * Base class for all PorousFlow materials that provide phase-dependent properties.
      21             :  * These include: fluid properties, relative permeabilities and capillary pressures.
      22             :  * and relative permeability classes. This base class checks that the specified fluid
      23             :  * phase index is valid, and provides a stringified version of the phase index to use
      24             :  * in the material property names.
      25             :  */
      26        2340 : class PorousFlowMaterialBase : public DerivativeMaterialInterface<PorousFlowMaterial>
      27             : {
      28             : public:
      29             :   PorousFlowMaterialBase(const InputParameters & parameters);
      30             : 
      31             : protected:
      32             :   /// Phase number of fluid
      33             :   const unsigned int _phase_num;
      34             : 
      35             :   /// Stringified fluid phase number
      36             :   const std::string _phase;
      37             : };
      38             : 
      39             : #endif // POROUSFLOWMATERIALBASE_H

Generated by: LCOV version 1.11