From 3a2d7abc068bac2e1704740c26a70971060a98e7 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sun, 9 Nov 2014 21:52:07 -0600 Subject: [PATCH] Fix up coding style. Use CamelCase for class names for this internal class. --- source/distributed/tria.cc | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/source/distributed/tria.cc b/source/distributed/tria.cc index a4af46abd7..4624239a16 100644 --- a/source/distributed/tria.cc +++ b/source/distributed/tria.cc @@ -3335,7 +3335,7 @@ namespace parallel * vertices_with_ghost_neighbors via the p4est_iterate tool */ template - struct find_ghosts + struct FindGhosts { typename dealii::parallel::distributed::Triangulation *triangulation; sc_array_t *subids; @@ -3359,7 +3359,7 @@ namespace parallel typename dealii::internal::p4est::iter::corner_side *sides = (typename dealii::internal::p4est::iter::corner_side *) (info->sides.array); - struct find_ghosts *fg = static_cast *>(user_data); + FindGhosts *fg = static_cast *>(user_data); sc_array_t *subids = fg->subids; typename dealii::parallel::distributed::Triangulation *triangulation = fg->triangulation; int nsubs; @@ -3421,7 +3421,7 @@ namespace parallel typename dealii::internal::p4est::iter::edge_side *sides = (typename dealii::internal::p4est::iter::edge_side *) (info->sides.array); - struct find_ghosts *fg = static_cast *>(user_data); + FindGhosts *fg = static_cast *>(user_data); sc_array_t *subids = fg->subids; typename dealii::parallel::distributed::Triangulation *triangulation = fg->triangulation; int nsubs; @@ -3492,7 +3492,7 @@ namespace parallel typename dealii::internal::p4est::iter::face_side *sides = (typename dealii::internal::p4est::iter::face_side *) (info->sides.array); - struct find_ghosts *fg = static_cast *>(user_data); + FindGhosts *fg = static_cast *>(user_data); sc_array_t *subids = fg->subids; typename dealii::parallel::distributed::Triangulation *triangulation = fg->triangulation; int nsubs; @@ -3573,8 +3573,7 @@ namespace parallel { Assert (dim>1, ExcNotImplemented()); - struct find_ghosts fg; - + FindGhosts fg; fg.subids = sc_array_new (sizeof (dealii::types::subdomain_id)); fg.triangulation = this; fg.vertices_with_ghost_neighbors = &vertices_with_ghost_neighbors; -- 2.39.5