LCOV - code coverage report
Current view: top level - src/materials - PorousFlowPorosityBase.C (source / functions) Hit Total Coverage
Test: porous_flow Test Coverage Lines: 14 14 100.0 %
Date: 2017-11-18 13:30:36 Functions: 4 4 100.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             : #include "PorousFlowPorosityBase.h"
       9             : 
      10             : template <>
      11             : InputParameters
      12         207 : validParams<PorousFlowPorosityBase>()
      13             : {
      14         207 :   InputParameters params = validParams<PorousFlowMaterialVectorBase>();
      15         414 :   params.addClassDescription("Base class Material for porosity");
      16         207 :   return params;
      17             : }
      18             : 
      19         621 : PorousFlowPorosityBase::PorousFlowPorosityBase(const InputParameters & parameters)
      20             :   : PorousFlowMaterialVectorBase(parameters),
      21        1863 :     _porosity(_nodal_material ? declareProperty<Real>("PorousFlow_porosity_nodal")
      22         939 :                               : declareProperty<Real>("PorousFlow_porosity_qp")),
      23         621 :     _dporosity_dvar(_nodal_material
      24        1863 :                         ? declareProperty<std::vector<Real>>("dPorousFlow_porosity_nodal_dvar")
      25         939 :                         : declareProperty<std::vector<Real>>("dPorousFlow_porosity_qp_dvar")),
      26             :     _dporosity_dgradvar(
      27         621 :         _nodal_material
      28        1863 :             ? declareProperty<std::vector<RealGradient>>("dPorousFlow_porosity_nodal_dgradvar")
      29        2802 :             : declareProperty<std::vector<RealGradient>>("dPorousFlow_porosity_qp_dgradvar"))
      30             : {
      31        3120 : }

Generated by: LCOV version 1.11