// $Id$
// Version: $Name$
//
-// Copyright (C) 2003 by the deal.II authors
+// Copyright (C) 2003, 2005 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
Assert (i<this->get_fe().dofs_per_line,
ExcIndexRange (i, 0, this->get_fe().dofs_per_line));
- unsigned int offset = this->dof_handler->levels[this->present_level]
- ->dof_line_index_offset[this->present_index];
+ const unsigned int offset = this->dof_handler->levels[this->present_level]
+ ->dof_line_index_offset[this->present_index];
this->dof_handler->levels[this->present_level]
->line_dofs[offset+i] = index;
}
// on a line between to cells. Hence we have to differentiate between these two cases.
// Unfortunately, this requires more information then available now.
- unsigned int offset = this->dof_handler->levels[this->present_level]
- ->dof_line_index_offset[this->present_index];
+ const unsigned int offset = this->dof_handler->levels[this->present_level]
+ ->dof_line_index_offset[this->present_index];
this->dof_handler->levels[this->present_level]
->line_dofs[offset+i] = index;
}
Assert (i<this->get_fe().dofs_per_line,
ExcIndexRange (i, 0, this->get_fe().dofs_per_line));
- unsigned int offset = this->dof_handler->levels[this->present_level]
- ->dof_line_index_offset[this->present_index];
+ const unsigned int offset = this->dof_handler->levels[this->present_level]
+ ->dof_line_index_offset[this->present_index];
this->dof_handler->levels[this->present_level]
->line_dofs[offset+i] = index;
}
Assert (i<this->get_fe().dofs_per_quad,
ExcIndexRange (i, 0, this->get_fe().dofs_per_quad));
- unsigned int offset = this->dof_handler->levels[this->present_level]
- ->dof_quad_index_offset[this->present_index];
+ const unsigned int offset = this->dof_handler->levels[this->present_level]
+ ->dof_quad_index_offset[this->present_index];
this->dof_handler->levels[this->present_level]
->quad_dofs[offset+i] = index;
}
Assert (i<this->get_fe().dofs_per_quad,
ExcIndexRange (i, 0, this->get_fe().dofs_per_quad));
- unsigned int offset = this->dof_handler->levels[this->present_level]
- ->dof_quad_index_offset[this->present_index];
+ const unsigned int offset = this->dof_handler->levels[this->present_level]
+ ->dof_quad_index_offset[this->present_index];
this->dof_handler->levels[this->present_level]
->quad_dofs[offset+i] = index;
}
Assert (i<this->get_fe().dofs_per_hex,
ExcIndexRange (i, 0, this->get_fe().dofs_per_hex));
- unsigned int offset = this->dof_handler->levels[this->present_level]
- ->dof_hex_index_offset[this->present_index];
+ const unsigned int offset = this->dof_handler->levels[this->present_level]
+ ->dof_hex_index_offset[this->present_index];
this->dof_handler->levels[this->present_level]
->hex_dofs[offset+i] = index;
}