www.mooseframework.org
PorousFlowMaterialBase.h
Go to the documentation of this file.
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 POROUSFLOWMATERIALBASE_H
9 #define POROUSFLOWMATERIALBASE_H
10 
11 #include "PorousFlowMaterial.h"
12 #include "DerivativeMaterialInterface.h"
13 
15 
16 template <>
17 InputParameters validParams<PorousFlowMaterialBase>();
18 
26 class PorousFlowMaterialBase : public DerivativeMaterialInterface<PorousFlowMaterial>
27 {
28 public:
29  PorousFlowMaterialBase(const InputParameters & parameters);
30 
31 protected:
33  const unsigned int _phase_num;
34 
36  const std::string _phase;
37 };
38 
39 #endif // POROUSFLOWMATERIALBASE_H
PorousFlowMaterialBase(const InputParameters &parameters)
const unsigned int _phase_num
Phase number of fluid.
Base class for all PorousFlow materials that provide phase-dependent properties.
const std::string _phase
Stringified fluid phase number.
InputParameters validParams< PorousFlowMaterialBase >()