OpenPFC  0.1.4
Phase Field Crystal simulation framework
Loading...
Searching...
No Matches
pfc::csys::CartesianTag Struct Reference

Tag type for the 3D Cartesian coordinate system. More...

#include <csys.hpp>

Detailed Description

Tag type for the 3D Cartesian coordinate system.

This tag represents a standard right-handed Cartesian coordinate system in 3D, which is the default and most commonly used geometry in OpenPFC simulations.

The associated coordinate system maps discrete grid indices (i, j, k) to continuous physical space using a uniform, axis-aligned grid defined by:

  • offset: the physical position corresponding to index (0, 0, 0)
  • spacing: the distance between adjacent grid points along each axis

This coordinate system assumes:

  • The grid is regular (uniform spacing)
  • Axes are orthogonal and aligned with the simulation dimensions

It provides a simple and efficient mapping suitable for a wide range of physical simulations where a Euclidean space is appropriate.

Examples
/home/runner/work/OpenPFC/OpenPFC/include/openpfc/core/decomposition.hpp.

The documentation for this struct was generated from the following file: