Line data Source code
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 : 10 : #include "PorousFlowMaterialVectorBase.h" 11 : 12 : InputParameters 13 336819 : PorousFlowMaterialVectorBase::validParams() 14 : { 15 336819 : InputParameters params = PorousFlowMaterial::validParams(); 16 336819 : params.addClassDescription("Base class for PorousFlow materials that combine phase-dependent " 17 : "properties into vectors expected by the kernels"); 18 336819 : return params; 19 0 : } 20 : 21 263587 : PorousFlowMaterialVectorBase::PorousFlowMaterialVectorBase(const InputParameters & parameters) 22 : : DerivativeMaterialInterface<PorousFlowMaterial>(parameters), 23 527174 : _num_phases(_dictator.numPhases()), 24 263587 : _num_components(_dictator.numComponents()), 25 527174 : _num_var(_dictator.numVariables()) 26 : { 27 263587 : }