www.mooseframework.org
PorousFlowMaterialVectorBase.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 
12 template <>
13 InputParameters
15 {
16  InputParameters params = validParams<PorousFlowMaterial>();
17  params.addClassDescription("Base class for PorousFlow materials that combine phase-dependent "
18  "properties into vectors expected by the kernels");
19  return params;
20 }
21 
23  : DerivativeMaterialInterface<PorousFlowMaterial>(parameters),
24  _num_phases(_dictator.numPhases()),
25  _num_components(_dictator.numComponents()),
26  _num_var(_dictator.numVariables())
27 {
28 }
PorousFlowMaterial is the base class for all PorousFlow Materials It allows users to specify that the...
InputParameters validParams< PorousFlowMaterial >()
InputParameters validParams< PorousFlowMaterialVectorBase >()
PorousFlowMaterialVectorBase(const InputParameters &parameters)