]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add missing include file.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 15 Jan 2010 18:38:50 +0000 (18:38 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 15 Jan 2010 18:38:50 +0000 (18:38 +0000)
git-svn-id: https://svn.dealii.org/trunk@20374 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/numerics/theta_timestepping.templates.h

index 2d324b80b812ec2557a48f07213849c2445ba648..485fca03aed47540a9da0230e08e594d42033058 100644 (file)
@@ -11,6 +11,8 @@
 //---------------------------------------------------------------------------
 
 #include <numerics/theta_timestepping.h>
+
+#include <base/parameter_handler.h>
 #include <lac/vector_memory.h>
 
 DEAL_II_NAMESPACE_OPEN
@@ -22,7 +24,7 @@ namespace Algorithms
                  : op_explicit(&e), op_implicit(&i)
   {}
 
-  
+
   template <class VECTOR>
   void
   ThetaTimestepping<VECTOR>::notify(const Event& e)
@@ -59,14 +61,14 @@ namespace Algorithms
   ThetaTimestepping<VECTOR>::operator() (NamedData<VECTOR*>& out, const NamedData<VECTOR*>& in)
   {
     Assert(!adaptive, ExcNotImplemented());
-  
+
     deallog.push ("Theta");
     GrowingVectorMemory<VECTOR> mem;
     typename VectorMemory<VECTOR>::Pointer aux(mem);
     aux->reinit(*out(0));
-    
+
     control.restart();
-  
+
     bool first = true;
     d_explicit.time = control.now();
 
@@ -85,12 +87,12 @@ namespace Algorithms
     NamedData<VECTOR*> src2;
     src2.add(p, "Previous time data");
     src2.merge(in);
-    
+
     if (output != 0)
       (*output) << 0U << out;
-    
+
     for (unsigned int count = 1; d_explicit.time < control.final(); ++count)
-      {      
+      {
        const bool step_change = control.advance();
        d_implicit.time = control.now();
        d_explicit.step = (1.-vtheta)*control.step();
@@ -104,15 +106,15 @@ namespace Algorithms
            op_explicit->notify(Events::new_timestep_size);
            op_implicit->notify(Events::new_timestep_size);
          }
-      
+
                                         // Compute
                                         // (I + (1-theta)dt A) u
        (*op_explicit)(out1, src1);
        (*op_implicit)(out, src2);
-      
+
        if (output != 0 && control.print())
          (*output) << count << out;
-       
+
        first = false;
        d_explicit.time = control.now();
       }

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.