|
DNDSR 0.2.1
Distributed Numeric Data Structure for CFV
|
#include <MeshConnectivity.hpp>
Public Member Functions | |
| tAdjPair & | asAdj () |
| Access as variable-width tAdjPair. Throws if adj holds a fixed-width type. | |
| const tAdjPair & | asAdj () const |
| tAdj2Pair & | asAdj2 () |
| Access as fixed-width tAdj2Pair (e.g., for cell2face with 2 entries). | |
| const tAdj2Pair & | asAdj2 () const |
| tAdj1Pair & | asAdj1 () |
| const tAdj1Pair & | asAdj1 () const |
| template<class TPair > | |
| TPair & | as () |
Typed access: as<tAdj2Pair>() etc. | |
| template<class TPair > | |
| const TPair & | as () const |
| index | fatherSize () const |
| Number of local (father) rows. | |
| bool | initialized () const |
| Check if the adjacency pair is initialized (father is non-null). | |
| bool | hasPbi () const |
| Check if pbi is attached (only valid for toDepth==0). | |
Public Attributes | |
| int | fromDepth {-1} |
| Source stratum (e.g., dim for cells, dim-1 for faces) | |
| int | toDepth {-1} |
| Target stratum (e.g., 0 for nodes, dim-1 for faces) | |
| ssp< AdjVariant > | adj |
| Shared adjacency pair (typed by row width) | |
| tPbiPair | pbi |
| Periodic bits per entry (only for toDepth==0, optional) | |
A cone (downward) adjacency from entities at fromDepth to entities at toDepth. Row order is defined by element topology and must not be permuted (e.g., cell2node ordering determines element shape functions).
Periodic bits (pbi) are only meaningful when toDepth == 0 (nodes). For non-periodic meshes or non-node targets, pbi remains uninitialized.
The adjacency data is stored via ssp<AdjVariant> for shared ownership. Both the DAG and legacy mesh members can share the same allocation.
Definition at line 414 of file MeshConnectivity.hpp.
|
inline |
Typed access: as<tAdj2Pair>() etc.
Definition at line 434 of file MeshConnectivity.hpp.
|
inline |
Definition at line 436 of file MeshConnectivity.hpp.
|
inline |
Access as variable-width tAdjPair. Throws if adj holds a fixed-width type.
Definition at line 422 of file MeshConnectivity.hpp.
|
inline |
Definition at line 423 of file MeshConnectivity.hpp.
|
inline |
Definition at line 429 of file MeshConnectivity.hpp.
|
inline |
Definition at line 430 of file MeshConnectivity.hpp.
|
inline |
Access as fixed-width tAdj2Pair (e.g., for cell2face with 2 entries).
Definition at line 426 of file MeshConnectivity.hpp.
|
inline |
Definition at line 427 of file MeshConnectivity.hpp.
|
inline |
Number of local (father) rows.
Definition at line 439 of file MeshConnectivity.hpp.
|
inline |
Check if pbi is attached (only valid for toDepth==0).
Definition at line 457 of file MeshConnectivity.hpp.
|
inline |
Check if the adjacency pair is initialized (father is non-null).
Definition at line 448 of file MeshConnectivity.hpp.
| ssp<AdjVariant> DNDS::Geom::ConeAdj::adj |
Shared adjacency pair (typed by row width)
Definition at line 418 of file MeshConnectivity.hpp.
| int DNDS::Geom::ConeAdj::fromDepth {-1} |
Source stratum (e.g., dim for cells, dim-1 for faces)
Definition at line 416 of file MeshConnectivity.hpp.
| tPbiPair DNDS::Geom::ConeAdj::pbi |
Periodic bits per entry (only for toDepth==0, optional)
Definition at line 419 of file MeshConnectivity.hpp.
| int DNDS::Geom::ConeAdj::toDepth {-1} |
Target stratum (e.g., 0 for nodes, dim-1 for faces)
Definition at line 417 of file MeshConnectivity.hpp.