LCOV - code coverage report
Current view: top level - include/actions - PorousFlowSinglePhaseBase.h (source / functions) Hit Total Coverage
Test: porous_flow Test Coverage Lines: 1 1 100.0 %
Date: 2017-11-17 16:07:03 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 POROUSFLOWSINGLEPHASEBASE_H
       8             : #define POROUSFLOWSINGLEPHASEBASE_H
       9             : 
      10             : #include "PorousFlowActionBase.h"
      11             : 
      12             : class PorousFlowSinglePhaseBase;
      13             : 
      14             : template <>
      15             : InputParameters validParams<PorousFlowSinglePhaseBase>();
      16             : 
      17             : /**
      18             :  * Base class for actions involving a single fluid phase
      19             :  */
      20         140 : class PorousFlowSinglePhaseBase : public PorousFlowActionBase
      21             : {
      22             : public:
      23             :   PorousFlowSinglePhaseBase(const InputParameters & params);
      24             : 
      25             :   virtual void act() override;
      26             : 
      27             : protected:
      28             :   virtual void addDictator() override;
      29             : 
      30             :   /// porepressure NonlinearVariable name
      31             :   const NonlinearVariableName _pp_var;
      32             : 
      33             :   /// Determines the coupling type
      34             :   const enum class CouplingTypeEnum {
      35             :     Hydro,
      36             :     ThermoHydro,
      37             :     HydroMechanical,
      38             :     ThermoHydroMechanical
      39             :   } _coupling_type;
      40             : 
      41             :   /// whether steady or transient simulation
      42             :   const enum class SimulationTypeChoiceEnum { STEADY, TRANSIENT } _simulation_type;
      43             : 
      44             :   /// Name of the fluid-properties UserObject
      45             :   const UserObjectName & _fp;
      46             : 
      47             :   /// fluid specific heat capacity at constant volume
      48             :   const Real _biot_coefficient;
      49             : 
      50             :   /// add a AuxVariables to record Darcy velocity
      51             :   const bool _add_darcy_aux;
      52             : 
      53             :   /// add AuxVariables for stress
      54             :   const bool _add_stress_aux;
      55             : 
      56             :   /// use PorousFlowBrine material
      57             :   const bool _use_brine;
      58             : 
      59             :   /// index of NaCl in list of fluid components
      60             :   const unsigned _nacl_index;
      61             : };
      62             : 
      63             : #endif // POROUSFLOWSINGLEPHASEBASE_H

Generated by: LCOV version 1.11