From 397db1ad0dadc9c2d1aa1e67ee71c1c91eb934b0 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 27 Apr 1998 11:56:50 +0000 Subject: [PATCH] Add module to estimat errors. git-svn-id: https://svn.dealii.org/trunk@201 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/numerics/base.h | 2 +- .../include/numerics/error-estimator.h | 21 +++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 deal.II/deal.II/include/numerics/error-estimator.h diff --git a/deal.II/deal.II/include/numerics/base.h b/deal.II/deal.II/include/numerics/base.h index 03d682b35a..68ed8df444 100644 --- a/deal.II/deal.II/include/numerics/base.h +++ b/deal.II/deal.II/include/numerics/base.h @@ -308,7 +308,7 @@ class ProblemBase { virtual void assemble (const Equation &equation, const Quadrature &q, const FiniteElement &fe, - const UpdateFlags &update_flags, + const UpdateFlags update_flags, const DirichletBC &dirichlet_bc = DirichletBC(), const Boundary &boundary = StraightBoundary()); 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 index 0000000000..695e805388 --- /dev/null +++ b/deal.II/deal.II/include/numerics/error-estimator.h @@ -0,0 +1,21 @@ +/*---------------------------- error-estimator.h ---------------------------*/ +/* $Id$ */ +#ifndef __error-estimator_H +#define __error-estimator_H +/*---------------------------- error-estimator.h ---------------------------*/ + + +template +class KellyErrorEstimator { + public: + void estimate_error (const DoFHandler &dof, + const dVector &solution, + const dVector &error) const; +}; + + + +/*---------------------------- error-estimator.h ---------------------------*/ +/* end of #ifndef __error-estimator_H */ +#endif +/*---------------------------- error-estimator.h ---------------------------*/ -- 2.39.5