%N incnmore %F $MIR/src/subs/inc.for
%D Increment to the next grid coordinate of interest.
%P rjs
%: miscellaneous
%B
        logical function IncnMore(n,ninc,size,dims)

        implicit none
        integer n,dims(n),size(n),ninc

  Increment to the next grid coordinate of interest. It increments
  along the ninc'th dimension

  Input:
    n          Dimensionality of the grid.
    size       Size of the grid in each dimension.
    ninc       The dimension to increment along.
               Seeting it equal to 2 gives the same behaviour as Inc2More.
               Setting it equal to 3 gives the same behaviour as Inc3More.

  Input/Output:
    dims       On output, the current grid coordinate of interest.
  Output:
    IncnMore   Set the false if there are no more grid coordinates to visit.
