inline
std::pair<unsigned int,unsigned int>
-BlockIndices::global_to_local (const unsigned int i) const throw()
+BlockIndices::global_to_local (const unsigned int i) const
{
Assert (i<total_size(), ExcIndexRange(i, 0, total_size()));
inline
unsigned int
BlockIndices::local_to_global (const unsigned int block,
- const unsigned int index) const throw()
+ const unsigned int index) const
{
Assert (block < n_blocks, ExcIndexRange(block, 0, n_blocks));
Assert (index < start_indices[block+1]-start_indices[block],
inline
unsigned int
-BlockIndices::size () const throw()
+BlockIndices::size () const
{
return n_blocks;
}
inline
unsigned int
-BlockIndices::total_size () const throw()
+BlockIndices::total_size () const
{
return start_indices[n_blocks];
}
inline
unsigned int
-BlockIndices::block_size (const unsigned int block) const throw()
+BlockIndices::block_size (const unsigned int block) const
{
Assert (block < n_blocks, ExcIndexRange(block, 0, n_blocks));
return start_indices[block+1]-start_indices[block];
inline
bool
-BlockIndices::operator == (const BlockIndices &b) const throw()
+BlockIndices::operator == (const BlockIndices &b) const
{
if (n_blocks != b.n_blocks)
return false;
inline
void
-BlockIndices::swap (BlockIndices &b) throw()
+BlockIndices::swap (BlockIndices &b)
{
Assert (n_blocks == b.n_blocks,
ExcDimensionMismatch(n_blocks, b.n_blocks));
inline
unsigned int
-BlockIndices::memory_consumption () const throw()
+BlockIndices::memory_consumption () const
{
return (sizeof(*this) +
start_indices.size() * sizeof(start_indices[0]));
* @author Wolfgang Bangerth, 2000
*/
inline
-void swap (BlockIndices &u, BlockIndices &v) throw()
+void swap (BlockIndices &u, BlockIndices &v)
{
u.swap (v);
}