19 #include "libmesh/quadrature.h" 27 "variable",
"The name of the variable that this damper operates on");
35 _assembly(_subproblem.assembly(_tid, _sys.number())),
36 _coord_sys(_assembly.coordSystem()),
37 _var(_sys.getFieldVariable<
Real>(_tid, parameters.
get<NonlinearVariableName>(
"variable"))),
38 _current_node(_var.node()),
constexpr auto increment(std::index_sequence< first, tail... >)
Increment the first number in an index sequence, but roll over into the next number if it reaches Nma...
virtual Real computeQpDamping()=0
This MUST be overridden by a child damper.
static InputParameters validParams()
T * get(const std::unique_ptr< T > &u)
The MooseUtils::get() specializations are used to support making forwards-compatible code changes fro...
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const std::set< SubdomainID > EMPTY_BLOCK_IDS
An interface for accessing Materials.
const std::set< BoundaryID > EMPTY_BOUNDARY_IDS
Base class for deriving dampers.
Real computeDamping()
Computes this Damper's damping for one node.
MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to add...
static InputParameters validParams()
NodalDamper(const InputParameters ¶meters)