From: Ralf Hartmann Date: Mon, 31 Oct 2005 12:55:38 +0000 (+0000) Subject: Use opposite_faces provided by GeometryInfo. X-Git-Tag: v8.0.0~12936 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee66e0ec2b39365b63344a9d8cbf861fcb19daf8;p=dealii.git Use opposite_faces provided by GeometryInfo. git-svn-id: https://svn.dealii.org/trunk@11670 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/fe/fe_raviart_thomas.cc b/deal.II/deal.II/source/fe/fe_raviart_thomas.cc index e8c0513042..c7fea866b7 100644 --- a/deal.II/deal.II/source/fe/fe_raviart_thomas.cc +++ b/deal.II/deal.II/source/fe/fe_raviart_thomas.cc @@ -449,11 +449,7 @@ FE_RaviartThomas::has_support_on_face (const unsigned int shape_index, // are the values // actually zero. list // these in a table - const unsigned int - opposite_faces[GeometryInfo<2>::faces_per_cell] - = { 2, 3, 0, 1}; - - return (face_index != opposite_faces[shape_index]); + return (face_index != GeometryInfo::opposite_faces[shape_index]); } default: