16 const std::vector<std::vector<std::tuple<dof_id_type, unsigned short int>>> & boundary_infos,
17 const Point & axis_point,
20 const auto n_boundaries = boundary_infos.size();
30 for (
unsigned int i = 1; i < n_boundaries; ++i)
32 std::vector<dof_id_type> elem_ids;
33 std::vector<unsigned short int> side_ids;
34 std::vector<dof_id_type> node_ids;
35 std::vector<Point> elem_points;
36 std::vector<Point> node_points;
38 boundary_infos[i], elem_ids, side_ids, elem_points, node_ids, node_points);
std::vector< Point > _secondary_elem_points
List of secondary element points.
Builds mapping between a 1D/2D boundary and a 3D boundary.
std::vector< dof_id_type > _secondary_elem_ids
List of secondary element IDs.
std::vector< dof_id_type > _secondary_node_ids
List of secondary node IDs.
std::vector< unsigned short int > _secondary_side_ids
List of secondary side IDs (if any)
void buildMapping()
Builds the mapping using the extracted mesh information.
std::vector< dof_id_type > _primary_node_ids
List of primary node IDs.
std::vector< Point > _primary_elem_points
List of primary element points.
std::vector< Point > _primary_node_points
List of primary node points.
MeshAlignment2D2D(const MooseMesh &mesh)
Constructor.
std::vector< unsigned short int > _primary_side_ids
List of primary side IDs (if any)
void extractFromBoundaryInfo(const std::vector< std::tuple< dof_id_type, unsigned short int >> &boundary_info, std::vector< dof_id_type > &elem_ids, std::vector< unsigned short int > &side_ids, std::vector< Point > &side_points, std::vector< dof_id_type > &node_ids, std::vector< Point > &node_points) const
Extracts mesh information from boundary info.
std::vector< dof_id_type > _primary_elem_ids
List of primary element IDs.
void checkAlignment(const Point &axis_point, const RealVectorValue &axis_direction)
Checks the alignment and sets _mesh_alignment accordingly.
std::vector< Point > _secondary_node_points
List of secondary node points.
void initialize(const std::vector< std::vector< std::tuple< dof_id_type, unsigned short int >>> &boundary_infos, const Point &axis_point, const RealVectorValue &axis_direction)
Extracts mesh information and builds the mapping.