Physical coordinates in space.
More...
#include <strong_types.hpp>
|
|
Real3 | value |
| | Underlying array value.
|
| |
Physical coordinates in space.
Represents a position in physical space (as opposed to index space). Used for specifying locations, evaluating functions at positions, etc.
- Note
- Zero-cost:
sizeof(PhysicalCoords) == sizeof(Real3)
-
Trivially copyable: No heap allocation or deep copy
Physical coordinates in space.
Definition strong_types.hpp:478
Represents the global simulation domain (the "world").
Definition world.hpp:91
◆ PhysicalCoords()
| pfc::PhysicalCoords::PhysicalCoords |
( |
const Real3 & |
v | ) |
|
|
inline |
Construct from Real3 (implicit for backward compatibility)
- Parameters
-
◆ get()
| const Real3 & pfc::PhysicalCoords::get |
( |
| ) |
const |
|
inlinenoexcept |
Get underlying value.
- Returns
- Reference to underlying Real3
◆ operator const Real3 &()
| pfc::PhysicalCoords::operator const Real3 & |
( |
| ) |
const |
|
inlinenoexcept |
Implicit conversion to Real3.
- Returns
- Reference to underlying Real3
◆ 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: