LCOV - code coverage report
Current view: top level - include/kernels - PorousFlowEffectiveStressCoupling.h (source / functions) Hit Total Coverage
Test: porous_flow Test Coverage Lines: 1 1 100.0 %
Date: 2017-11-21 14:47:27 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             : #ifndef POROUSFLOWEFFECTIVESTRESSCOUPLING_H
       8             : #define POROUSFLOWEFFECTIVESTRESSCOUPLING_H
       9             : 
      10             : #include "Kernel.h"
      11             : #include "PorousFlowDictator.h"
      12             : 
      13             : // Forward Declarations
      14             : class PorousFlowEffectiveStressCoupling;
      15             : 
      16             : template <>
      17             : InputParameters validParams<PorousFlowEffectiveStressCoupling>();
      18             : 
      19             : /**
      20             :  * PorousFlowEffectiveStressCoupling computes
      21             :  * -coefficient*effective_porepressure*grad_component(test)
      22             :  * where component is the spatial component (not
      23             :  * a fluid component!)
      24             :  */
      25         172 : class PorousFlowEffectiveStressCoupling : public Kernel
      26             : {
      27             : public:
      28             :   PorousFlowEffectiveStressCoupling(const InputParameters & parameters);
      29             : 
      30             : protected:
      31             :   virtual Real computeQpResidual() override;
      32             :   virtual Real computeQpJacobian() override;
      33             :   virtual Real computeQpOffDiagJacobian(unsigned int jvar) override;
      34             : 
      35             :   /// The Porous-Flow dictator that holds global info about the simulation
      36             :   const PorousFlowDictator & _dictator;
      37             : 
      38             :   /// Biot coefficient
      39             :   const Real _coefficient;
      40             : 
      41             :   /// the spatial component
      42             :   const unsigned int _component;
      43             : 
      44             :   /// effective porepressure
      45             :   const MaterialProperty<Real> & _pf;
      46             : 
      47             :   /// d(effective porepressure)/(d porflow variable)
      48             :   const MaterialProperty<std::vector<Real>> & _dpf_dvar;
      49             : 
      50             :   /// Whether an RZ coordinate system is being used
      51             :   const bool _rz;
      52             : };
      53             : 
      54             : #endif // POROUSFLOWEFFECTIVESTRESSCOUPLING_H

Generated by: LCOV version 1.11