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 "FVDirichletBCBase.h" 11 : #include "MooseVariableFV.h" 12 : 13 : InputParameters 14 111788 : FVDirichletBCBase::validParams() 15 : { 16 111788 : InputParameters params = FVBoundaryCondition::validParams(); 17 111788 : params.addClassDescription("Defines a Dirichlet boundary condition for finite volume method."); 18 111788 : params.registerSystemAttributeName("FVDirichletBC"); 19 111788 : return params; 20 0 : } 21 : 22 6092 : FVDirichletBCBase::FVDirichletBCBase(const InputParameters & parameters) 23 : : FVBoundaryCondition(parameters), 24 6092 : _var_sys_numbers_pair(std::make_pair(_var.number(), _var.sys().number())) 25 : { 26 6092 : }