From aa383b7c0f86e13557e4621aa64f52786cb11068 Mon Sep 17 00:00:00 2001 From: oliver Date: Tue, 31 May 2005 16:08:00 +0000 Subject: [PATCH] Implemented an option to output the solution on deformed meshes, which stem from a MappingQ1Eulerian. git-svn-id: https://svn.dealii.org/trunk@10791 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/numerics/data_out.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/deal.II/deal.II/include/numerics/data_out.h b/deal.II/deal.II/include/numerics/data_out.h index a97dcf0ab7..29dfdc3e2d 100644 --- a/deal.II/deal.II/include/numerics/data_out.h +++ b/deal.II/deal.II/include/numerics/data_out.h @@ -20,6 +20,7 @@ #include #include #include +#include #include @@ -820,7 +821,20 @@ class DataOut : public DataOut_DoFData * threads to be used to build * the patches is set to * multithread_info.n_default_threads. + * + * The optional parameter + * defining a mapping is especially + * intended for the Eulerian mapping. + * It offers an opportunity to + * watch the solution on the + * deformed triangulational on which + * the computation was actually carried + * out. */ + virtual void build_patches (const Mapping &mapping, + const unsigned int n_subdivisions = 1, + const unsigned int n_threads = multithread_info.n_default_threads); + virtual void build_patches (const unsigned int n_subdivisions = 1, const unsigned int n_threads = multithread_info.n_default_threads); @@ -893,6 +907,7 @@ class DataOut : public DataOut_DoFData unsigned int n_components; unsigned int n_datasets; unsigned int n_subdivisions; + SmartPointer > mapping; std::vector patch_values; std::vector > patch_values_system; -- 2.39.5