* update only.
* @see{FEValuesBase}
*/
- virtual UpdateFlags update_once (UpdateFlags flags) const = 0;
+ virtual UpdateFlags update_once (const UpdateFlags flags) const = 0;
/**
* Compute flags for update on
* each cell.
* @see{FEValuesBase}
*/
- virtual UpdateFlags update_each (UpdateFlags flags) const = 0;
+ virtual UpdateFlags update_each (const UpdateFlags flags) const = 0;
/**
* @p{clone} function instead of
/**
* 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;
/**
* Compute renumbering for rotation
* 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;
/**
* Degree of the polynomials.
* of finite elements composed
* into this structure.
*/
- virtual unsigned int n_base_elements() const;
+ virtual unsigned int n_base_elements () const;
/**
* How often is a composing element used.
*
*/
- unsigned int element_multiplicity(unsigned int index) const;
+ unsigned int element_multiplicity (const unsigned int index) const;
/**
* Access to a composing element.
* by index.
*
*/
- virtual const FiniteElement<dim> & base_element(unsigned int index) const;
+ virtual const FiniteElement<dim> & base_element(const unsigned int index) const;
/**
* Determine an estimate for the
template <int dim>
const FiniteElement<dim>&
-FiniteElement<dim>::base_element(unsigned index) const
+FiniteElement<dim>::base_element(const unsigned index) const
{
Assert (index==0, ExcIndexRange(index,0,1));
return *this;
template <int dim>
UpdateFlags
-FE_Q<dim>::update_each (UpdateFlags flags) const
+FE_Q<dim>::update_each (const UpdateFlags flags) const
{
UpdateFlags out = update_default;