![]() |
OpenPFC
0.1.4
Phase Field Crystal simulation framework
|
World class definition and unified interface. More...
#include <array>#include <ostream>#include "csys.hpp"#include "types.hpp"#include "world_factory.hpp"#include "world_helpers.hpp"#include "world_queries.hpp"

Go to the source code of this file.
Classes | |
| struct | pfc::world::World< T > |
| Represents the global simulation domain (the "world"). More... | |
Namespaces | |
| namespace | pfc::world |
| Namespace for decomposition-related classes and functions. | |
Typedefs | |
| using | pfc::world::CartesianWorld = World< CartesianTag > |
| Type alias for Cartesian 3D World (most common usage) | |
| using | pfc::World = world::CartesianWorld |
World class definition and unified interface.
The World<CoordTag> class defines the global simulation domain in OpenPFC's computational physics framework. It provides a unified abstraction for describing a discretized physical space in which fields are defined, evolved, and coupled to solvers.
World functionality is split across focused modules:
World follows OpenPFC's "Laboratory, Not Fortress" principles:
Add custom coordinate systems (cylindrical, spherical, etc.) without modifying OpenPFC source. See examples/17_custom_coordinate_system.cpp for complete working examples and docs/extending_openpfc/adl_extension_patterns.md for comprehensive guide.