Skip to content

bulk::cartesian_partitioning::local

using multi_partitioning<D, G>::local;
virtual int local(int g, int i); // overload

Convert a global index to a local one (overload).

Parameters

  • g: the axis for which to compute the index
  • i: the gth component of the global index

Return value

  • int: the gth component of the local index

See also