https://mooseframework.inl.gov
Constraint.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 "Constraint.h"
11 
12 #include "SubProblem.h"
13 
16 {
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  params.addParamNamesToGroup("use_displaced_mesh", "Advanced");
27 
28  params.registerBase("Constraint");
29  params.registerSystemAttributeName("Constraint");
30 
31  return params;
32 }
33 
36 {
37 }
static InputParameters validParams()
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...
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Constraint(const InputParameters &parameters)
Definition: Constraint.C:34
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 a base class for objects that can provide residual contributions for both local and neighbor ...
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...
static InputParameters validParams()
Definition: Constraint.C:15
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...