From: Ralf Hartmann Date: Thu, 11 May 2000 15:40:40 +0000 (+0000) Subject: new function get_cell returns the present cell X-Git-Tag: v8.0.0~20562 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1163da8cdd5a5a7f132bc44f41e8c5539f79309;p=dealii.git new function get_cell returns the present cell git-svn-id: https://svn.dealii.org/trunk@2843 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/fe/fe_values.h b/deal.II/deal.II/include/fe/fe_values.h index 736522b5bd..2b000be90c 100644 --- a/deal.II/deal.II/include/fe/fe_values.h +++ b/deal.II/deal.II/include/fe/fe_values.h @@ -514,6 +514,11 @@ class FEValuesBase */ const FiniteElement & get_fe () const; + /** + * Return the present cell. + */ + const DoFHandler::cell_iterator & get_cell() const; + /** * Exception */ @@ -1281,6 +1286,13 @@ FEValuesBase::get_fe () const { }; +template +inline +const DoFHandler::cell_iterator & +FEValuesBase::get_cell() const { + return present_cell; +}; + /*------------------------ Inline functions: FEFaceValuesBase --------------------*/