]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Rename the patch_second_derivatives field in the private Data structures of the DataO...
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 13 Sep 2007 23:47:15 +0000 (23:47 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 13 Sep 2007 23:47:15 +0000 (23:47 +0000)
git-svn-id: https://svn.dealii.org/trunk@15211 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/numerics/data_out.h
deal.II/deal.II/include/numerics/data_out_faces.h
deal.II/deal.II/include/numerics/data_out_rotation.h
deal.II/deal.II/source/numerics/data_out.cc
deal.II/deal.II/source/numerics/data_out_faces.cc
deal.II/deal.II/source/numerics/data_out_rotation.cc

index 94cec56ec01a1d2eec04cdecdaa6bab3fa5337de..c7a9d4515e2392d51036859f5a4606c4910234a9 100644 (file)
@@ -637,7 +637,7 @@ class DataOut_DoFData : public DataOutInterface<patch_dim,patch_space_dim>
         virtual
         void
         get_function_second_derivatives (const FEValuesBase<DH::dimension> &fe_patch_values,
-                                        std::vector<Tensor<2,DH::dimension> >       &patch_second_derivatives) const = 0;
+                                        std::vector<Tensor<2,DH::dimension> >       &patch_hessians) const = 0;
         
                                          /**
                                           * Given a FEValuesBase object, extract
@@ -650,7 +650,7 @@ class DataOut_DoFData : public DataOutInterface<patch_dim,patch_space_dim>
         virtual
         void
         get_function_second_derivatives (const FEValuesBase<DH::dimension> &fe_patch_values,
-                                        std::vector<std::vector< Tensor<2,DH::dimension> > > &patch_second_derivatives_system) const = 0;
+                                        std::vector<std::vector< Tensor<2,DH::dimension> > > &patch_hessians_system) const = 0;
 
                                          /**
                                           * Clear all references to the
@@ -779,7 +779,7 @@ class DataOut_DoFData : public DataOutInterface<patch_dim,patch_space_dim>
         virtual
         void
         get_function_second_derivatives (const FEValuesBase<DH::dimension> &fe_patch_values,
-                                        std::vector<Tensor<2,DH::dimension> >       &patch_second_derivatives) const;
+                                        std::vector<Tensor<2,DH::dimension> >       &patch_hessians) const;
         
                                          /**
                                           * Given a FEValuesBase object, extract
@@ -792,7 +792,7 @@ class DataOut_DoFData : public DataOutInterface<patch_dim,patch_space_dim>
         virtual
         void
         get_function_second_derivatives (const FEValuesBase<DH::dimension> &fe_patch_values,
-                                        std::vector<std::vector< Tensor<2,DH::dimension> > > &patch_second_derivatives_system) const;
+                                        std::vector<std::vector< Tensor<2,DH::dimension> > > &patch_hessians_system) const;
 
                                          /**
                                           * Clear all references to the
@@ -1143,8 +1143,8 @@ class DataOut : public DataOut_DoFData<DH, DH::dimension>
        std::vector<Vector<double> > patch_values_system;
        std::vector<Tensor<1,DH::dimension> >               patch_gradients;
        std::vector<std::vector<Tensor<1,DH::dimension> > > patch_gradients_system;
-       std::vector<Tensor<2,DH::dimension> >               patch_second_derivatives;
-       std::vector<std::vector<Tensor<2,DH::dimension> > > patch_second_derivatives_system;
+       std::vector<Tensor<2,DH::dimension> >               patch_hessians;
+       std::vector<std::vector<Tensor<2,DH::dimension> > > patch_hessians_system;
        std::vector<Point<dim> >                            dummy_normals;
        std::vector<std::vector<Vector<double> > >          postprocessed_values;
 
index 49b17a46d2d12d4cae2647ff057b97b608a9f910..bd86ce8ce8b3eaecb9218ee11b9c44cfd675e844 100644 (file)
@@ -200,8 +200,8 @@ class DataOutFaces : public DataOut_DoFData<DH,DH::dimension-1,
        std::vector<Vector<double> >               patch_values_system;
        std::vector<Tensor<1,dim> >                patch_gradients;
        std::vector<std::vector<Tensor<1,dim> > >  patch_gradients_system;
-       std::vector<Tensor<2,dim> >                patch_second_derivatives;
-       std::vector<std::vector<Tensor<2,dim> > >  patch_second_derivatives_system;
+       std::vector<Tensor<2,dim> >                patch_hessians;
+       std::vector<std::vector<Tensor<2,dim> > >  patch_hessians_system;
        std::vector<std::vector<Vector<double> > > postprocessed_values;
        std::vector<Point<dim> >                   patch_normals;
        Data ()
index c8733d12288f63b28b52050ce8dbbc0dbaf1fb75..843f39528125468d6fabbf612a3f9c75b19def68 100644 (file)
@@ -189,8 +189,8 @@ class DataOutRotation : public DataOut_DoFData<DH,DH::dimension+1>
        std::vector<Vector<double> >               patch_values_system;
        std::vector<Tensor<1,dim> >                patch_gradients;
        std::vector<std::vector<Tensor<1,dim> > >  patch_gradients_system;
-       std::vector<Tensor<2,dim> >                patch_second_derivatives;
-       std::vector<std::vector<Tensor<2,dim> > >  patch_second_derivatives_system;
+       std::vector<Tensor<2,dim> >                patch_hessians;
+       std::vector<std::vector<Tensor<2,dim> > >  patch_hessians_system;
        std::vector<std::vector<Vector<double> > > postprocessed_values;
        std::vector<Point<dim> >                   dummy_normals;
        Data ()
index 2d6622b26ccd8be5f7ca3406f1971f6d19b2a5d2..d51968fadbca730cfcd796d42ae397f32a7589b8 100644 (file)
@@ -143,9 +143,9 @@ void
 DataOut_DoFData<DH,patch_dim,patch_space_dim>::
 DataEntry<VectorType>::
 get_function_second_derivatives (const FEValuesBase<DH::dimension> &fe_patch_values,
-                                std::vector<std::vector<Tensor<2,DH::dimension> > >   &patch_second_derivatives_system) const
+                                std::vector<std::vector<Tensor<2,DH::dimension> > >   &patch_hessians_system) const
 {
-  fe_patch_values.get_function_2nd_derivatives (*vector, patch_second_derivatives_system);
+  fe_patch_values.get_function_2nd_derivatives (*vector, patch_hessians_system);
 }
 
 
@@ -157,9 +157,9 @@ void
 DataOut_DoFData<DH,patch_dim,patch_space_dim>::
 DataEntry<VectorType>::
 get_function_second_derivatives (const FEValuesBase<DH::dimension> &fe_patch_values,
-                                std::vector<Tensor<2,DH::dimension> >       &patch_second_derivatives) const
+                                std::vector<Tensor<2,DH::dimension> >       &patch_hessians) const
 {
-  fe_patch_values.get_function_2nd_derivatives (*vector, patch_second_derivatives);
+  fe_patch_values.get_function_2nd_derivatives (*vector, patch_hessians);
 }
 
 
@@ -615,11 +615,11 @@ void DataOut<dim,DH>::build_some_patches (Data &data)
                                                                         data.patch_gradients);
                      if (update_flags & update_hessians)
                        this->dof_data[dataset]->get_function_second_derivatives (fe_patch_values,
-                                                                                 data.patch_second_derivatives);
+                                                                                 data.patch_hessians);
                      postprocessor->
                        compute_derived_quantities_scalar(data.patch_values,
                                                          data.patch_gradients,
-                                                         data.patch_second_derivatives,
+                                                         data.patch_hessians,
                                                          data.dummy_normals,
                                                          data.postprocessed_values[dataset]);
                    }
@@ -637,11 +637,11 @@ void DataOut<dim,DH>::build_some_patches (Data &data)
                                                                         data.patch_gradients_system);
                      if (update_flags & update_hessians)
                        this->dof_data[dataset]->get_function_second_derivatives (fe_patch_values,
-                                                                                 data.patch_second_derivatives_system);
+                                                                                 data.patch_hessians_system);
                      postprocessor->
                        compute_derived_quantities_vector(data.patch_values_system,
                                                          data.patch_gradients_system,
-                                                         data.patch_second_derivatives_system,
+                                                         data.patch_hessians_system,
                                                          data.dummy_normals,
                                                          data.postprocessed_values[dataset]);
                    }
@@ -893,8 +893,8 @@ void DataOut<dim,DH>::build_patches (const Mapping<DH::dimension> &mapping,
       thread_data[i].patch_values_system.resize (n_q_points);
       thread_data[i].patch_gradients.resize (n_q_points);
       thread_data[i].patch_gradients_system.resize (n_q_points);
-      thread_data[i].patch_second_derivatives.resize (n_q_points);
-      thread_data[i].patch_second_derivatives_system.resize (n_q_points);
+      thread_data[i].patch_hessians.resize (n_q_points);
+      thread_data[i].patch_hessians_system.resize (n_q_points);
       thread_data[i].dummy_normals.clear();
       thread_data[i].postprocessed_values.resize(this->dof_data.size());
       thread_data[i].mapping        = &mapping;
@@ -905,7 +905,7 @@ void DataOut<dim,DH>::build_patches (const Mapping<DH::dimension> &mapping,
        {
          thread_data[i].patch_values_system[k].reinit(n_components);
          thread_data[i].patch_gradients_system[k].resize(n_components);
-         thread_data[i].patch_second_derivatives_system[k].resize(n_components);
+         thread_data[i].patch_hessians_system[k].resize(n_components);
        }
 
       for (unsigned int dataset=0; dataset<this->dof_data.size(); ++dataset)
index 226382698666141bc372cb13690080f6e5408d1e..5d132298007a676a2ba23ad188c643fc8251f3c2 100644 (file)
@@ -130,11 +130,11 @@ void DataOutFaces<dim,DH>::build_some_patches (Data &data)
                                                                         data.patch_gradients);
                      if (update_flags & update_hessians)
                        this->dof_data[dataset]->get_function_second_derivatives (fe_patch_values,
-                                                                                 data.patch_second_derivatives);
+                                                                                 data.patch_hessians);
                      postprocessor->
                        compute_derived_quantities_scalar(data.patch_values,
                                                          data.patch_gradients,
-                                                         data.patch_second_derivatives,
+                                                         data.patch_hessians,
                                                          data.patch_normals,
                                                          data.postprocessed_values[dataset]);
                    }
@@ -152,11 +152,11 @@ void DataOutFaces<dim,DH>::build_some_patches (Data &data)
                                                                         data.patch_gradients_system);
                      if (update_flags & update_hessians)
                        this->dof_data[dataset]->get_function_second_derivatives (fe_patch_values,
-                                                                                 data.patch_second_derivatives_system);
+                                                                                 data.patch_hessians_system);
                      postprocessor->
                        compute_derived_quantities_vector(data.patch_values_system,
                                                          data.patch_gradients_system,
-                                                         data.patch_second_derivatives_system,
+                                                         data.patch_hessians_system,
                                                          data.patch_normals,
                                                          data.postprocessed_values[dataset]);
                    }
@@ -293,8 +293,8 @@ void DataOutFaces<dim,DH>::build_patches (const unsigned int nnnn_subdivisions,
       thread_data[i].patch_values_system.resize (n_q_points);
       thread_data[i].patch_gradients.resize (n_q_points);
       thread_data[i].patch_gradients_system.resize (n_q_points);
-      thread_data[i].patch_second_derivatives.resize (n_q_points);
-      thread_data[i].patch_second_derivatives_system.resize (n_q_points);
+      thread_data[i].patch_hessians.resize (n_q_points);
+      thread_data[i].patch_hessians_system.resize (n_q_points);
       thread_data[i].patch_normals.resize (n_q_points);
       thread_data[i].postprocessed_values.resize (this->dof_data.size());
       
@@ -302,7 +302,7 @@ void DataOutFaces<dim,DH>::build_patches (const unsigned int nnnn_subdivisions,
        {
          thread_data[i].patch_values_system[k].reinit(n_components);
          thread_data[i].patch_gradients_system[k].resize(n_components);
-         thread_data[i].patch_second_derivatives_system[k].resize(n_components);
+         thread_data[i].patch_hessians_system[k].resize(n_components);
        }
 
       for (unsigned int dataset=0; dataset<this->dof_data.size(); ++dataset)
index a76adfb4f33169309dab3dc3b7e1a53dfb0a738d..1a488bae324e91302ea284bf4a79199a0d4d34a4 100644 (file)
@@ -214,11 +214,11 @@ void DataOutRotation<dim,DH>::build_some_patches (Data &data)
                                                                             data.patch_gradients);
                          if (update_flags & update_hessians)
                            this->dof_data[dataset]->get_function_second_derivatives (fe_patch_values,
-                                                                                     data.patch_second_derivatives);
+                                                                                     data.patch_hessians);
                          postprocessor->
                            compute_derived_quantities_scalar(data.patch_values,
                                                              data.patch_gradients,
-                                                             data.patch_second_derivatives,
+                                                             data.patch_hessians,
                                                              data.dummy_normals,
                                                              data.postprocessed_values[dataset]);
                        }
@@ -236,11 +236,11 @@ void DataOutRotation<dim,DH>::build_some_patches (Data &data)
                                                                             data.patch_gradients_system);
                          if (update_flags & update_hessians)
                            this->dof_data[dataset]->get_function_second_derivatives (fe_patch_values,
-                                                                                     data.patch_second_derivatives_system);
+                                                                                     data.patch_hessians_system);
                          postprocessor->
                            compute_derived_quantities_vector(data.patch_values_system,
                                                              data.patch_gradients_system,
-                                                             data.patch_second_derivatives_system,
+                                                             data.patch_hessians_system,
                                                              data.dummy_normals,
                                                              data.postprocessed_values[dataset]);
                        }
@@ -492,8 +492,8 @@ void DataOutRotation<dim,DH>::build_patches (
       thread_data[i].patch_values_system.resize (n_q_points);
       thread_data[i].patch_gradients.resize (n_q_points);
       thread_data[i].patch_gradients_system.resize (n_q_points);
-      thread_data[i].patch_second_derivatives.resize (n_q_points);
-      thread_data[i].patch_second_derivatives_system.resize (n_q_points);
+      thread_data[i].patch_hessians.resize (n_q_points);
+      thread_data[i].patch_hessians_system.resize (n_q_points);
       thread_data[i].dummy_normals.clear();
       thread_data[i].postprocessed_values.resize(this->dof_data.size());
       
@@ -501,7 +501,7 @@ void DataOutRotation<dim,DH>::build_patches (
        {
          thread_data[i].patch_values_system[k].reinit(n_components);
          thread_data[i].patch_gradients_system[k].resize(n_components);
-         thread_data[i].patch_second_derivatives_system[k].resize(n_components);
+         thread_data[i].patch_hessians_system[k].resize(n_components);
        }
 
       for (unsigned int dataset=0; dataset<this->dof_data.size(); ++dataset)

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.