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 {
19 
20  params.addParam<bool>("use_displaced_mesh",
21  false,
22  "Whether or not this object should use the "
23  "displaced mesh for computation. Note that "
24  "in the case this is true but no "
25  "displacements are provided in the Mesh block "
26  "the undisplaced mesh will still be used.");
27  params.addParamNamesToGroup("use_displaced_mesh", "Advanced");
28 
29  params.registerBase("Constraint");
30  params.registerSystemAttributeName("Constraint");
31 
32  return params;
33 }
34 
37 {
38 }
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:35
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()
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...