]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make method/field in DataOut accessible 12420/head
authorPeter Munch <peterrmuench@gmail.com>
Wed, 9 Jun 2021 08:37:01 +0000 (10:37 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Wed, 9 Jun 2021 21:12:43 +0000 (23:12 +0200)
include/deal.II/numerics/data_out_dof_data.h
include/deal.II/numerics/data_out_dof_data.templates.h

index 264294e24dbc0dd16bb8dd3cefbdfd6c17751e3c..5ee9214aa5aff9a6b47e00f6bddd289b73358d01 100644 (file)
@@ -1007,6 +1007,7 @@ protected:
    * %Function by which the base class's functions get to know what patches
    * they shall write to a file.
    */
+public:
   virtual const std::vector<Patch> &
   get_patches() const override;
 
@@ -1017,13 +1018,6 @@ protected:
   virtual std::vector<std::string>
   get_dataset_names() const override;
 
-  /**
-   * Extracts the finite elements stored in the dof_data object, including a
-   * dummy object of FE_DGQ<dim>(0) in case only the triangulation is used.
-   */
-  std::vector<std::shared_ptr<dealii::hp::FECollection<dim, spacedim>>>
-  get_fes() const;
-
   /**
    * Overload of the respective DataOutInterface::get_nonscalar_data_ranges()
    * function. See there for a more extensive documentation.
@@ -1035,6 +1029,14 @@ protected:
                DataComponentInterpretation::DataComponentInterpretation>>
   get_nonscalar_data_ranges() const override;
 
+protected:
+  /**
+   * Extracts the finite elements stored in the dof_data object, including a
+   * dummy object of FE_DGQ<dim>(0) in case only the triangulation is used.
+   */
+  std::vector<std::shared_ptr<dealii::hp::FECollection<dim, spacedim>>>
+  get_fes() const;
+
   // Make all template siblings friends. Needed for the merge_patches()
   // function.
   template <int, int, int, int>
index d7db51a91937704ad633963509f3188f95e44357..2b6f96ce05433f4e1d281fb0e73abaa40d820f70 100644 (file)
@@ -885,7 +885,6 @@ namespace internal
       virtual std::size_t
       memory_consumption() const override;
 
-    private:
       /**
        * Pointer to the data vector. Note that ownership of the vector pointed
        * to remains with the caller of this class.

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.