]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make naming of function arguments more uniform. 13286/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Mon, 24 Jan 2022 18:11:06 +0000 (11:11 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 24 Jan 2022 18:11:06 +0000 (11:11 -0700)
We don't usually use _n as a suffix to indicate a _number or _index. In fact,
the implementation of the function also doesn't use the suffix used here
in the declaration.

include/deal.II/grid/reference_cell.h

index bdcb4fb6b355997a96bdd20549f24f8a55d81ed3..5c911d95a3ff0b5153dc2fa82fdd4d4b84fb8144 100644 (file)
@@ -344,8 +344,8 @@ public:
    * entry.
    */
   unsigned int
-  child_cell_on_face(const unsigned int  face_n,
-                     const unsigned int  subface_n,
+  child_cell_on_face(const unsigned int  face,
+                     const unsigned int  subface,
                      const unsigned char face_orientation = 1) const;
 
   /**

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.