]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Remove a number of unused variables.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 8 May 2008 22:04:43 +0000 (22:04 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 8 May 2008 22:04:43 +0000 (22:04 +0000)
git-svn-id: https://svn.dealii.org/trunk@16061 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-33/step-33.cc

index 5d16c646512f84a46a56a44eb20770feef183407..eeabd9f615e30e9110071b666d85fec7b769e0af 100644 (file)
@@ -119,7 +119,7 @@ const double GAMMA = 1.4;
                                 // point.
 template <typename number, int dim>
 void Flux(std::vector<std::vector<number> >  &flux, 
-          const Point<dim> &point, 
+          const Point<dim> &/*point*/,
           const std::vector<number> &W)
 {
 
@@ -509,7 +509,7 @@ template <int dim>
 void ConsLaw<dim>::assemble_cell_term(
   const FEValues<dim> &fe_v,
   std::vector<unsigned int> &dofs,
-  unsigned int cell_no
+  unsigned int /*cell_no*/
   ) 
 {
                                  // The residual for each row (i) will be accumulating 
@@ -1427,8 +1427,6 @@ void ConsLaw<dim>::postprocess() {
     fe_v_unit.get_function_grads(solution, dU);
     fe_v.get_function_values(solution, UU);
 
-    const std::vector<double> &JxW = fe_v.get_JxW_values ();
-
     for (unsigned int q = 0; q < fe_v.get_fe().base_element(0).n_dofs_per_cell(); q++) {
       unsigned int didx = fe_v.get_fe().component_to_system_index(DENS_IDX, q);
       unsigned int eidx = fe_v.get_fe().component_to_system_index(ENERGY_IDX, q);

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.