From: Wolfgang Bangerth Date: Mon, 10 Nov 2014 03:52:07 +0000 (-0600) Subject: Fix up coding style. X-Git-Tag: v8.2.0-rc1~73^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a2d7abc068bac2e1704740c26a70971060a98e7;p=dealii.git Fix up coding style. Use CamelCase for class names for this internal class. --- 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;