// AUTO-GENERATED by CelerisLab compiler – DO NOT EDIT MANUALLY
// Layer: Global / Grid
#ifndef CELERIS_CONFIG_GRID_H
#define CELERIS_CONFIG_GRID_H

#define NT   256
#define MULT_GPU 0

#define NX  1351
#define NY  601
#define NZ  1

// ---- Lattice model (single source of truth) ----
// Model IDs: 0=D2Q9, 1=D3Q19  (extend here for future models like D2Q19)
#define LATTICE_D2Q9   0
#define LATTICE_D3Q19  1

#define LATTICE_MODEL  0

// DIM and NQ are derived from LATTICE_MODEL — do NOT set independently.
#if LATTICE_MODEL == LATTICE_D2Q9
  #define DIM 2
  #define NQ  9
#elif LATTICE_MODEL == LATTICE_D3Q19
  #define DIM 3
  #define NQ  19
#else
  #error "Unknown LATTICE_MODEL. Supported: LATTICE_D2Q9 (0), LATTICE_D3Q19 (1)."
#endif

#endif
