]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add a new iterator type.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 15 Apr 1998 14:10:18 +0000 (14:10 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 15 Apr 1998 14:10:18 +0000 (14:10 +0000)
git-svn-id: https://svn.dealii.org/trunk@176 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/numerics/base.h
deal.II/deal.II/source/numerics/base.cc

index 7acd072b3dc880f6ed35881fc7d2160a0d0d64eb..7a203ccde628fa85057c302c09cf8f7a86ecf2d3 100644 (file)
@@ -236,6 +236,12 @@ class ProblemBase {
                                      * class for more detail.
                                      */
     typedef map<unsigned char,Function<dim>* > DirichletBC;
+
+                                    /**
+                                     * Typdedef an iterator which assembles
+                                     * matrices and vectors.
+                                     */
+    typedef TriaActiveIterator<dim, Assembler<dim> > active_assemble_iterator;
     
                                     /**
                                      * Constructor.
index d672c0c4d0058b1696176befe52f216e6b2cbd51..6b70398433aef674405204e0f42a16b8f380989b 100644 (file)
@@ -105,10 +105,10 @@ void ProblemBase<dim>::assemble (const Equation<dim>               &equation,
                           quadrature,
                           fe,
                           update_flags);
-  TriaActiveIterator<dim, Assembler<dim> > assembler (tria,
-                                                     tria->begin_active()->level(),
-                                                     tria->begin_active()->index(),
-                                                     &data);
+  active_assemble_iterator assembler (tria,
+                                     tria->begin_active()->level(),
+                                     tria->begin_active()->index(),
+                                     &data);
                                   // loop over all cells, fill matrix and rhs
   do 
     {

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.