LCOV - code coverage report
Current view: top level - include/bcs - PorousFlowSinkPTDefiner.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 POROUSFLOWSINKPTDEFINER_H
       9             : #define POROUSFLOWSINKPTDEFINER_H
      10             : 
      11             : #include "PorousFlowSink.h"
      12             : 
      13             : // Forward Declarations
      14             : class PorousFlowSinkPTDefiner;
      15             : 
      16             : template <>
      17             : InputParameters validParams<PorousFlowSinkPTDefiner>();
      18             : 
      19             : /**
      20             :  * Provides either a porepressure or a temperature
      21             :  * to derived classes, depending on _involves_fluid
      22             :  * defined in PorousFlowSink
      23             :  */
      24           0 : class PorousFlowSinkPTDefiner : public PorousFlowSink
      25             : {
      26             : public:
      27             :   PorousFlowSinkPTDefiner(const InputParameters & parameters);
      28             : 
      29             : protected:
      30             :   /// Nodal pore pressure in each phase
      31             :   const MaterialProperty<std::vector<Real>> * const _pp;
      32             : 
      33             :   /// d(Nodal pore pressure in each phase)/d(PorousFlow variable)
      34             :   const MaterialProperty<std::vector<std::vector<Real>>> * const _dpp_dvar;
      35             : 
      36             :   /// Nodal temperature
      37             :   const MaterialProperty<Real> * const _temp;
      38             : 
      39             :   /// d(Nodal temperature)/d(PorousFlow variable)
      40             :   const MaterialProperty<std::vector<Real>> * const _dtemp_dvar;
      41             : 
      42             :   /// Provides the variable value (either porepressure, or temperature, depending on _involves_fluid)
      43             :   virtual Real ptVar() const;
      44             : 
      45             :   /// Provides the d(variable)/(d PorousFlow Variable pvar)
      46             :   virtual Real dptVar(unsigned pvar) const;
      47             : };
      48             : 
      49             : #endif // POROUSFLOWSINKPTDEFINER_H

Generated by: LCOV version 1.11