示例#1
0
文件: filters.hpp 项目: gfrd/gfrd
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));
}
示例#2
0
文件: World.hpp 项目: navoj/ecell4
 static void each_neighbor(Toc_ const& oc, Tfun_& fun, Tsphere_ const& pos)
 {
     oc.each_neighbor_cyclic(oc.index(pos), fun);
 }