int HYPRE_SStructGridSetPeriodic

(HYPRE_SStructGrid grid,
  int part, int* periodic)

Set the periodicity a particular part.

Documentation

Set the periodicity a particular part.

The argument periodic is an ndim-dimensional integer array that contains the periodicity for each dimension. A zero value for a dimension means non-periodic, while a nonzero value means periodic and contains the actual period. For example, periodicity in the first and third dimensions for a 10x11x12 part is indicated by the array [10,0,12].

NOTE: Some of the solvers in hypre have power-of-two restrictions on the size of the periodic dimensions.

Alphabetic index