www.mooseframework.org
PorousFlowTotalGravitationalDensityBase.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 }
T & set(const std::string &name, bool quiet_mode=false)
Base class for all PorousFlow vector materials.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
PorousFlowTotalGravitationalDensityBase(const InputParameters &parameters)
void addClassDescription(const std::string &doc_string)