]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Clean up the last two commits slightly. 8642/head
authorDavid Wells <drwells@email.unc.edu>
Sun, 25 Aug 2019 21:48:46 +0000 (17:48 -0400)
committerDavid Wells <drwells@email.unc.edu>
Sun, 25 Aug 2019 21:48:46 +0000 (17:48 -0400)
examples/step-33/step-33.cc
examples/step-4/step-4.cc

index 6b97d3468569da46f287630e43a105c69ac0a8b8..8db89f0471b238c9d2e0bf3e2fa8f17e2709543e 100644 (file)
@@ -1445,10 +1445,11 @@ namespace Step33
     std::vector<types::global_dof_index> dof_indices_neighbor(dofs_per_cell);
 
     const UpdateFlags update_flags = update_values | update_gradients |
-                                     update_quadrature_points | update_JxW_values,
-                      face_update_flags = update_values | update_quadrature_points |
-                                          update_JxW_values |
-                                          update_normal_vectors,
+                                     update_quadrature_points |
+                                     update_JxW_values,
+                      face_update_flags =
+                        update_values | update_quadrature_points |
+                        update_JxW_values | update_normal_vectors,
                       neighbor_face_update_flags = update_values;
 
     FEValues<dim>        fe_v(mapping, fe, quadrature, update_flags);
index 0ab6776ce1aed5fbf7f70d8ee63f646686df6edf..792674e03b478762687d9adc88c37d5efa1fd84b 100644 (file)
@@ -422,8 +422,7 @@ void Step4<dim>::assemble_system()
   // If there are faces with boundary id other than 0, then the function
   // interpolate_boundary_values will do nothing on these faces. For
   // the Laplace equation doing nothing is equivalent to assuming that
-  // on those parts of the boundary, zero Neumann
-  // boundary condition hold.
+  // on those parts of the boundary a zero Neumann boundary condition holds.
   std::map<types::global_dof_index, double> boundary_values;
   VectorTools::interpolate_boundary_values(dof_handler,
                                            0,

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.