From c2ecc58fcd29482b5bfe6b2a9f739857ea5cbf88 Mon Sep 17 00:00:00 2001 From: wolf Date: Mon, 3 Jun 2002 10:28:53 +0000 Subject: [PATCH] Remove "static" flag from inline functions, since that led to errors on AIX. git-svn-id: https://svn.dealii.org/trunk@5961 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/grid/geometry_info.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/deal.II/deal.II/include/grid/geometry_info.h b/deal.II/deal.II/include/grid/geometry_info.h index 87a10778b8..3237421dbb 100644 --- a/deal.II/deal.II/include/grid/geometry_info.h +++ b/deal.II/deal.II/include/grid/geometry_info.h @@ -818,7 +818,7 @@ GeometryInfo<1>::unit_cell_vertex (const unsigned int vertex) Assert (vertex < vertices_per_cell, ExcIndexRange (vertex, 0, vertices_per_cell)); - static const Point vertices[vertices_per_cell] = + const Point vertices[vertices_per_cell] = { Point(0.), Point(1.) }; return vertices[vertex]; }; @@ -832,7 +832,7 @@ GeometryInfo<2>::unit_cell_vertex (const unsigned int vertex) Assert (vertex < vertices_per_cell, ExcIndexRange (vertex, 0, vertices_per_cell)); - static const Point vertices[vertices_per_cell] = + const Point vertices[vertices_per_cell] = { Point(0., 0.), Point(1., 0.), Point(1.,1.), Point(0.,1.) }; return vertices[vertex]; @@ -847,7 +847,7 @@ GeometryInfo<3>::unit_cell_vertex (const unsigned int vertex) Assert (vertex < vertices_per_cell, ExcIndexRange (vertex, 0, vertices_per_cell)); - static const Point vertices[vertices_per_cell] = + const Point vertices[vertices_per_cell] = { Point(0., 0., 0.), Point(1., 0., 0.), Point(1., 0., 1.), Point(0., 0., 1.), Point(0., 1., 0.), Point(1., 1., 0.), @@ -882,7 +882,7 @@ GeometryInfo<2>::vertices_adjacent_to_line (const unsigned int line, Assert (vertex < vertices_per_cell, ExcIndexRange (vertex, 0, 2)); - static const unsigned int vertex_indices[lines_per_cell][2] = + const unsigned int vertex_indices[lines_per_cell][2] = { {0, 1}, {1, 2}, {3, 2}, {0, 3} }; return vertex_indices[line][vertex]; @@ -900,7 +900,7 @@ GeometryInfo<3>::vertices_adjacent_to_line (const unsigned int line, Assert (vertex < vertices_per_cell, ExcIndexRange (vertex, 0, 2)); - static const unsigned int vertex_indices[lines_per_cell][2] = + const unsigned int vertex_indices[lines_per_cell][2] = { {0, 1}, {1, 2}, {3, 2}, {0, 3}, {4, 5}, {5, 6}, {7, 6}, {4, 7}, {0, 4}, {1, 5}, {2, 6}, {3, 7} }; -- 2.39.5