]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add 'template <>' statements.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 26 Nov 1998 08:56:00 +0000 (08:56 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 26 Nov 1998 08:56:00 +0000 (08:56 +0000)
git-svn-id: https://svn.dealii.org/trunk@677 0785d39b-7218-0410-832d-ea1e28bc413d

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

index e60e21f164ccdfbf6ebf52e6983bdf7e5f59cc10..31a21a835feef269114d1356ae0f068b2e7f5c73 100644 (file)
@@ -116,6 +116,7 @@ class Solution : public Function<dim> {
 
 
 
+template <>
 double RHSPoly<2>::operator () (const Point<2> &p) const {
   const double x = p(0),
               y = p(1);
@@ -125,6 +126,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);
@@ -133,6 +135,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);
@@ -145,7 +148,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 e60e21f164ccdfbf6ebf52e6983bdf7e5f59cc10..31a21a835feef269114d1356ae0f068b2e7f5c73 100644 (file)
@@ -116,6 +116,7 @@ class Solution : public Function<dim> {
 
 
 
+template <>
 double RHSPoly<2>::operator () (const Point<2> &p) const {
   const double x = p(0),
               y = p(1);
@@ -125,6 +126,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);
@@ -133,6 +135,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);
@@ -145,7 +148,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.