]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add some 'template <>' statements.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 25 Nov 1998 13:22:32 +0000 (13:22 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 25 Nov 1998 13:22:32 +0000 (13:22 +0000)
git-svn-id: https://svn.dealii.org/trunk@675 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/Attic/examples/multigrid/multigrid.cc
tests/big-tests/multigrid/multigrid.cc

index a6451bfd1d88cf2085a1aff15f276dcef701ca30..73cb98dfe3f9fb77d14f1ad04385d72be91e8a75 100644 (file)
@@ -189,6 +189,7 @@ class Solution : public Function<dim> {
 
 
 
+template <>
 double RHSPoly<2>::operator () (const Point<2> &p) const {
   const double x = p(0),
               y = p(1);
@@ -198,6 +199,7 @@ double RHSPoly<2>::operator () (const Point<2> &p) const {
 
 
 
+template <>
 double Solution<2>::operator () (const Point<2> &p) const {
   const double x = p(0),
               y = p(1);
@@ -206,6 +208,7 @@ double Solution<2>::operator () (const Point<2> &p) const {
 };
 
 
+template <>
 Tensor<1,2> Solution<2>::gradient (const Point<2> &p) const {
   const double x = p(0),
               y = p(1);
@@ -218,7 +221,7 @@ Tensor<1,2> Solution<2>::gradient (const Point<2> &p) const {
 
 
 
-
+template <>
 void PoissonEquation<2>::assemble (dFMatrix            &cell_matrix,
                                   dVector             &rhs,
                                   const FEValues<2>   &fe_values,
index a6451bfd1d88cf2085a1aff15f276dcef701ca30..73cb98dfe3f9fb77d14f1ad04385d72be91e8a75 100644 (file)
@@ -189,6 +189,7 @@ class Solution : public Function<dim> {
 
 
 
+template <>
 double RHSPoly<2>::operator () (const Point<2> &p) const {
   const double x = p(0),
               y = p(1);
@@ -198,6 +199,7 @@ double RHSPoly<2>::operator () (const Point<2> &p) const {
 
 
 
+template <>
 double Solution<2>::operator () (const Point<2> &p) const {
   const double x = p(0),
               y = p(1);
@@ -206,6 +208,7 @@ double Solution<2>::operator () (const Point<2> &p) const {
 };
 
 
+template <>
 Tensor<1,2> Solution<2>::gradient (const Point<2> &p) const {
   const double x = p(0),
               y = p(1);
@@ -218,7 +221,7 @@ Tensor<1,2> Solution<2>::gradient (const Point<2> &p) const {
 
 
 
-
+template <>
 void PoissonEquation<2>::assemble (dFMatrix            &cell_matrix,
                                   dVector             &rhs,
                                   const FEValues<2>   &fe_values,

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.