From: Wolfgang Bangerth Date: Mon, 27 Apr 1998 11:56:50 +0000 (+0000) Subject: Add module to estimat errors. X-Git-Tag: v8.0.0~23053 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=397db1ad0dadc9c2d1aa1e67ee71c1c91eb934b0;p=dealii.git Add module to estimat errors. git-svn-id: https://svn.dealii.org/trunk@201 0785d39b-7218-0410-832d-ea1e28bc413d --- 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 ---------------------------*/