|
DNDSR 0.2.1
Distributed Numeric Data Structure for CFV
|
Flattened wrapper: inherits from TPair and adds AdjIndexInfo. More...
#include <AdjIndexInfo.hpp>
Public Types | |
| template<DeviceBackend B> | |
| using | t_deviceView = AdjPairTrackedDeviceView< B, typename TPair::t_arr > |
Public Member Functions | |
| void | toLocal () |
| void | toGlobal () |
| void | toLocalOMP () |
| void | toGlobalOMP () |
| void | bootstrapToLocal (const t_pLGhostMapping &mapping) |
| Bootstrap: wire mapping + convert to local (solves chicken-and-egg). | |
| void | bootstrapToLocalOMP (const t_pLGhostMapping &mapping) |
| MeshAdjState | state () const |
| bool | isLocal () const |
| bool | isGlobal () const |
| bool | isBuilt () const |
| bool | isWired () const |
| const t_pLGhostMapping & | mapping () const |
| void | reset () |
| template<DeviceBackend B> | |
| auto | deviceView () |
| template<DeviceBackend B> | |
| auto | deviceView () const |
Public Attributes | |
| AdjIndexInfo | idx |
Flattened wrapper: inherits from TPair and adds AdjIndexInfo.
Because AdjPairTracked inherits publicly from TPair, all existing code that accesses .father, .son, .trans, operator[], BorrowAndPull(), etc. works unchanged. The only addition is the idx member for per-adjacency state tracking.
| TPair | The ArrayPair type (e.g. tAdjPair, tAdj2Pair). |
Definition at line 288 of file AdjIndexInfo.hpp.
| using DNDS::Geom::AdjPairTracked< TPair >::t_deviceView = AdjPairTrackedDeviceView<B, typename TPair::t_arr> |
Definition at line 333 of file AdjIndexInfo.hpp.
|
inline |
Bootstrap: wire mapping + convert to local (solves chicken-and-egg).
Definition at line 299 of file AdjIndexInfo.hpp.
|
inline |
|
inline |
Create a device view that carries the per-adj state alongside the father/son array views.
Definition at line 338 of file AdjIndexInfo.hpp.
|
inline |
Definition at line 346 of file AdjIndexInfo.hpp.
|
inline |
Whether this adjacency is built and has live data. Unlike AdjIndexInfo::isBuilt(), this also checks that the father array is non-null, catching stale states after reset.
Definition at line 315 of file AdjIndexInfo.hpp.
|
inline |
Definition at line 311 of file AdjIndexInfo.hpp.
|
inline |
Definition at line 310 of file AdjIndexInfo.hpp.
|
inline |
Definition at line 316 of file AdjIndexInfo.hpp.
|
inline |
|
inline |
Tear down both the array data and the per-adj state atomically. After this call, isBuilt() returns false.
Definition at line 321 of file AdjIndexInfo.hpp.
|
inline |
Definition at line 309 of file AdjIndexInfo.hpp.
|
inline |
Definition at line 294 of file AdjIndexInfo.hpp.
|
inline |
Definition at line 296 of file AdjIndexInfo.hpp.
|
inline |
Definition at line 293 of file AdjIndexInfo.hpp.
|
inline |
Definition at line 295 of file AdjIndexInfo.hpp.
| AdjIndexInfo DNDS::Geom::AdjPairTracked< TPair >::idx |
Definition at line 290 of file AdjIndexInfo.hpp.