From: blaisb Date: Sat, 30 May 2020 18:39:39 +0000 (-0400) Subject: Addresses Peter comments on default value of vector, order of comments and fixes... X-Git-Tag: v9.3.0-rc1~1505^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F10422%2Fhead;p=dealii.git Addresses Peter comments on default value of vector, order of comments and fixes spelling mistakes --- diff --git a/include/deal.II/particles/generators.h b/include/deal.II/particles/generators.h index bd3887a7c2..9aee2b96b3 100644 --- a/include/deal.II/particles/generators.h +++ b/include/deal.II/particles/generators.h @@ -194,12 +194,12 @@ namespace Particles * @param[in] mapping An optional mapping object that is used to map * the DOF locations. If no mapping is provided a MappingQ1 is assumed. * - * @param[in] properties An optional vector of vector of properties - * for each particles to be inserted. - * * @param[in] components Component mask that decides which subset of the * support points of the dof_handler are used to generate the particles. * + * @param[in] properties An optional vector of vector of properties + * for each particle to be inserted. + * * @author Bruno Blais, Luca Heltai, 2019 */ template @@ -211,8 +211,7 @@ namespace Particles const Mapping & mapping = StaticMappingQ1::mapping, const ComponentMask &components = ComponentMask(), - const std::vector> &properties = - std::vector>()); + const std::vector> &properties = {}); /** * A function that generates particles at the locations of the quadrature @@ -243,7 +242,7 @@ namespace Particles * assumed. * * @param[in] properties An optional vector of vector of properties - * for each particles to be inserted. + * for each particle to be inserted. * * @author Bruno Blais, Luca Heltai, 2019 */ @@ -256,8 +255,7 @@ namespace Particles ParticleHandler &particle_handler, const Mapping & mapping = StaticMappingQ1::mapping, - const std::vector> &properties = - std::vector>()); + const std::vector> &properties = {}); } // namespace Generators } // namespace Particles