From: wolf Date: Mon, 3 Jun 2002 10:28:53 +0000 (+0000) Subject: Remove "static" flag from inline functions, since that led to errors X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2ecc58fcd29482b5bfe6b2a9f739857ea5cbf88;p=dealii-svn.git 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 --- 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} };