20 "Returns the value of the mesh division index for each element / node");
22 "The mesh division providing the value");
24 "output_invalid_value_as", -1,
"Convert the invalid value index for output purposes");
31 _c_fe_problem.getMeshDivision(getParam<MeshDivisionName>(
"mesh_division"), _tid)),
32 _invalid_bin_value(getParam<
int>(
"output_invalid_value_as"))
virtual bool isNodal() const
Is this variable nodal.
const libMesh::FEType & feType() const
Get the type of finite element object.
virtual unsigned int divisionIndex(const Point &pt) const =0
Return the index of the division to which the point belongs.
Returns the index of the mesh division for each element / node.
const int _invalid_bin_value
Number to use for the invalid value.
const Node *const & _current_node
Current node (valid only for nodal kernels)
const MeshDivision & _mesh_division
Mesh division to evaluate.
registerMooseObject("MooseApp", MeshDivisionAux)
virtual Real computeValue() override
Compute and return the value of the aux variable.
MeshDivisionAux(const InputParameters ¶meters)
virtual const OutputTools< Real >::VariableValue & value()
The value of the variable this object is operating on.
void paramError(const std::string ¶m, Args... args) const
Emits an error prefixed with the file and line number of the given param (from the input file) along ...
std::string stringify(const T &t)
conversion to string
unsigned int INVALID_DIVISION_INDEX
Invalid subdomain id to return when outside the mesh division.
MooseVariableField< Real > & _var
This is a regular kernel so we cast to a regular MooseVariable.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Elem *const & _current_elem
Current element (valid only for elemental kernels)
static InputParameters validParams()
static InputParameters validParams()
void ErrorVector unsigned int
bool isNodal() const
Nodal or elemental kernel?