Skip to content

File types.hpp

FileList > include > multigrid > types.hpp

Go to the source code of this file

  • #include <array>
  • #include <vector>

Namespaces

Type Name
namespace mgrid

Classes

Type Name
struct Axis
One grid axis: point count, spacing, and periodicity, with the index arithmetic every stencil / sweep / transfer needs. A bounded axis uses one-sided stencils at its ends and never wraps; a periodic axis has no ends (index arithmetic is mod n ).
struct BoundaryPoint
Boundary condition point (type and value).
struct Deriv
Ten finite-difference partials at a point: dx, dxu, dz, dzu, dxx, dxxu, dzz, dzzu, dxz, dxzu.

The documentation for this class was generated from the following file include/multigrid/types.hpp