www.mooseframework.org
BndElement.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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  BndElement(Elem * elem, unsigned short int side, BoundaryID bnd_id)
22  : _elem(elem), _side(side), _bnd_id(bnd_id)
23  {
24  }
25 
27  Elem * _elem;
29  unsigned short int _side;
32 };
33 
unsigned short int _side
side number
Definition: BndElement.h:29
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...
BndElement(Elem *elem, unsigned short int side, BoundaryID bnd_id)
Definition: BndElement.h:21
Elem * _elem
pointer to the element
Definition: BndElement.h:27
boundary_id_type BoundaryID
BoundaryID _bnd_id
boundary id for the node
Definition: BndElement.h:31