LCOV - code coverage report
Current view: top level - include/kernels - PorousFlowDesorpedMassVolumetricExpansion.h (source / functions) Hit Total Coverage
Test: porous_flow Test Coverage Lines: 0 1 0.0 %
Date: 2017-11-17 17:48:31 Functions: 0 2 0.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 POROUSFLOWDESORPEDMASSVOLUMETRICEXPANSION_H
       9             : #define POROUSFLOWDESORPEDMASSVOLUMETRICEXPANSION_H
      10             : 
      11             : #include "TimeDerivative.h"
      12             : #include "PorousFlowDictator.h"
      13             : 
      14             : // Forward Declarations
      15             : class PorousFlowDesorpedMassVolumetricExpansion;
      16             : 
      17             : template <>
      18             : InputParameters validParams<PorousFlowDesorpedMassVolumetricExpansion>();
      19             : 
      20             : /**
      21             :  * Kernel = desorped_mass * d(volumetric_strain)/dt
      22             :  * which is not lumped to the nodes
      23             :  */
      24           0 : class PorousFlowDesorpedMassVolumetricExpansion : public TimeKernel
      25             : {
      26             : public:
      27             :   PorousFlowDesorpedMassVolumetricExpansion(const InputParameters & parameters);
      28             : 
      29             : protected:
      30             :   virtual Real computeQpResidual() override;
      31             :   virtual Real computeQpJacobian() override;
      32             :   virtual Real computeQpOffDiagJacobian(unsigned int jvar) override;
      33             : 
      34             :   /// holds info on the Porous Flow variables
      35             :   const PorousFlowDictator & _dictator;
      36             : 
      37             :   /// The MOOSE variable number of the concentration variable
      38             :   const unsigned int _conc_var_number;
      39             : 
      40             :   /// The concentration variable
      41             :   const VariableValue & _conc;
      42             : 
      43             :   /// porosity
      44             :   const MaterialProperty<Real> & _porosity;
      45             : 
      46             :   /// d(porosity)/d(porous-flow variable)
      47             :   const MaterialProperty<std::vector<Real>> & _dporosity_dvar;
      48             : 
      49             :   /// d(porosity)/d(grad porous-flow variable)
      50             :   const MaterialProperty<std::vector<RealGradient>> & _dporosity_dgradvar;
      51             : 
      52             :   /// strain rate
      53             :   const MaterialProperty<Real> & _strain_rate_qp;
      54             : 
      55             :   /// d(strain rate)/d(porous-flow variable)
      56             :   const MaterialProperty<std::vector<RealGradient>> & _dstrain_rate_qp_dvar;
      57             : 
      58             :   /**
      59             :    * Derivative of the residual with respect to the Moose variable
      60             :    * with variable number jvar.
      61             :    * @param jvar take the derivative of the mass part of the residual wrt this variable number
      62             :    */
      63             :   Real computeQpJac(unsigned int jvar) const;
      64             : };
      65             : 
      66             : #endif // POROUSFLOWDESORPEDMASSVOLUMETRICEXPANSION_H

Generated by: LCOV version 1.11