![]() |
OpenPFC
0.1.4
Phase Field Crystal simulation framework
|
World creation and factory functions. More...


Go to the source code of this file.
Namespaces | |
| namespace | pfc::world |
| Namespace for decomposition-related classes and functions. | |
Functions | |
| CartesianWorld | pfc::world::create (const Int3 &size) |
| Create a World object with the specified size and default offset and spacing. | |
| CartesianWorld | pfc::world::create (const GridSize &size, const PhysicalOrigin &origin, const GridSpacing &spacing) |
| Create a World object with strong types for type safety. | |
| CartesianWorld | pfc::world::create (const Int3 &size, const Real3 &offset, const Real3 &spacing) |
| Create a World object with raw arrays (DEPRECATED) | |
World creation and factory functions.
This file contains factory functions for creating World objects with various construction patterns. It provides multiple overloads of create() to support different use cases:
The factory functions handle coordinate system construction and validation, making World creation convenient and safe.