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 "BoundaryCondition.h" 11 : 12 : InputParameters 13 439924 : BoundaryCondition::validParams() 14 : { 15 439924 : InputParameters params = ResidualObject::validParams(); 16 439924 : params += BoundaryRestrictableRequired::validParams(); 17 439924 : params += GeometricSearchInterface::validParams(); 18 : 19 1319772 : params.addParam<bool>("use_displaced_mesh", 20 879848 : false, 21 : "Whether or not this object should use the " 22 : "displaced mesh for computation. Note that " 23 : "in the case this is true but no " 24 : "displacements are provided in the Mesh block " 25 : "the undisplaced mesh will still be used."); 26 : 27 1759696 : params.addParamNamesToGroup("use_displaced_mesh", "Advanced"); 28 879848 : params.registerBase("BoundaryCondition"); 29 439924 : params.registerSystemAttributeName("BoundaryCondition"); 30 : 31 439924 : return params; 32 0 : } 33 : 34 75692 : BoundaryCondition::BoundaryCondition(const InputParameters & parameters, bool nodal) 35 : : ResidualObject(parameters, nodal), 36 : BoundaryRestrictableRequired(this, nodal), 37 : DistributionInterface(this), 38 75692 : GeometricSearchInterface(this) 39 : { 40 75686 : }