]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix program (I inadvertently had switched template arguments, not considering that...
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 12 May 2008 17:10:18 +0000 (17:10 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 12 May 2008 17:10:18 +0000 (17:10 +0000)
git-svn-id: https://svn.dealii.org/trunk@16075 0785d39b-7218-0410-832d-ea1e28bc413d

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

index d30e11a3e37421e6973cc10b65277b3d5d6b308d..2528bb9b4150ef818b6956bccf1b10ed90332d4f 100644 (file)
@@ -242,8 +242,8 @@ void LFNumFlux(
     std::vector<std::vector<Sacado::Fad::DFad<double> > > oflux(n_components<dim>(),
                                                std::vector<Sacado::Fad::DFad<double> >(dim, 0));
 
-    Flux<number, dim>(iflux, points[q], Wplus[q]);
-    Flux<number, dim>(oflux, points[q], Wminus[q]);
+    Flux(iflux, points[q], Wplus[q]);
+    Flux(oflux, points[q], Wminus[q]);
 
     for (unsigned int di = 0; di < n_components<dim>(); di++) {
       nflux[q][di] = 0;
@@ -675,7 +675,7 @@ void ConsLaw<dim>::assemble_cell_term(
                                                                                                 std::vector<Sacado::Fad::DFad<double> >(dim, 0)));
 
   for (unsigned int q=0; q < n_q_points; ++q) {
-    Flux<Sacado::Fad::DFad<double>, dim>(flux[q], fe_v.get_quadrature_points()[q], Wcn[q]);
+    Flux(flux[q], fe_v.get_quadrature_points()[q], Wcn[q]);
   }
 
                                   // We now have all of the function values/grads/fluxes,

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.