Line data Source code
1 : //* This file is part of the MOOSE framework 2 : //* https://mooseframework.inl.gov 3 : //* 4 : //* All rights reserved, see COPYRIGHT for full restrictions 5 : //* https://github.com/idaholab/moose/blob/master/COPYRIGHT 6 : //* 7 : //* Licensed under LGPL 2.1, please see LICENSE for details 8 : //* https://www.gnu.org/licenses/lgpl-2.1.html 9 : 10 : #pragma once 11 : 12 : #include "MeshAlignmentOneToMany.h" 13 : 14 : class Assembly; 15 : 16 : /** 17 : * Builds mapping between multiple 2D boundaries 18 : */ 19 0 : class MeshAlignment2D2D : public MeshAlignmentOneToMany 20 : { 21 : public: 22 : /** 23 : * Constructor 24 : * 25 : * @param mesh[in] mesh Mesh 26 : */ 27 : MeshAlignment2D2D(const MooseMesh & mesh); 28 : 29 : /** 30 : * Extracts mesh information and builds the mapping 31 : * 32 : * @param[in] boundary_infos List of tuples (elem_id, side_id) for each side 33 : * @param[in] axis_point Any point on the axis of the 1D or 2D boundary 34 : * @param[in] axis_direction Direction of the axis for the 1D or 2D boundary 35 : */ 36 : void initialize( 37 : const std::vector<std::vector<std::tuple<dof_id_type, unsigned short int>>> & boundary_infos, 38 : const Point & axis_point, 39 : const RealVectorValue & axis_direction); 40 : };