34 return MooseEnum(
"block extra_id block_and_extra_id",
"block");
50 unsigned int id(
const Elem & elem,
unsigned int id_index,
bool use_subdomains);
ElementGroupCentroidPositions(const InputParameters ¶meters)
std::vector< ExtraElementIDName > _extra_id_names
The names of the extra element ids to use to make groups.
void initialize() override
In charge of computing / loading the positions.
unsigned int id(const Elem &elem, unsigned int id_index, bool use_subdomains)
static MooseEnum groupTypeEnum()
{ How to group elements, to compute centroids for these groups
Positions objects are under the hood Reporters.
virtual ~ElementGroupCentroidPositions()=default
Positions from centroids of groups of elements (subdomains, extra element ids) in the mesh...
static InputParameters validParams()
MooseMesh wraps a libMesh::Mesh object and enhances its capabilities by caching additional data and s...
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
std::vector< std::vector< unsigned int > > _extra_id_group_indices
The particular extra id values, for each extra id of interest.
An interface that restricts an object to subdomains via the 'blocks' input parameter.
const InputParameters & parameters() const
Get the parameters of the object.
std::vector< unsigned int > _extra_id_indices
The indices of the extra element ids to use to make groups.