From: David Wells Date: Fri, 5 Feb 2021 15:58:41 +0000 (-0500) Subject: Fix compilation with ExodusII. X-Git-Tag: v9.3.0-rc1~502^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F11690%2Fhead;p=dealii.git Fix compilation with ExodusII. --- diff --git a/source/grid/grid_in.cc b/source/grid/grid_in.cc index 9dab4dd339..f0e15b33ef 100644 --- a/source/grid/grid_in.cc +++ b/source/grid/grid_in.cc @@ -3194,12 +3194,12 @@ namespace const CellData &cell = cells[face_id / max_faces_per_cell]; const ReferenceCell cell_type = ReferenceCell::n_vertices_to_type(dim, cell.vertices.size()); - const ReferenceCell::internal::Info::Base &info = + const internal::Info::Base &info = internal::Info::get_cell(cell_type); const unsigned int deal_face_n = info.exodusii_face_to_deal_face(local_face_n); - const ReferenceCell::internal::Info::Base &face_info = - ReferenceCell::internal::Info::get_face(cell_type, deal_face_n); + const internal::Info::Base &face_info = + internal::Info::get_face(cell_type, deal_face_n); // The orientation we pick doesn't matter here since when we create // the Triangulation we will sort the vertices for each CellData @@ -3346,8 +3346,7 @@ GridIn::read_exodusii( AssertThrowExodusII(ierr); const ReferenceCell type = exodusii_name_to_type(string_temp.data(), n_nodes_per_element); - const ReferenceCell::internal::Info::Base &info = - internal::Info::get_cell(type); + const internal::Info::Base &info = internal::Info::get_cell(type); // The number of nodes per element may be larger than what we want to // read - for example, if the Exodus file contains a QUAD9 element, we // only want to read the first four values and ignore the rest.