LCOV - code coverage report
Current view: top level - include/kernels - PorousFlowHeatConduction.h (source / functions) Hit Total Coverage
Test: porous_flow Test Coverage Lines: 1 1 100.0 %
Date: 2017-11-17 17:48:31 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 POROUSFLOWHEATCONDUCTION_H
       9             : #define POROUSFLOWHEATCONDUCTION_H
      10             : 
      11             : #include "Kernel.h"
      12             : #include "PorousFlowDictator.h"
      13             : 
      14             : // Forward Declarations
      15             : class PorousFlowHeatConduction;
      16             : 
      17             : template <>
      18             : InputParameters validParams<PorousFlowHeatConduction>();
      19             : 
      20             : /**
      21             :  * Kernel = grad(test) * thermal_conductivity * grad(temperature)
      22             :  */
      23          20 : class PorousFlowHeatConduction : public Kernel
      24             : {
      25             : public:
      26             :   PorousFlowHeatConduction(const InputParameters & parameters);
      27             : 
      28             : protected:
      29             :   virtual Real computeQpResidual() override;
      30             :   virtual Real computeQpJacobian() override;
      31             :   virtual Real computeQpOffDiagJacobian(unsigned int jvar) override;
      32             : 
      33             :   /// holds info on the PorousFlow variables
      34             :   const PorousFlowDictator & _dictator;
      35             : 
      36             :   /// thermal conductivity at the quadpoints
      37             :   const MaterialProperty<RealTensorValue> & _la;
      38             : 
      39             :   /// d(thermal conductivity at the quadpoints)/d(PorousFlow variable)
      40             :   const MaterialProperty<std::vector<RealTensorValue>> & _dla_dvar;
      41             : 
      42             :   /// grad(temperature)
      43             :   const MaterialProperty<RealGradient> & _grad_t;
      44             : 
      45             :   /// d(gradT)/d(PorousFlow variable)
      46             :   const MaterialProperty<std::vector<RealGradient>> & _dgrad_t_dvar;
      47             : 
      48             :   /// d(gradT)/d(grad PorousFlow variable)
      49             :   const MaterialProperty<std::vector<Real>> & _dgrad_t_dgradvar;
      50             : };
      51             : 
      52             : #endif // POROUSFLOWHEATCONDUCTION_H

Generated by: LCOV version 1.11