]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Default the second template argument of Particles::DataOut.
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 22 May 2020 00:11:56 +0000 (18:11 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Fri, 22 May 2020 00:11:56 +0000 (18:11 -0600)
Like in many other classes, default 'spacedim' to 'dim'.

include/deal.II/particles/data_out.h

index 4fad668684aed79bbac7f155573715342970265d..745a8aaf824c32d0eb46e57ea3a63f6437fd6c51 100644 (file)
@@ -40,7 +40,7 @@ namespace Particles
    *
    * @author Bruno Blais, Luca Heltai 2019
    */
-  template <int dim, int spacedim>
+  template <int dim, int spacedim = dim>
   class DataOut : public dealii::DataOutInterface<0, spacedim>
   {
   public:

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.