https://mooseframework.inl.gov
Loading...
Searching...
No Matches
BndElement.h
Go to the documentation of this file.
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
14namespace libMesh
15{
16class Elem;
17}
18
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
35{
36 ConstBndElement(const Elem * elem, unsigned short int side, BoundaryID bnd_id)
38 {
39 }
40
42 const Elem * elem;
44 unsigned short int side;
47};
boundary_id_type BoundaryID
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...
Elem * _elem
pointer to the element
Definition BndElement.h:27
BoundaryID _bnd_id
boundary id for the node
Definition BndElement.h:31
unsigned short int _side
side number
Definition BndElement.h:29
BndElement(Elem *elem, unsigned short int side, BoundaryID bnd_id)
Definition BndElement.h:21
const Elem * elem
pointer to the element
Definition BndElement.h:42
ConstBndElement(const Elem *elem, unsigned short int side, BoundaryID bnd_id)
Definition BndElement.h:36
BoundaryID bnd_id
boundary id for the node
Definition BndElement.h:46
unsigned short int side
side number
Definition BndElement.h:44