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 "SBMBndElementBase.h" 13 : #include "LineSegment.h" 14 : 15 : /// Derived class for 2-node edge elements 16 : /// LineSegment is listed first so it is initialized before SBMBndElementBase; 17 : /// the base class constructor then receives the unit normal from 18 : /// LineSegment::normal() (see the .C file). 19 4 : class SBMBndEdge2 : public LineSegment, public SBMBndElementBase 20 : { 21 : public: 22 : /// Constructor 23 : explicit SBMBndEdge2(const Elem * elem); 24 : 25 : // Resolve name ambiguity between base classes. 26 : using LineSegment::computeBoundingBall; 27 : using LineSegment::intersect; 28 : using SBMBndElementBase::normal; 29 : };