https://mooseframework.inl.gov
Loading...
Searching...
No Matches
SBMBndEdge2.C
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#include "SBMBndEdge2.h"
11#include "Ball.h"
12
13SBMBndEdge2::SBMBndEdge2(const Elem * elem)
14 : LineSegment(elem->point(0), elem->point(1)), SBMBndElementBase(elem, LineSegment::normal())
15{
16 mooseAssert(elem->type() == EDGE2, "Element must be of type EDGE2");
17 mooseAssert(MooseUtils::absoluteFuzzyEqual(elem->point(0)(2), elem->point(1)(2)),
18 "Currently SBMBndEdge2 must be parallel to the x-y plane, i.e., z-coordinates of "
19 "points must be equal");
20}
SBMBndEdge2(const Elem *elem)
Constructor.
Definition SBMBndEdge2.C:13
Base class for SBM boundary elements.
const Elem & elem() const
Getter for the underlying element.