]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
new function get_cell returns the present cell
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 11 May 2000 15:40:40 +0000 (15:40 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 11 May 2000 15:40:40 +0000 (15:40 +0000)
git-svn-id: https://svn.dealii.org/trunk@2843 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/fe/fe_values.h

index 736522b5bd9d85c806ba6ecebe073d7b1796e341..2b000be90ce6062d65a1657063dbd2a201357eff 100644 (file)
@@ -514,6 +514,11 @@ class FEValuesBase
                                      */
     const FiniteElement<dim> & get_fe () const;
 
+                                    /**
+                                     * Return the present cell.
+                                     */
+    const DoFHandler<dim>::cell_iterator & get_cell() const;
+
                                     /**
                                      * Exception
                                      */
@@ -1281,6 +1286,13 @@ FEValuesBase<dim>::get_fe () const {
 };
 
 
+template <int dim>
+inline
+const DoFHandler<dim>::cell_iterator &
+FEValuesBase<dim>::get_cell() const {
+  return present_cell;
+};
+
 /*------------------------ Inline functions: FEFaceValuesBase --------------------*/
 
 

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.