Function exafmm_t::hash

Function Documentation

int exafmm_t::hash(ivec3 &coord)

Compute the hash value of a relative position (coordinates).

Parameters

coord – Coordinates that represent a relative position.

Returns

Hash value of the relative position (x + 10y + 100z + 555).