Esempio n. 1
0
inline void take_neighbor_cyclic(Toc_& oc, Tfun_& fun,
         const Tsphere_& cmp)
{
    oc.each_neighbor_cyclic(oc.index(cmp.origin),
            cyclic_neighbor_filter<Toc_, Tfun_, Tsphere_>(fun, cmp));
}
Esempio n. 2
0
 static void each_neighbor(Toc_ const& oc, Tfun_& fun, Tsphere_ const& pos)
 {
     oc.each_neighbor_cyclic(oc.index(pos), fun);
 }