https://mooseframework.inl.gov
Loading...
Searching...
No Matches
PorousFlowTotalGravitationalDensityBase.C
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
11
14{
16 params.set<std::string>("pf_material_type") = "gravitational_density";
17 params.addClassDescription("Base class Material for porous medium density");
18 return params;
19}
20
22 const InputParameters & parameters)
23 : PorousFlowMaterialVectorBase(parameters),
24 _gravdensity(declareProperty<Real>("density")),
25 _dgravdensity_dvar(declareProperty<std::vector<Real>>("ddensity_dvar"))
26{
27}
void addClassDescription(const std::string &doc_string)
T & set(const std::string &name, bool quiet_mode=false)
Base class for all PorousFlow vector materials.
PorousFlowTotalGravitationalDensityBase(const InputParameters &parameters)