https://mooseframework.inl.gov
ElemInfo.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 "MooseError.h"
11 #include "FaceInfo.h"
12 #include "ElemInfo.h"
13 
14 ElemInfo::ElemInfo(const Elem * const elem)
15  : _elem(elem),
16  _volume(_elem->volume()),
17  _centroid(_elem->vertex_average()),
18  _coord_transform_factor(1.0),
19  _dof_indices(std::vector<std::vector<dof_id_type>>())
20 {
21 }
ElemInfo()
Default constructor.
Definition: ElemInfo.h:32
Real volume(const MeshBase &mesh, unsigned int dim=libMesh::invalid_uint)
uint8_t dof_id_type