]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix an instantiation. 49/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 2 Aug 2014 11:34:06 +0000 (06:34 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 2 Aug 2014 11:34:06 +0000 (06:34 -0500)
The existing instantiation works, but is not in line with the actual
declaration of the function. This may or may not be the problem with
the failing tests here http://cdash.kyomu.43-1.org/viewTest.php?onlyfailed&buildid=10664
that result from a missing instantiation.

source/numerics/derivative_approximation.inst.in

index 10494f168be02d791d543b2ade11e0c574a0ca5f..668feb66c283b121679d587e277e30f7bc4baf7a 100644 (file)
@@ -1,7 +1,7 @@
 // ---------------------------------------------------------------------
 // $Id$
 //
-// Copyright (C) 2010 - 2013 by the deal.II authors
+// Copyright (C) 2010 - 2014 by the deal.II authors
 //
 // This file is part of the deal.II library.
 //
@@ -56,40 +56,41 @@ approximate_second_derivative<deal_II_dimension>
 template
 void
 approximate_derivative_tensor
-(const Mapping<deal_II_dimension> &    mapping,
+(const Mapping<DH<deal_II_dimension>::dimension,DH<deal_II_dimension>::space_dimension> &mapping,
  const DH<deal_II_dimension> &dof_handler,
  const VEC &solution,
  const DH<deal_II_dimension>::active_cell_iterator &cell,
- Tensor<1,deal_II_dimension> &derivative,
+ Tensor<1,DH<deal_II_dimension>::dimension> &derivative,
  const unsigned int     component);
 
 template
 void
 approximate_derivative_tensor
-(const Mapping<deal_II_dimension> &    mapping,
+(const Mapping<DH<deal_II_dimension>::dimension,DH<deal_II_dimension>::space_dimension> &mapping,
  const DH<deal_II_dimension> &dof_handler,
  const VEC &solution,
  const DH<deal_II_dimension>::active_cell_iterator &cell,
- Tensor<2,deal_II_dimension> &derivative,
+ Tensor<2,DH<deal_II_dimension>::dimension> &derivative,
  const unsigned int     component);
 
 template
 void
 approximate_derivative_tensor
-(const Mapping<deal_II_dimension> &    mapping,
+(const Mapping<DH<deal_II_dimension>::dimension,DH<deal_II_dimension>::space_dimension> &mapping,
  const DH<deal_II_dimension> &dof_handler,
  const VEC &solution,
  const DH<deal_II_dimension>::active_cell_iterator &cell,
- Tensor<3,deal_II_dimension> &derivative,
+ Tensor<3,DH<deal_II_dimension>::dimension> &derivative,
  const unsigned int     component);
 
+
 template
 void
 approximate_derivative_tensor
 (const DH<deal_II_dimension> &dof_handler,
  const VEC &solution,
  const DH<deal_II_dimension>::active_cell_iterator &cell,
- Tensor<1,deal_II_dimension> &derivative,
+ Tensor<1,DH<deal_II_dimension>::dimension> &derivative,
  const unsigned int     component);
 
 template
@@ -98,7 +99,7 @@ approximate_derivative_tensor
 (const DH<deal_II_dimension> &dof_handler,
  const VEC &solution,
  const DH<deal_II_dimension>::active_cell_iterator &cell,
- Tensor<2,deal_II_dimension> &derivative,
+ Tensor<2,DH<deal_II_dimension>::dimension> &derivative,
  const unsigned int     component);
 
 template
@@ -107,7 +108,7 @@ approximate_derivative_tensor
 (const DH<deal_II_dimension> &dof_handler,
  const VEC &solution,
  const DH<deal_II_dimension>::active_cell_iterator &cell,
- Tensor<3,deal_II_dimension> &derivative,
+ Tensor<3,DH<deal_II_dimension>::dimension> &derivative,
  const unsigned int     component);
 
   \}

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.