www.mooseframework.org
Constraint.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 
30  return params;
31 }
32 
35 {
36 }
static InputParameters validParams()
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Constraint(const InputParameters &parameters)
Definition: Constraint.C:33
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 option 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...