Functions

internals::SparsityPatternTools Namespace Reference

Functions

unsigned int get_column_index_from_iterator (const unsigned int i)
template<typename value >
unsigned int get_column_index_from_iterator (const std::pair< unsigned int, value > &i)
template<typename value >
unsigned int get_column_index_from_iterator (const std::pair< const unsigned int, value > &i)

Function Documentation

unsigned int internals::SparsityPatternTools::get_column_index_from_iterator ( const unsigned int  i )

Helper function to get the column index from a dereferenced iterator in the copy_from() function, if the inner iterator type points to plain unsigned integers.

template<typename value >
unsigned int internals::SparsityPatternTools::get_column_index_from_iterator ( const std::pair< unsigned int, value > &  i )

Helper function to get the column index from a dereferenced iterator in the copy_from() function, if the inner iterator type points to pairs of unsigned integers and some other value.

template<typename value >
unsigned int internals::SparsityPatternTools::get_column_index_from_iterator ( const std::pair< const unsigned int, value > &  i )

Likewise, but sometimes needed for certain types of containers that make the first element of the pair constant (such as std::map).

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

deal.II documentation generated on Fri Feb 3 2012 06:04:15 by doxygen 1.7.2