lattice/latticeconcept

Search:
Group by:

Lattice Concept

Defines the Lattice concept that any lattice type must satisfy. This is in its own module to avoid circular dependencies between lattice.nim and lattice/stencil.nim.

Types

Lattice[D] = concept x
    x.globalGrid is array[D, int]
    x.mpiGrid is array[D, int]
    x.ghostGrid is array[D, int]

Lattice concept

A concept that any lattice type must satisfy.

Requirements:

  • Must have globalGrid, mpiGrid, and ghostGrid fields of type array[D, int].