www.mooseframework.org
PorousFlowTotalGravitationalDensityBase.C
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 
9 
10 template <>
11 InputParameters
13 {
14  InputParameters params = validParams<PorousFlowMaterialVectorBase>();
15  params.addClassDescription("Base class Material for porous medium density");
16  return params;
17 }
18 
20  const InputParameters & parameters)
21  : PorousFlowMaterialVectorBase(parameters),
22  _gravdensity(declareProperty<Real>("density")),
23  _dgravdensity_dvar(declareProperty<std::vector<Real>>("ddensity_dvar"))
24 {
25 }
InputParameters validParams< PorousFlowMaterialVectorBase >()
InputParameters validParams< PorousFlowTotalGravitationalDensityBase >()
Base class for all PorousFlow vector materials.
PorousFlowTotalGravitationalDensityBase(const InputParameters &parameters)