Go to the documentation of this file.
20 params.addClassDescription(
"Class for ghosting elements accross processors");
41 const MeshBase::const_element_iterator end_elem =
_mesh.getMesh().active_local_elements_end();
42 for (MeshBase::const_element_iterator elem =
_mesh.getMesh().active_local_elements_begin();
45 if ((*elem)->type() == 0)
46 for (
unsigned int i = 0; i <
_nnodes; ++i)
49 for (
unsigned int j = 0; j < neighbors.size(); ++j)
InputParameters validParams< GhostElemPD >()
InputParameters validParams< GeneralUserObjectBasePD >()
const unsigned int _nnodes
number of nodes for a edge element
GhostElemPD(const InputParameters ¶meters)
Userobject class to ghost the required element for calculation on current processor from other proces...
PeridynamicsMesh & _pdmesh
Reference to peridynamics mesh.
registerMooseObject("PeridynamicsApp", GhostElemPD)
std::vector< dof_id_type > getNeighbors(dof_id_type node_id)
Function to return neighbor nodes indices for node node_id.
std::vector< dof_id_type > getBonds(dof_id_type node_id)
Function to return the bond number connected with node node_id.
void ghostElements()
Function to ghost/copy element information from other processors.
virtual void meshChanged() override
MooseMesh & _mesh
Reference to Moose mesh.