#include <ElementIDInterface.h>
Public Member Functions | |
ElementIDInterface (const MooseObject *moose_object) | |
virtual | ~ElementIDInterface () |
virtual unsigned int | getElementIDIndex (const std::string &id_parameter_name, unsigned int comp=0) const |
Gets index of an element integer with a parameter of the object derived from this interface. More... | |
virtual unsigned int | getElementIDIndexByName (const std::string &id_name) const |
Return the accessing integer for an extra element integer with its name. More... | |
virtual const dof_id_type & | getElementID (const std::string &id_parameter_name, unsigned int comp=0) const |
Gets an element integer with a parameter of the object derived from this interface. More... | |
virtual const dof_id_type & | getElementIDNeighbor (const std::string &id_parameter_name, unsigned int comp=0) const |
Gets a neighbor element integer with a parameter of the object derived from this interface. More... | |
virtual const dof_id_type & | getElementIDByName (const std::string &id_name) const |
Gets an element integer with the element integer name. More... | |
virtual const dof_id_type & | getElementIDNeighborByName (const std::string &id_name) const |
Gets a neighbor element integer with the element integer name. More... | |
bool | hasElementID (const std::string &id_name) const |
Whether mesh has an element integer with a given name. More... | |
dof_id_type | maxElementID (unsigned int elem_id_index) const |
Return the maximum element ID for an element integer with its index. More... | |
dof_id_type | minElementID (unsigned int elem_id_index) const |
Return the minimum element ID for an element integer with its index. More... | |
bool | areElemIDsIdentical (const std::string &id_name1, const std::string &id_name2) const |
Whether two element integers are identical for all elements. More... | |
std::unordered_map< dof_id_type, std::set< dof_id_type > > | getElemIDMapping (const std::string &id_name1, const std::string &id_name2) const |
Get the mapping from IDs of one extra element integer to another given the two integer names. More... | |
std::set< dof_id_type > | getAllElemIDs (unsigned int elem_id_index) const |
Return all the unique element IDs for an element integer with its index on the entire domain. More... | |
std::set< dof_id_type > | getElemIDsOnBlocks (unsigned int elem_id_index, const std::set< SubdomainID > &blks) const |
Return all the unique element IDs for an extra element integer with its index on a set of subdomains. More... | |
dof_id_type | getElementID (const Elem *elem, unsigned int elem_id_index) const |
Get an element integer for an element. More... | |
Static Public Member Functions | |
static InputParameters | validParams () |
Private Attributes | |
const InputParameters & | _obj_parameters |
Reference to the object's input parameters. More... | |
std::shared_ptr< MooseMesh > & | _id_mesh |
References to the mesh and displaced mesh (currently in the ActionWarehouse) More... | |
const std::string & | _ei_name |
Name of the object using this interface. More... | |
Definition at line 23 of file ElementIDInterface.h.
ElementIDInterface::ElementIDInterface | ( | const MooseObject * | moose_object | ) |
Definition at line 28 of file ElementIDInterface.C.
|
inlinevirtual |
Definition at line 29 of file ElementIDInterface.h.
|
inline |
Whether two element integers are identical for all elements.
Definition at line 103 of file ElementIDInterface.h.
|
inline |
Return all the unique element IDs for an element integer with its index on the entire domain.
Definition at line 120 of file ElementIDInterface.h.
|
virtual |
Gets an element integer with a parameter of the object derived from this interface.
id_parameter_name | Name of object parameter |
comp | Component number for vector of integer names |
Reimplemented in Material.
Definition at line 72 of file ElementIDInterface.C.
Referenced by Material::getElementID().
|
inline |
Get an element integer for an element.
Definition at line 138 of file ElementIDInterface.h.
|
virtual |
Gets an element integer with the element integer name.
id_name | Name of element integer |
Reimplemented in Material.
Definition at line 101 of file ElementIDInterface.C.
Referenced by Material::getElementIDByName().
|
virtual |
Gets index of an element integer with a parameter of the object derived from this interface.
id_parameter_name | Name of object parameter |
comp | Component number for vector of integer names |
Definition at line 36 of file ElementIDInterface.C.
Referenced by getElementID(), and getElementIDNeighbor().
|
virtual |
Return the accessing integer for an extra element integer with its name.
id_name | Name of element integer |
Definition at line 47 of file ElementIDInterface.C.
Referenced by ExtraIDIntegralVectorPostprocessor::ExtraIDIntegralVectorPostprocessor(), getElementIDByName(), getElementIDIndex(), and getElementIDNeighborByName().
|
virtual |
Gets a neighbor element integer with a parameter of the object derived from this interface.
id_parameter_name | Name of object parameter |
comp | Component number for vector of integer names |
Reimplemented in Material.
Definition at line 86 of file ElementIDInterface.C.
Referenced by Material::getElementID(), and Material::getElementIDNeighbor().
|
virtual |
Gets a neighbor element integer with the element integer name.
id_name | Name of element integer |
Reimplemented in Material.
Definition at line 115 of file ElementIDInterface.C.
Referenced by Material::getElementIDByName(), and Material::getElementIDNeighborByName().
|
inline |
Get the mapping from IDs of one extra element integer to another given the two integer names.
Definition at line 112 of file ElementIDInterface.h.
|
inline |
Return all the unique element IDs for an extra element integer with its index on a set of subdomains.
Definition at line 129 of file ElementIDInterface.h.
|
inline |
Whether mesh has an element integer with a given name.
Definition at line 82 of file ElementIDInterface.h.
|
inline |
Return the maximum element ID for an element integer with its index.
Definition at line 87 of file ElementIDInterface.h.
|
inline |
Return the minimum element ID for an element integer with its index.
Definition at line 95 of file ElementIDInterface.h.
|
static |
Definition at line 23 of file ElementIDInterface.C.
|
private |
Name of the object using this interface.
Definition at line 154 of file ElementIDInterface.h.
Referenced by getElementIDIndexByName().
|
private |
References to the mesh and displaced mesh (currently in the ActionWarehouse)
Definition at line 151 of file ElementIDInterface.h.
Referenced by areElemIDsIdentical(), getAllElemIDs(), getElementIDIndexByName(), getElemIDMapping(), getElemIDsOnBlocks(), hasElementID(), maxElementID(), and minElementID().
|
private |
Reference to the object's input parameters.
Definition at line 148 of file ElementIDInterface.h.
Referenced by getElementID(), getElementIDByName(), getElementIDIndex(), getElementIDNeighbor(), and getElementIDNeighborByName().