]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add module to estimat errors.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 27 Apr 1998 11:56:50 +0000 (11:56 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 27 Apr 1998 11:56:50 +0000 (11:56 +0000)
git-svn-id: https://svn.dealii.org/trunk@201 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/numerics/base.h
deal.II/deal.II/include/numerics/error-estimator.h [new file with mode: 0644]

index 03d682b35abaf7c2e19cde6a8b03cdb97bec17fa..68ed8df44493bf3865dfee8200fe9ec8f8caead6 100644 (file)
@@ -308,7 +308,7 @@ class ProblemBase {
     virtual void assemble (const Equation<dim>      &equation,
                           const Quadrature<dim>    &q,
                           const FiniteElement<dim> &fe,
-                          const UpdateFlags        &update_flags,
+                          const UpdateFlags         update_flags,
                           const DirichletBC        &dirichlet_bc = DirichletBC(),
                           const Boundary<dim>      &boundary = StraightBoundary<dim>());
     
diff --git a/deal.II/deal.II/include/numerics/error-estimator.h b/deal.II/deal.II/include/numerics/error-estimator.h
new file mode 100644 (file)
index 0000000..695e805
--- /dev/null
@@ -0,0 +1,21 @@
+/*----------------------------   error-estimator.h     ---------------------------*/
+/*      $Id$                 */
+#ifndef __error-estimator_H
+#define __error-estimator_H
+/*----------------------------   error-estimator.h     ---------------------------*/
+
+
+template <int dim>
+class KellyErrorEstimator {
+  public:
+    void estimate_error (const DoFHandler<dim> &dof,
+                        const dVector         &solution,
+                        const dVector         &error) const;
+};
+
+
+
+/*----------------------------   error-estimator.h     ---------------------------*/
+/* end of #ifndef __error-estimator_H */
+#endif
+/*----------------------------   error-estimator.h     ---------------------------*/

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.