SyTen

◆ operator()() [2/2]

template<typename T >
T const& syten::GridImpl::BondGrid< T >::operator() ( Coord const &  a,
Coord const &  b 
) const
inline

Access the element between coordinates a and b.

a and b must be nearest neighbours.

References syten::GridImpl::BondGrid< T >::horz_storage, SYTEN_ASSERT_MSG, and syten::GridImpl::BondGrid< T >::vert_storage.