LCOV - code coverage report
Current view: top level - src/materials - PorousFlowTotalGravitationalDensityBase.C (source / functions) Hit Total Coverage
Test: porous_flow Test Coverage Lines: 9 9 100.0 %
Date: 2017-11-21 14:47:27 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 "PorousFlowTotalGravitationalDensityBase.h"
       9             : 
      10             : template <>
      11             : InputParameters
      12           1 : validParams<PorousFlowTotalGravitationalDensityBase>()
      13             : {
      14           1 :   InputParameters params = validParams<PorousFlowMaterialVectorBase>();
      15           2 :   params.addClassDescription("Base class Material for porous medium density");
      16           1 :   return params;
      17             : }
      18             : 
      19           3 : PorousFlowTotalGravitationalDensityBase::PorousFlowTotalGravitationalDensityBase(
      20           3 :     const InputParameters & parameters)
      21             :   : PorousFlowMaterialVectorBase(parameters),
      22           6 :     _gravdensity(declareProperty<Real>("density")),
      23          12 :     _dgravdensity_dvar(declareProperty<std::vector<Real>>("ddensity_dvar"))
      24             : {
      25        2502 : }

Generated by: LCOV version 1.11