tk::Around class

Helper class simplifying client code for iterating on entries surrounding entries via linked lists derived from unstructured mesh connectivity.

Constructors, destructors, conversion operators

Around(const List& list, std::size_t idx) explicit

Public functions

auto begin() -> const_iterator
auto end() -> const_iterator

Function documentation

tk::Around::Around(const List& list, std::size_t idx) explicit

Parameters
list in Linked list (vectors) storing derived data
idx in Index of entry whose surrounding items we will iterate on

Constructor

const_iterator tk::Around::begin()

Returns Iterator to the beginning of the entries of surrounding entries

Iterator to the beginning of the entries of surrounding entries

const_iterator tk::Around::end()

Returns Iterator to the entry after the last of the surrounding entries

Iterator to the entry after the last of the surrounding entries