LCOV - code coverage report
Current view: top level - include/materials - PorousFlowPorosityConst.h (source / functions) Hit Total Coverage
Test: porous_flow Test Coverage Lines: 1 1 100.0 %
Date: 2017-11-20 14:50:56 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 POROUSFLOWPOROSITYCONST_H
       9             : #define POROUSFLOWPOROSITYCONST_H
      10             : 
      11             : #include "PorousFlowPorosityBase.h"
      12             : 
      13             : // Forward Declarations
      14             : class PorousFlowPorosityConst;
      15             : 
      16             : template <>
      17             : InputParameters validParams<PorousFlowPorosityConst>();
      18             : 
      19             : /**
      20             :  * Material to provide a constant value of porosity. This can be specified
      21             :  * by either a constant value in the input file, or taken from an aux variable.
      22             :  * Note: this material assumes that the porosity remains constant throughout a
      23             :  * simulation, so the coupled aux variable porosity must also remain constant.
      24             :  */
      25         732 : class PorousFlowPorosityConst : public PorousFlowPorosityBase
      26             : {
      27             : public:
      28             :   PorousFlowPorosityConst(const InputParameters & parameters);
      29             : 
      30             : protected:
      31             :   virtual void initQpStatefulProperties() override;
      32             :   virtual void computeQpProperties() override;
      33             : 
      34             :   /// Constant porosity
      35             :   const VariableValue & _input_porosity;
      36             : };
      37             : 
      38             : #endif // POROUSFLOWPOROSITYCONST_H

Generated by: LCOV version 1.11