www.mooseframework.org
PorousFlowSinkPTDefiner.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 POROUSFLOWSINKPTDEFINER_H
9 #define POROUSFLOWSINKPTDEFINER_H
10 
11 #include "PorousFlowSink.h"
12 
13 // Forward Declarations
15 
16 template <>
17 InputParameters validParams<PorousFlowSinkPTDefiner>();
18 
25 {
26 public:
27  PorousFlowSinkPTDefiner(const InputParameters & parameters);
28 
29 protected:
31  const MaterialProperty<std::vector<Real>> * const _pp;
32 
34  const MaterialProperty<std::vector<std::vector<Real>>> * const _dpp_dvar;
35 
37  const MaterialProperty<Real> * const _temp;
38 
40  const MaterialProperty<std::vector<Real>> * const _dtemp_dvar;
41 
43  virtual Real ptVar() const;
44 
46  virtual Real dptVar(unsigned pvar) const;
47 };
48 
49 #endif // POROUSFLOWSINKPTDEFINER_H
PorousFlowSinkPTDefiner(const InputParameters &parameters)
InputParameters validParams< PorousFlowSinkPTDefiner >()
const MaterialProperty< std::vector< Real > > *const _pp
Nodal pore pressure in each phase.
Applies a flux sink to a boundary.
Provides either a porepressure or a temperature to derived classes, depending on _involves_fluid defi...
const MaterialProperty< Real > *const _temp
Nodal temperature.
const MaterialProperty< std::vector< Real > > *const _dtemp_dvar
d(Nodal temperature)/d(PorousFlow variable)
virtual Real ptVar() const
Provides the variable value (either porepressure, or temperature, depending on _involves_fluid) ...
virtual Real dptVar(unsigned pvar) const
Provides the d(variable)/(d PorousFlow Variable pvar)
const MaterialProperty< std::vector< std::vector< Real > > > *const _dpp_dvar
d(Nodal pore pressure in each phase)/d(PorousFlow variable)