https://mooseframework.inl.gov
Loading...
Searching...
No Matches
BoundaryCondition.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
10#include "BoundaryCondition.h"
11
14{
18
19 params.addParam<bool>("use_displaced_mesh",
20 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 params.addParamNamesToGroup("use_displaced_mesh", "Advanced");
28 params.registerBase("BoundaryCondition");
29 params.registerSystemAttributeName("BoundaryCondition");
30
31 return params;
32}
33
35 : ResidualObject(parameters, nodal),
39{
40}
BoundaryCondition(const InputParameters &parameters, bool nodal)
Class constructor.
static InputParameters validParams()
A class for requiring an object to be boundary restricted.
Interface for objects that need to use distributions.
static InputParameters validParams()
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
void registerSystemAttributeName(const std::string &value)
This method is used to define the MOOSE system name that is used by the TheWarehouse object for stori...
void addParamNamesToGroup(const std::string &space_delim_names, const std::string group_name)
This method takes a space delimited list of parameter names and adds them to the specified group name...
void addParam(const std::string &name, const S &value, const std::string &doc_string)
These methods add an optional parameter and a documentation string to the InputParameters object.
void registerBase(const std::string &value)
This method must be called from every base "Moose System" to create linkage with the Action System.
This is the common base class for objects that give residual contributions.
static InputParameters validParams()