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 "BndElement.h" 13 : #include "ElemExtrema.h" 14 : 15 : /** 16 : * A specialized ConstBndElement to be used in ray tracing that 17 : * also holds the element extrema intersection information 18 : */ 19 : struct TraceRayBndElement : ConstBndElement 20 : { 21 : TraceRayBndElement(const Elem * elem, 22 : const unsigned short side, 23 : const BoundaryID bnd_id, 24 : const ElemExtrema & extrema) 25 1505268 : : ConstBndElement(elem, side, bnd_id), extrema(extrema) 26 : { 27 : } 28 : 29 : ElemExtrema extrema; 30 : };