template <int dim>
inline
unsigned int
-FiniteElementBase<dim>::component_to_system_index (unsigned int component,
- unsigned int component_index) const
+FiniteElementBase<dim>::component_to_system_index (const unsigned int component,
+ const unsigned int component_index) const
{
Assert(component<n_components(),
ExcIndexRange(component, 0, n_components()));
template <int dim>
inline
std::pair<unsigned int,unsigned int>
-FiniteElementBase<dim>::system_to_component_index (unsigned int index) const
+FiniteElementBase<dim>::system_to_component_index (const unsigned int index) const
{
Assert(index < system_to_component_table.size(),
ExcIndexRange(index, 0, system_to_component_table.size()));
template <int dim>
inline
unsigned int
-FiniteElementBase<dim>::face_component_to_system_index (unsigned int component,
- unsigned int component_index) const
+FiniteElementBase<dim>::face_component_to_system_index (const unsigned int component,
+ const unsigned int component_index) const
{
Assert(component<n_components(),
ExcIndexRange(component, 0, n_components()));
template <int dim>
inline
std::pair<unsigned int,unsigned int>
-FiniteElementBase<dim>::face_system_to_component_index (unsigned int index) const
+FiniteElementBase<dim>::face_system_to_component_index (const unsigned int index) const
{
Assert(index < face_system_to_component_table.size(),
ExcIndexRange(index, 0, face_system_to_component_table.size()));
template <int dim>
inline
int
-TriaObjectAccessor<1,dim>::child_index (unsigned int i) const
+TriaObjectAccessor<1,dim>::child_index (unsigned const int i) const
{
Assert (i<2, ExcIndexRange(i,0,2));
return tria->levels[present_level]->lines.children[present_index]+i;
template <int dim>
inline
unsigned int
-TriaObjectAccessor<2,dim>::line_index (unsigned int i) const
+TriaObjectAccessor<2,dim>::line_index (const unsigned int i) const
{
Assert (i<4, ExcIndexRange(i,0,4));
template <int dim>
inline
-int TriaObjectAccessor<2,dim>::child_index (unsigned int i) const
+int TriaObjectAccessor<2,dim>::child_index (const unsigned int i) const
{
Assert (i<4, ExcIndexRange(i,0,4));
return tria->levels[present_level]->quads.children[present_index]+i;
template <int dim>
inline
unsigned int
-TriaObjectAccessor<3,dim>::line_index (unsigned int i) const
+TriaObjectAccessor<3,dim>::line_index (const unsigned int i) const
{
Assert (i<12, ExcIndexRange(i,0,12));
template <int dim>
inline
unsigned int
-TriaObjectAccessor<3,dim>::quad_index (unsigned int i) const
+TriaObjectAccessor<3,dim>::quad_index (const unsigned int i) const
{
Assert (i<6, ExcIndexRange(i,0,6));
template <int dim>
inline
-int TriaObjectAccessor<3,dim>::child_index (unsigned int i) const
+int TriaObjectAccessor<3,dim>::child_index (const unsigned int i) const
{
Assert (i<8, ExcIndexRange(i,0,8));
return tria->levels[present_level]->hexes.children[present_index]+i;
template<int celldim, int dim>
inline
unsigned int
-TriaObjectAccessor<celldim,dim>::line_index (unsigned int i) const
+TriaObjectAccessor<celldim,dim>::line_index (const unsigned int i) const
{
Assert (i < GeometryInfo<celldim>::lines_per_cell,
ExcIndexRange(i,0,GeometryInfo<celldim>::lines_per_cell));
template<int celldim, int dim>
inline
unsigned int
-TriaObjectAccessor<celldim,dim>::quad_index (unsigned int i) const
+TriaObjectAccessor<celldim,dim>::quad_index (const unsigned int i) const
{
Assert (i < GeometryInfo<celldim>::quads_per_cell,
ExcIndexRange(i,0,GeometryInfo<celldim>::quads_per_cell));
template<int celldim, int dim>
inline
-int TriaObjectAccessor<celldim,dim>::child_index (unsigned int i) const
+int TriaObjectAccessor<celldim,dim>::child_index (const unsigned int i) const
{
Assert (i < GeometryInfo<celldim>::children_per_cell,
ExcIndexRange(i,0,GeometryInfo<celldim>::children_per_cell));