LCOV - code coverage report
Current view: top level - include/mesh - BndElement.h (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 2bf808 Lines: 3 3 100.0 %
Date: 2025-07-17 01:28:37 Functions: 1 1 100.0 %
Legend: Lines: hit not hit

          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 "MooseTypes.h"
      13             : 
      14             : namespace libMesh
      15             : {
      16             : class Elem;
      17             : }
      18             : 
      19             : struct BndElement
      20             : {
      21     8849241 :   BndElement(Elem * elem, unsigned short int side, BoundaryID bnd_id)
      22     8849241 :     : _elem(elem), _side(side), _bnd_id(bnd_id)
      23             :   {
      24     8849241 :   }
      25             : 
      26             :   /// pointer to the element
      27             :   Elem * _elem;
      28             :   /// side number
      29             :   unsigned short int _side;
      30             :   /// boundary id for the node
      31             :   BoundaryID _bnd_id;
      32             : };
      33             : 
      34             : struct ConstBndElement
      35             : {
      36             :   ConstBndElement(const Elem * elem, unsigned short int side, BoundaryID bnd_id)
      37             :     : elem(elem), side(side), bnd_id(bnd_id)
      38             :   {
      39             :   }
      40             : 
      41             :   /// pointer to the element
      42             :   const Elem * elem;
      43             :   /// side number
      44             :   unsigned short int side;
      45             :   /// boundary id for the node
      46             :   BoundaryID bnd_id;
      47             : };

Generated by: LCOV version 1.14