43 const std::vector<dof_id_type> & primary_elem_ids,
44 const std::vector<std::tuple<dof_id_type, unsigned short int>> & secondary_boundary_info);
55 const std::vector<std::tuple<dof_id_type, unsigned short int>> & primary_boundary_info,
56 const std::vector<std::tuple<dof_id_type, unsigned short int>> & secondary_boundary_info);
125 std::map<dof_id_type, std::vector<Point>>
127 const std::vector<dof_id_type> & elem_ids,
128 const std::vector<unsigned short int> & side_ids)
const;
std::map< dof_id_type, std::vector< Point > > getLocalQuadraturePointMap(Assembly &assembly, const std::vector< dof_id_type > &elem_ids, const std::vector< unsigned short int > &side_ids) const
Gets the local quadrature point map for the primary or secondary side.
void buildMapping()
Builds the mapping using the extracted mesh information.
Builds mapping between two aligned subdomains/boundaries.
std::map< dof_id_type, dof_id_type > _coupled_node_ids
Map of node ID to coupled node ID.
bool hasCoupledNodeID(const dof_id_type &node_id) const
Returns true if the node ID has a coupled node ID.
Builds mapping between two aligned subdomains/boundaries.
void initialize(const std::vector< dof_id_type > &primary_elem_ids, const std::vector< std::tuple< dof_id_type, unsigned short int >> &secondary_boundary_info)
Extracts mesh information and builds the mapping.
const dof_id_type & getCoupledNodeID(const dof_id_type &node_id) const
Gets the coupled node ID for a given node ID.
const dof_id_type & getCoupledElemID(const dof_id_type &elem_id) const
Gets the coupled element ID for a given element ID.
MeshAlignment(const MooseMesh &mesh)
Constructor.
void buildCoupledElemQpIndexMap(Assembly &assembly)
Builds the map used for getting the coupled quadrature point index.
bool meshesAreCoincident() const
Returns true if the primary and secondary meshes are coincident.
std::map< dof_id_type, std::vector< unsigned int > > _coupled_elem_qp_indices
Map of element ID to vector of coupled quadrature points.
std::map< dof_id_type, dof_id_type > _coupled_elem_ids
Map of element ID to coupled element ID.
unsigned int getCoupledElemQpIndex(const dof_id_type &elem_id, const unsigned int &qp) const
Gets the quadrature point index on the coupled element corresponding to the quadrature point index on...
bool _meshes_are_coincident
Flag that meshes are coincident.
bool hasCoupledElemID(const dof_id_type &elem_id) const
Returns true if the element ID has a coupled element ID.