]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make more places compile with standard C++98/03.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 18 Mar 2013 23:19:15 +0000 (23:19 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 18 Mar 2013 23:19:15 +0000 (23:19 +0000)
git-svn-id: https://svn.dealii.org/trunk@28936 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/integrators/divergence.h
deal.II/include/deal.II/integrators/elasticity.h
deal.II/include/deal.II/integrators/l2.h
deal.II/include/deal.II/integrators/laplace.h

index 8982d4a7ed67ff804f9bf50b05c1e7c228ed49f6..a77552456b55fc2d0541ef89b95e5b1ccd0bb820 100644 (file)
@@ -121,7 +121,7 @@ namespace LocalIntegrators
      * @author Guido Kanschat
      * @date 2011
      */
-    template <int dim, typename number=double>
+    template <int dim, typename number>
     void cell_residual(
       Vector<number> &result,
       const FEValuesBase<dim> &fetest,
@@ -201,7 +201,7 @@ namespace LocalIntegrators
      * @author Guido Kanschat
      * @date 2011
      */
-    template <int dim, typename number=double>
+    template <int dim, typename number>
     void gradient_residual(
       Vector<number> &result,
       const FEValuesBase<dim> &fetest,
index 39c6220744bcab008ad07122c01ad97c74d0fbc0..33a7ba417827da6d588eb3072312597355de6d3d 100644 (file)
@@ -75,7 +75,7 @@ namespace LocalIntegrators
      * - \int_Z \varepsilon(u): \varepsilon(v) \,dx
      * \f]
      */
-    template <int dim, typename number=double>
+    template <int dim, typename number>
     inline void
     cell_residual  (
       Vector<number> &result,
@@ -167,7 +167,7 @@ namespace LocalIntegrators
      * @author Guido Kanschat
      * @date 2013
      */
-    template <int dim, typename number=double>
+    template <int dim, typename number>
     void nitsche_residual (
       Vector<number> &result,
       const FEValuesBase<dim> &fe,
@@ -292,7 +292,7 @@ namespace LocalIntegrators
      * @author Guido Kanschat
      * @date 2013
      */
-    template<int dim, typename number=double>
+    template<int dim, typename number>
     void
     ip_residual(
       Vector<number> &result1,
index a6b6536639a7288891cd8dc6e5c7ffc18905c2b7..b9e54d79d8d06b1435b82ff4c9ce9bfc142c299b 100644 (file)
@@ -80,7 +80,7 @@ namespace LocalIntegrators
      * @author Guido Kanschat
      * @date 2008, 2009, 2010
      */
-    template <int dim, typename number=double>
+    template <int dim, typename number>
     void L2 (
       Vector<number> &result,
       const FEValuesBase<dim> &fe,
@@ -109,7 +109,7 @@ namespace LocalIntegrators
      * @author Guido Kanschat
      * @date 2008, 2009, 2010
      */
-    template <int dim, typename number=double>
+    template <int dim, typename number>
     void L2 (
       Vector<number> &result,
       const FEValuesBase<dim> &fe,
index 272e8d2c9d566eba9605f650f2ea364df111e586..55ffdb0739e3879cb1275b82352979b764dc7d3f 100644 (file)
@@ -486,7 +486,7 @@ namespace LocalIntegrators
      * @author Guido Kanschat
      * @date 2010
      */
-    template <int dim, int spacedim=dim, typename number>
+    template <int dim, int spacedim, typename number>
     double compute_penalty(
       const MeshWorker::DoFInfo<dim,spacedim,number> &dinfo1,
       const MeshWorker::DoFInfo<dim,spacedim,number> &dinfo2,

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.