Line data Source code
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 1225472 : ElemInfo::ElemInfo(const Elem * const elem) 15 1225472 : : _elem(elem), 16 1225472 : _volume(_elem->volume()), 17 1225472 : _centroid(_elem->vertex_average()), 18 1225472 : _coord_transform_factor(1.0), 19 1225472 : _dof_indices(std::vector<std::vector<dof_id_type>>()) 20 : { 21 1225472 : }