45 std::unordered_map<
processor_id_type, std::vector<std::pair<dof_id_type, unsigned int>>> &
63 const unsigned short int side,
64 std::set<dof_id_type> & node_ids);
std::set< dof_id_type > _node_to_remove_from_bnd
Somes nodes are to be removed from the boundary when adding/removing sides.
std::unique_ptr< ConstBndNodeRange > _activated_bnd_node_range
void getNodesToRemoveFromBnd(std::set< dof_id_type > &remove_set, std::set< dof_id_type > &add_set)
std::unique_ptr< ConstElemRange > _activated_elem_range
Ranges for use with threading.
void push_boundary_node_info(MooseMesh &mesh, std::unordered_map< processor_id_type, std::vector< dof_id_type >> &nodes_to_push)
void finalize() override
Finalize.
const std::vector< BoundaryName > _expand_boundary_name
expanded boundary name
BoundaryID getExpandedBoundaryID()
ConstNodeRange * getNewlyActivatedNodeRange()
ConstBndNodeRange * getNewlyActivatedBndNodeRange()
virtual bool isElementActivated()=0
void execute() override
Execute method.
uint8_t processor_id_type
std::vector< BoundaryID > _boundary_ids
expanded boundary IDs
std::set< dof_id_type > _newly_activated_elem
ActivateElementsUserObjectBase(const InputParameters ¶meters)
void threadJoin(const UserObject &) override
Must override.
const subdomain_id_type _active_subdomain_id
activate subdomain ID
boundary_id_type BoundaryID
std::set< dof_id_type > _newly_activated_node
MooseMesh wraps a libMesh::Mesh object and enhances its capabilities by caching additional data and s...
std::vector< BoundaryID > _disp_boundary_ids
void updateBoundaryInfo(MooseMesh &mesh)
void insertNodeIdsOnSide(const Elem *ele, const unsigned short int side, std::set< dof_id_type > &node_ids)
const std::set< dof_id_type > & getNewlyActivatedElements() const
static InputParameters validParams()
void initialize() override
Called before execute() is ever called so that data can be cleared.
ConstElemRange * getNewlyActivatedElementRange()
Get ranges for use with threading.
std::unique_ptr< ConstNodeRange > _activated_node_range
const subdomain_id_type _inactive_subdomain_id
inactivate subdomain ID (the subdomain that you want to keep the same)
const InputParameters & parameters() const
Get the parameters of the object.
void push_boundary_side_info(MooseMesh &mesh, std::unordered_map< processor_id_type, std::vector< std::pair< dof_id_type, unsigned int >>> &elems_to_push)
void initSolutions(ConstElemRange &elem_range, ConstBndNodeRange &bnd_node_range)
Initialize solutions for the nodes.
bool isNewlyActivated(const Node *node)
Returns true if all the connected elements are in the _newly_activated_elem.
Base class for user-specific data.