LCOV - code coverage report
Current view: top level - include/kernels - PorousFlowFullySaturatedDarcyFlow.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             : 
       8             : #ifndef POROUSFLOWFULLYSATURATEDDARCYFLOW_H
       9             : #define POROUSFLOWFULLYSATURATEDDARCYFLOW_H
      10             : 
      11             : #include "PorousFlowFullySaturatedDarcyBase.h"
      12             : 
      13             : class PorousFlowFullySaturatedDarcyFlow;
      14             : 
      15             : template <>
      16             : InputParameters validParams<PorousFlowFullySaturatedDarcyFlow>();
      17             : 
      18             : /**
      19             :  * Darcy advective flux for a fully-saturated,
      20             :  * single-phase, multi-component fluid.
      21             :  * No upwinding or relative-permeability is used.
      22             :  */
      23          22 : class PorousFlowFullySaturatedDarcyFlow : public PorousFlowFullySaturatedDarcyBase
      24             : {
      25             : public:
      26             :   PorousFlowFullySaturatedDarcyFlow(const InputParameters & parameters);
      27             : 
      28             : protected:
      29             :   /**
      30             :    * The mobility of the fluid = mass_fraction * density / viscosity
      31             :    */
      32             :   virtual Real mobility() const override;
      33             : 
      34             :   /**
      35             :    * The derivative of the mobility with respect to the porous-flow variable pvar
      36             :    * @param pvar Take the derivative with respect to this porous-flow variable
      37             :    */
      38             :   virtual Real dmobility(unsigned pvar) const override;
      39             : 
      40             :   /// mass fraction of the components in the phase
      41             :   const MaterialProperty<std::vector<std::vector<Real>>> & _mfrac;
      42             : 
      43             :   /// Derivative of mass fraction wrt wrt PorousFlow variables
      44             :   const MaterialProperty<std::vector<std::vector<std::vector<Real>>>> & _dmfrac_dvar;
      45             : 
      46             :   /// The fluid component for this Kernel
      47             :   const unsigned int _fluid_component;
      48             : };
      49             : 
      50             : #endif // POROUSFLOWFULLYSATURATEDDARCYFLOW_H

Generated by: LCOV version 1.11