Local subdomain offset in local coordinate system.
More...
#include <strong_types.hpp>
|
|
Int3 | value |
| | Underlying array value.
|
| |
Local subdomain offset in local coordinate system.
Represents the offset of a subdomain within a local coordinate frame. Used in domain decomposition to specify where a subdomain starts.
- Note
- Zero-cost:
sizeof(LocalOffset) == sizeof(Int3)
-
Trivially copyable: No heap allocation or deep copy
Local subdomain offset in local coordinate system.
Definition strong_types.hpp:230
Represents the global simulation domain (the "world").
Definition world.hpp:91
◆ LocalOffset()
| pfc::LocalOffset::LocalOffset |
( |
const Int3 & |
v | ) |
|
|
inline |
Construct from Int3 (implicit for backward compatibility)
- Parameters
-
| v | Offset in each dimension |
◆ get()
| const Int3 & pfc::LocalOffset::get |
( |
| ) |
const |
|
inlinenoexcept |
Get underlying value.
- Returns
- Reference to underlying Int3
◆ operator const Int3 &()
| pfc::LocalOffset::operator const Int3 & |
( |
| ) |
const |
|
inlinenoexcept |
Implicit conversion to Int3.
- Returns
- Reference to underlying Int3
◆ operator!=()
Inequality comparison.
- Parameters
-
- Returns
- true if values are not equal
◆ operator==()
Equality comparison.
- Parameters
-
- Returns
- true if values are equal
The documentation for this struct was generated from the following file: