* of finite elements composed
* into this structure.
*/
- virtual unsigned n_base_elements() const;
+ virtual unsigned int n_base_elements() const;
/**
* How often is a composing element used.
*
*/
- unsigned element_multiplicity(unsigned index) const;
+ unsigned int element_multiplicity(unsigned int index) const;
/**
* Access to a composing element.
* by index.
*
*/
- virtual const FiniteElement<dim>& base_element(unsigned index) const;
+ virtual const FiniteElement<dim>& base_element(unsigned int index) const;
private:
/**
* Pairs of multiplicity and element type.
*/
- typedef pair<const FiniteElement<dim> *, unsigned > ElementPair;
+ typedef pair<const FiniteElement<dim> *, unsigned int> ElementPair;
/**
* Pointer to underlying finite
* shape functions of the base
* element.
*/
- vector<unsigned> component_to_base_table;
+ vector<unsigned int> component_to_base_table;
/**
* Helper function used in the constructor:
/* ------------------------- template functions ------------------------- */
template<int dim>
-inline unsigned
+inline unsigned int
FESystem<dim>::n_base_elements() const
{
return base_elements.size();
template<int dim>
-inline unsigned
-FESystem<dim>::element_multiplicity(unsigned index) const
+inline unsigned int
+FESystem<dim>::element_multiplicity(unsigned int index) const
{
Assert (index < base_elements.size(),
ExcIndexRange(index, 0, base_elements.size()));
template <int dim>
inline const FiniteElement<dim>&
-FESystem<dim>::base_element(unsigned index) const
+FESystem<dim>::base_element(unsigned int index) const
{
Assert (index < base_elements.size(),
ExcIndexRange(index, 0, base_elements.size()));