From: guido Date: Fri, 2 Aug 2002 19:51:49 +0000 (+0000) Subject: gcc 2.95 is really careless. This should never have compiled! X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6db3196bfe14678769487a2bba9bfbdf10f23c70;p=dealii-svn.git gcc 2.95 is really careless. This should never have compiled! git-svn-id: https://svn.dealii.org/trunk@6315 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/numerics/vectors.cc b/deal.II/deal.II/source/numerics/vectors.cc index 821fbdc10a..0166d6b940 100644 --- a/deal.II/deal.II/source/numerics/vectors.cc +++ b/deal.II/deal.II/source/numerics/vectors.cc @@ -1144,11 +1144,15 @@ VectorTools::integrate_difference (const Mapping &mapping, { weight->value_list (fe_values.get_quadrature_points(), weight_values); -// for (unsigned int k=0;k &mapping, switch (norm) { case mean: - if (weight != 0) - { - // Different weights for - // each component? - if (weight->n_components > 1) - for (unsigned int q=0; qn_components == 1 - for (unsigned int q=0; qn_components > 1) - for (unsigned int q=0; qn_components == 1 - for (unsigned int q=0; qn_components > 1) - for (unsigned int q=0; qn_components == 1 - for (unsigned int q=0; qn_components > 1) - for (unsigned int q=0; qn_components == 1 - for (unsigned int q=0; qn_components > 1) - for (unsigned int q=0; qn_components == 1 - for (unsigned int q=0; q Vector &, const Quadrature &, const NormType &, - const Function *); + const Function *, + const double); template void VectorTools::integrate_difference (const DoFHandler &, @@ -1582,7 +1530,8 @@ void VectorTools::integrate_difference Vector &, const Quadrature &, const NormType &, - const Function *); + const Function *, + const double); template void VectorTools::integrate_difference (const Mapping &, @@ -1592,7 +1541,8 @@ void VectorTools::integrate_difference Vector &, const Quadrature &, const NormType &, - const Function *); + const Function *, + const double); template void VectorTools::integrate_difference (const DoFHandler &, @@ -1601,7 +1551,8 @@ void VectorTools::integrate_difference Vector &, const Quadrature &, const NormType &, - const Function *); + const Function *, + const double); template void VectorTools::integrate_difference (const Mapping &, @@ -1611,7 +1562,8 @@ void VectorTools::integrate_difference Vector &, const Quadrature &, const NormType &, - const Function *); + const Function *, + const double); template void VectorTools::integrate_difference (const DoFHandler &, @@ -1620,7 +1572,8 @@ void VectorTools::integrate_difference Vector &, const Quadrature &, const NormType &, - const Function *); + const Function *, + const double); template void VectorTools::integrate_difference (const Mapping &, @@ -1630,7 +1583,8 @@ void VectorTools::integrate_difference Vector &, const Quadrature &, const NormType &, - const Function *); + const Function *, + const double); template void VectorTools::integrate_difference (const DoFHandler &, @@ -1639,7 +1593,8 @@ void VectorTools::integrate_difference Vector &, const Quadrature &, const NormType &, - const Function *); + const Function *, + const double); template void VectorTools::integrate_difference (const Mapping &, @@ -1649,7 +1604,8 @@ void VectorTools::integrate_difference Vector &, const Quadrature &, const NormType &, - const Function *); + const Function *, + const double); template void VectorTools::integrate_difference (const DoFHandler &, @@ -1658,7 +1614,8 @@ void VectorTools::integrate_difference Vector &, const Quadrature &, const NormType &, - const Function *); + const Function *, + const double); template void VectorTools::integrate_difference (const Mapping &, @@ -1668,7 +1625,8 @@ void VectorTools::integrate_difference Vector &, const Quadrature &, const NormType &, - const Function *); + const Function *, + const double); template void VectorTools::integrate_difference (const DoFHandler &, @@ -1677,7 +1635,8 @@ void VectorTools::integrate_difference Vector &, const Quadrature &, const NormType &, - const Function *); + const Function *, + const double); template void VectorTools::integrate_difference (const Mapping &, @@ -1687,7 +1646,8 @@ void VectorTools::integrate_difference Vector &, const Quadrature &, const NormType &, - const Function *); + const Function *, + const double); template void VectorTools::integrate_difference (const DoFHandler &, @@ -1696,7 +1656,8 @@ void VectorTools::integrate_difference Vector &, const Quadrature &, const NormType &, - const Function *); + const Function *, + const double); template void VectorTools::integrate_difference (const Mapping &, @@ -1706,7 +1667,8 @@ void VectorTools::integrate_difference Vector &, const Quadrature &, const NormType &, - const Function *); + const Function *, + const double); template void VectorTools::integrate_difference (const DoFHandler &, @@ -1715,7 +1677,8 @@ void VectorTools::integrate_difference Vector &, const Quadrature &, const NormType &, - const Function *); + const Function *, + const double); #if deal_II_dimension != 1 template void VectorTools::project_boundary_values