From deef7cda4003166049160a264930d1b366b69be9 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 7 Mar 2001 17:56:14 +0000 Subject: [PATCH] Small changes. git-svn-id: https://svn.dealii.org/trunk@4158 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/fe/fe_system.h | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/deal.II/deal.II/include/fe/fe_system.h b/deal.II/deal.II/include/fe/fe_system.h index c5eef93c96..a287fab700 100644 --- a/deal.II/deal.II/include/fe/fe_system.h +++ b/deal.II/deal.II/include/fe/fe_system.h @@ -62,7 +62,7 @@ * coupled to @p{u} at the vertices and the line on the larger cell next to this * vertex, there is no interaction with @p{v} and @p{w} of this or the other cell. * - * @author Wolfgang Bangerth, Guido Kanschat, 1999, reimplementation Ralf Hartmann 2001. + * @author Wolfgang Bangerth, Guido Kanschat, 1999, partial reimplementation Ralf Hartmann 2001. */ template class FESystem : public FiniteElement @@ -217,13 +217,13 @@ class FESystem : public FiniteElement * Compute flags for initial * update only. */ - virtual UpdateFlags update_once (UpdateFlags flags) const; + virtual UpdateFlags update_once (const UpdateFlags flags) const; /** * Compute flags for update on * each cell. */ - virtual UpdateFlags update_each (UpdateFlags flags) const; + virtual UpdateFlags update_each (const UpdateFlags flags) const; /** * @p{clone} function instead of @@ -232,7 +232,7 @@ class FESystem : public FiniteElement * This function is needed by the * constructors of @p{FESystem}. */ - virtual FiniteElement *clone() const; + virtual FiniteElement * clone() const; /** * Prepare internal data @@ -486,7 +486,7 @@ class FESystem : public FiniteElement * @p{base_no}th base * element. */ - void set_fe_data(unsigned int base_no, + void set_fe_data(const unsigned int base_no, typename FiniteElementBase::InternalDataBase *); /** @@ -495,7 +495,8 @@ class FESystem : public FiniteElement * @p{InternalData} of the * @p{base_no}th base element. */ - typename FiniteElementBase::InternalDataBase &get_fe_data(unsigned int base_no) const; + typename FiniteElementBase::InternalDataBase & + get_fe_data (const unsigned int base_no) const; /** @@ -505,8 +506,8 @@ class FESystem : public FiniteElement * @p{base_no}th base * element. */ - void set_fe_values_data(unsigned int base_no, - FEValuesData *); + void set_fe_values_data (const unsigned int base_no, + FEValuesData *); /** * Gives read-access to the @@ -514,7 +515,7 @@ class FESystem : public FiniteElement * @p{FEValuesData} for the * @p{base_no}th base element. */ - FEValuesData &get_fe_values_data(unsigned int base_no) const; + FEValuesData & get_fe_values_data (const unsigned int base_no) const; /** * Deletes the @@ -579,6 +580,7 @@ class FESystem : public FiniteElement }; + /* ------------------------- inline functions ------------------------- */ template -- 2.39.5