From: Wolfgang Bangerth Date: Wed, 15 Jan 2020 05:24:02 +0000 (-0700) Subject: Use @pre instead of @note in a number of places. X-Git-Tag: v9.2.0-rc1~672^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F9333%2Fhead;p=dealii.git Use @pre instead of @note in a number of places. --- diff --git a/include/deal.II/grid/grid_generator.h b/include/deal.II/grid/grid_generator.h index 03e036258f..8126aae9f5 100644 --- a/include/deal.II/grid/grid_generator.h +++ b/include/deal.II/grid/grid_generator.h @@ -86,7 +86,8 @@ namespace GridGenerator * cells. See hyper_rectangle(), if different lengths in different ordinate * directions are required. * - * @note The triangulation passed as argument needs to be empty when calling this function. + * @pre The triangulation passed as argument needs to be empty when calling + * this function. */ template void @@ -140,7 +141,8 @@ namespace GridGenerator * dimensional space with the remaining entries set to zero. For example, a * Triangulation@<2,3@> will be a square in the xy plane with z=0. * - * @note The triangulation passed as argument needs to be empty when calling this function. + * @pre The triangulation passed as argument needs to be empty when calling + * this function. * * @param tria The triangulation to create. It needs to be empty upon * calling this function. @@ -196,7 +198,8 @@ namespace GridGenerator * Triangulation@<2,3@> will be a rectangle in the xy plane with * z=0, defined by the two opposing corners @p p1 and @p p2. * - * @note The triangulation passed as argument needs to be empty when calling this function. + * @pre The triangulation passed as argument needs to be empty when calling + * this function. */ template void @@ -551,7 +554,8 @@ namespace GridGenerator * vertices in the array of corners will no longer refer to the * same triangulation. * - * @note The triangulation passed as argument needs to be empty when calling this function. + * @pre The triangulation passed as argument needs to be empty when calling + * this function. */ template void @@ -567,7 +571,8 @@ namespace GridGenerator * of subdivisions in each of the @p dim directions. Colorizing is done * according to hyper_rectangle(). * - * @note The triangulation passed as argument needs to be empty when calling this function. + * @pre The triangulation passed as argument needs to be empty when calling + * this function. */ template void @@ -581,7 +586,8 @@ namespace GridGenerator * number of subdivisions in each of the @p dim directions may vary. * Colorizing is done according to hyper_rectangle(). * - * @note The triangulation passed as argument needs to be empty when calling this function. + * @pre The triangulation passed as argument needs to be empty when calling + * this function. */ template void @@ -638,7 +644,8 @@ namespace GridGenerator * * Presently only available in 2d and 3d. * - * @note The triangulation passed as argument needs to be empty when calling this function. + * @pre The triangulation passed as argument needs to be empty when calling + * this function. */ template void @@ -721,7 +728,8 @@ namespace GridGenerator * what you see visualized is not necessarily exactly what is * happening. * - * @note The triangulation passed as argument needs to be empty when calling this function. + * @pre The triangulation passed as argument needs to be empty when calling + * this function. */ template void @@ -752,7 +760,8 @@ namespace GridGenerator * @image html sphere.png * @image html sphere_section.png * - * @note The triangulation passed as argument needs to be empty when calling this function. + * @pre The triangulation passed as argument needs to be empty when calling + * this function. */ template @@ -768,7 +777,7 @@ namespace GridGenerator * boundary and 1 for the cut plane. The manifold id for the curved boundary * is set to zero, and a SphericalManifold is attached to it. * - * @note The triangulation passed as argument needs to be empty when calling + * @pre The triangulation passed as argument needs to be empty when calling * this function. */ template @@ -786,7 +795,8 @@ namespace GridGenerator * boundary and 1 for the cut plane. The manifold id for the curved boundary * is set to zero, and a SphericalManifold is attached to it. * - * @note The triangulation passed as argument needs to be empty when calling this function. + * @pre The triangulation passed as argument needs to be empty when calling + * this function. */ template void @@ -819,7 +829,8 @@ namespace GridGenerator * The manifold id for the hull of the cylinder is set to zero, and a * CylindricalManifold is attached to it. * - * @note The triangulation passed as argument needs to be empty when calling this function. + * @pre The triangulation passed as argument needs to be empty when calling + * this function. */ template void @@ -854,7 +865,8 @@ namespace GridGenerator * @image html truncated_cone_2d.png * @image html truncated_cone_3d.png * - * @note The triangulation passed as argument needs to be empty when calling this function. + * @pre The triangulation passed as argument needs to be empty when calling + * this function. * * @author Markus Bürg, 2009 */ @@ -931,7 +943,8 @@ namespace GridGenerator * This function exists for triangulations of all space * dimensions, but throws an error if called in 1d. * - * @note The triangulation passed as argument needs to be empty when calling this function. + * @pre The triangulation passed as argument needs to be empty when calling + * this function. */ template void @@ -995,7 +1008,8 @@ namespace GridGenerator * with boundary id 1 and 2, respectively (see * @ref GlossColorization "the glossary entry on colorization"). * - * @note The triangulation passed as argument needs to be empty when calling this function. + * @pre The triangulation passed as argument needs to be empty when calling + * this function. */ template void @@ -1040,7 +1054,8 @@ namespace GridGenerator * @note This function is declared to exist for triangulations of all space * dimensions, but throws an error if called in 1d. * - * @note The triangulation passed as argument needs to be empty when calling this function. + * @pre The triangulation passed as argument needs to be empty when calling + * this function. */ template void @@ -1081,7 +1096,8 @@ namespace GridGenerator * declared to exist for triangulations of all space dimensions, but throws an * error if called in 1d. * - * @note The triangulation passed as argument needs to be empty when calling this function. + * @pre The triangulation passed as argument needs to be empty when calling + * this function. */ template void @@ -1116,7 +1132,8 @@ namespace GridGenerator * All manifold ids are set to zero, and a SphericalManifold is attached * to the triangulation. * - * @note The triangulation passed as argument needs to be empty when calling this function. + * @pre The triangulation passed as argument needs to be empty when calling + * this function. */ template void @@ -1150,7 +1167,8 @@ namespace GridGenerator * All manifold ids are set to zero, and a SphericalManifold is attached * to the triangulation. * - * @note The triangulation passed as argument needs to be empty when calling this function. + * @pre The triangulation passed as argument needs to be empty when calling + * this function. */ template void @@ -1178,7 +1196,8 @@ namespace GridGenerator * All manifold ids are set to zero, and a CylindricalManifold is attached * to the triangulation. * - * @note The triangulation passed as argument needs to be empty when calling this function. + * @pre The triangulation passed as argument needs to be empty when calling + * this function. * * @image html cylinder_shell.png * @@ -1564,7 +1583,7 @@ namespace GridGenerator * triangulation_2 have the same manifold descriptions. The output * Triangulation @p has the same manifold ids as these two triangulations. * - * @pre Both of the source conditions need to be available entirely locally. + * @note Both of the source conditions need to be available entirely locally. * In other words, they can not be objects of type * parallel::distributed::Triangulation. */ @@ -1663,7 +1682,7 @@ namespace GridGenerator * Note that numbers::flat_manifold_id (should it be a manifold id of @p * input) will always be the last entry in the first category. * - * @note The 2d input triangulation @p input must be a + * @pre The 2d input triangulation @p input must be a * @ref GlossCoarseMesh "coarse mesh", * i.e., it cannot have any * refined cells. @@ -1690,7 +1709,7 @@ namespace GridGenerator * walls in z direction. The bottom and top get the next two free boundary * indicators. * - * @note The 2d input triangulation @p input must be a + * @pre The 2d input triangulation @p input must be a * @ref GlossCoarseMesh "coarse mesh", * i.e., it cannot have any * refined cells.