https://mooseframework.inl.gov
Loading...
Searching...
No Matches
SurfaceTri3.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 "SurfaceTri3.h"
11#include "Ball.h"
12
13SurfaceTri3::SurfaceTri3(const Elem * elem)
14 : Triangle(elem->point(0), elem->point(1), elem->point(2)),
15 SurfaceElement(elem, Triangle::normal())
16{
17 mooseAssert(elem->type() == TRI3, "Element must be of type TRI3");
18}
Base class for a single surface (boundary) element of a closed surface mesh.
const Elem & elem() const
Getter for the underlying element.
SurfaceTri3(const Elem *elem)
Constructor.
Definition SurfaceTri3.C:13
Triangle geometry helper.
Definition Triangle.h:22