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

3D Cartesian scalar grid backed by num::Vector storage. More...

#include "core/types.hpp"
#include "core/vector.hpp"
#include <vector>

Go to the source code of this file.

Classes

class  num::Grid3D
 

Namespaces

namespace  num
 

Detailed Description

3D Cartesian scalar grid backed by num::Vector storage.

Flat layout: idx = k*ny*nx + j*nx + i (x is fastest, z is slowest) Used by the field physics module for Poisson/diffusion solves.

Definition in file grid3d.hpp.