www.mooseframework.org
BndElement.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* DO NOT MODIFY THIS HEADER */
3 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
4 /* */
5 /* (c) 2010 Battelle Energy Alliance, LLC */
6 /* ALL RIGHTS RESERVED */
7 /* */
8 /* Prepared by Battelle Energy Alliance, LLC */
9 /* Under Contract No. DE-AC07-05ID14517 */
10 /* With the U. S. Department of Energy */
11 /* */
12 /* See COPYRIGHT for full restrictions */
13 /****************************************************************/
14 
15 #ifndef BNDELEMENT_H
16 #define BNDELEMENT_H
17 
18 #include "MooseTypes.h"
19 #include "libmesh/elem.h"
20 
21 struct BndElement
22 {
23  BndElement(Elem * elem, unsigned short int side, BoundaryID bnd_id)
24  : _elem(elem), _side(side), _bnd_id(bnd_id)
25  {
26  }
27 
29  Elem * _elem;
31  unsigned short int _side;
34 };
35 
36 #endif /* BNDELEMENT_H */
unsigned short int _side
side number
Definition: BndElement.h:31
BndElement(Elem *elem, unsigned short int side, BoundaryID bnd_id)
Definition: BndElement.h:23
Elem * _elem
pointer to the element
Definition: BndElement.h:29
BoundaryID _bnd_id
boundary id for the node
Definition: BndElement.h:33
boundary_id_type BoundaryID
Definition: MooseTypes.h:75