https://mooseframework.inl.gov
PorousFlowFluidStateSingleComponentBase.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.addParam<unsigned int>("fluid_component", 0, "The fluid component number");
17  params.addClassDescription("Base class for single component fluid state classes");
18  return params;
19 }
20 
22  const InputParameters & parameters)
23  : PorousFlowFluidStateBase(parameters),
24  _fluid_component(getParam<unsigned int>("fluid_component")),
25  _pidx(0),
26  _hidx(1),
27  _dT(1.0e-6)
28 {
29 }
void addParam(const std::string &name, const std::initializer_list< typename T::value_type > &value, const std::string &doc_string)
PorousFlowFluidStateSingleComponentBase(const InputParameters &parameters)
static InputParameters validParams()
Base class for fluid states for miscible multiphase flow in porous media.
void addClassDescription(const std::string &doc_string)
void ErrorVector unsigned int