numerics 0.1.0
Loading...
Searching...
No Matches
grid3d.hpp File Reference

3D uniform Cartesian grid: geometry only, no field data. More...

#include "core/types.hpp"

Go to the source code of this file.

Classes

struct  num::Grid3D
 

Namespaces

namespace  num
 

Detailed Description

3D uniform Cartesian grid: geometry only, no field data.

Grid3D describes an nx*ny*nz lattice with uniform spacing dx and origin (ox,oy,oz). It carries no field values – those live in a ScalarField3D – mirroring the geometry/data split of Grid2D and ScalarField2D. Flat layout: idx = k*ny*nx + j*nx + i (x is fastest, z is slowest).

Definition in file grid3d.hpp.