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 "ADDirichletBCBase.h" 11 : 12 : InputParameters 13 60338 : ADDirichletBCBase::validParams() 14 : { 15 60338 : InputParameters params = NodalBCBase::validParams(); 16 181014 : params.addParam<bool>( 17 120676 : "preset", true, "Whether or not to preset the BC (apply the value before the solve begins)."); 18 60338 : return params; 19 0 : } 20 : 21 1600 : ADDirichletBCBase::ADDirichletBCBase(const InputParameters & parameters) 22 1600 : : NodalBCBase(parameters), _preset(getParam<bool>("preset")) 23 : { 24 1600 : }