16#include "libmesh/threads.h"
25 "The name of the variable that this Indicator operates on");
26 std::vector<SubdomainName> everywhere(1,
"ANY_BLOCK_ID");
27 params.
addParam<std::vector<SubdomainName>>(
28 "block", everywhere,
"block ID or name where the object works");
41 Moose::VarKindType::VAR_ANY,
42 Moose::VarFieldType::VAR_FIELD_STANDARD),
43 _field_var(_subproblem.getStandardVariable(_tid, name())),
45 _current_elem(_field_var.currentElem()),
46 _current_elem_volume(_assembly.elemVolume()),
47 _q_point(_assembly.qPoints()),
48 _qrule(_assembly.qRule()),
49 _JxW(_assembly.JxW()),
50 _coord(_assembly.coordTransformation()),
51 _var(mooseVariableField()),
53 _grad_u(_var.gradSln())
56 for (
const auto & var : coupled_vars)
Interface for objects that needs coupling capabilities.
const std::vector< MooseVariableFieldBase * > & getCoupledMooseVars() const
Get the list of all coupled variables.
static InputParameters validParams()
ElementIndicator(const InputParameters ¶meters)
static InputParameters validParams()
static InputParameters validParams()
void addMooseVariableDependency(MooseVariableFieldBase *var)
Call this function to add the passed in MooseVariableFieldBase as a variable that this object depends...
Interface for objects that need to get values of MooseVariables.
MooseVariableField< Real > & mooseVariableField()
Return the MooseVariableField object that this interface acts on.
Interface class for classes which interact with Postprocessors.
Interface for objects that needs scalar coupling capabilities.
Interface for objects that needs transient capabilities.
static InputParameters validParams()
MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to add...