LCOV - code coverage report
Current view: top level - include/materials - PorousFlowFluidPropertiesBase.h (source / functions) Hit Total Coverage
Test: porous_flow Test Coverage Lines: 1 1 100.0 %
Date: 2017-11-20 14:50:56 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 POROUSFLOWFLUIDPROPERTIESBASE_H
       9             : #define POROUSFLOWFLUIDPROPERTIESBASE_H
      10             : 
      11             : #include "PorousFlowMaterialBase.h"
      12             : #include "PorousFlowDictator.h"
      13             : 
      14             : class PorousFlowFluidPropertiesBase;
      15             : 
      16             : template <>
      17             : InputParameters validParams<PorousFlowFluidPropertiesBase>();
      18             : 
      19             : /**
      20             :  * Base class for fluid properties materials. All PorousFlow fluid
      21             :  * materials must override computeQpProperties()
      22             :  */
      23        1374 : class PorousFlowFluidPropertiesBase : public PorousFlowMaterialBase
      24             : {
      25             : public:
      26             :   PorousFlowFluidPropertiesBase(const InputParameters & parameters);
      27             : 
      28             : protected:
      29             :   virtual void computeQpProperties() override;
      30             : 
      31             :   /// Pore pressure at the nodes or quadpoints
      32             :   const MaterialProperty<std::vector<Real>> & _porepressure;
      33             : 
      34             :   /// Fluid temperature at the nodes or quadpoints
      35             :   const MaterialProperty<Real> & _temperature;
      36             : 
      37             :   /// Name of (dummy) pressure primary variable
      38             :   const VariableName _pressure_variable_name;
      39             : 
      40             :   /// Name of (dummy) temperature primary variable
      41             :   const VariableName _temperature_variable_name;
      42             : 
      43             :   /// Conversion from degrees Celsius to degrees Kelvin
      44             :   const Real _t_c2k;
      45             : 
      46             :   /// Universal gas constant
      47             :   const Real _R;
      48             : };
      49             : 
      50             : #endif // POROUSFLOWFLUIDPROPERTIESBASE_H

Generated by: LCOV version 1.11