From: Wolfgang Bangerth Date: Mon, 27 Apr 1998 13:00:48 +0000 (+0000) Subject: Add first error estimator class. X-Git-Tag: v8.0.0~23051 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f3fd8d7b62d04bb8bd01102e91a11957bdc3424;p=dealii.git Add first error estimator class. git-svn-id: https://svn.dealii.org/trunk@203 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/numerics/error-estimator.h b/deal.II/deal.II/include/numerics/error_estimator.h similarity index 77% rename from deal.II/deal.II/include/numerics/error-estimator.h rename to deal.II/deal.II/include/numerics/error_estimator.h index 695e805388..81d01eb9dd 100644 --- a/deal.II/deal.II/include/numerics/error-estimator.h +++ b/deal.II/deal.II/include/numerics/error_estimator.h @@ -5,12 +5,27 @@ /*---------------------------- error-estimator.h ---------------------------*/ +#include + + +// forward declarations +template class DoFHandler; +class dVector; + + + + template class KellyErrorEstimator { public: void estimate_error (const DoFHandler &dof, const dVector &solution, const dVector &error) const; + + /** + * Exception + */ + DeclException0 (ExcNotImplemented); }; diff --git a/deal.II/deal.II/source/numerics/error_estimator.cc b/deal.II/deal.II/source/numerics/error_estimator.cc new file mode 100644 index 0000000000..3e2cc7ae48 --- /dev/null +++ b/deal.II/deal.II/source/numerics/error_estimator.cc @@ -0,0 +1,24 @@ +/* $Id$ */ + + +#include +#include +#include + + + +void KellyErrorEstimator<1>::estimate_error (const DoFHandler<1> &, + const dVector &, + dVector &) const { + Assert(false, ExcNotImplemented()); +}; + + + +template +void KellyErrorEstimator::estimate_error (const DoFHandler &dof, + const dVector &solution, + dVector &error) const { + ; +}; +