https://mooseframework.inl.gov
src
mesh
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
}
FaceInfo.h
std
ElemInfo::ElemInfo
ElemInfo()
Default constructor.
Definition:
ElemInfo.h:32
ElemInfo.h
MooseError.h
volume
Real volume(const MeshBase &mesh, unsigned int dim=libMesh::invalid_uint)
dof_id_type
uint8_t dof_id_type
Generated on Wed Aug 6 2025 14:23:58 for https://mooseframework.inl.gov by
1.8.14