DNDSR 0.2.1
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
DNDS::Geom::SupportAdj Struct Reference

#include <MeshConnectivity.hpp>

Public Member Functions

tAdjPairasAdj ()
 Access as variable-width tAdjPair.
 
const tAdjPairasAdj () const
 
tAdj2PairasAdj2 ()
 
const tAdj2PairasAdj2 () const
 
tAdj1PairasAdj1 ()
 
const tAdj1PairasAdj1 () const
 
template<class TPair >
TPair & as ()
 Typed access: as<tAdj2Pair>() etc.
 
template<class TPair >
const TPair & as () const
 
index fatherSize () const
 
bool initialized () const
 

Public Attributes

int fromDepth {-1}
 Source stratum (e.g., 0 for nodes)
 
int toDepth {-1}
 Target stratum (e.g., dim for cells)
 
ssp< AdjVariantadj
 Shared adjacency pair (typed by row width)
 

Detailed Description

A support (upward) adjacency from entities at fromDepth to entities at toDepth. Row order is determined by the creation method (typically Inverse), and is stable but not semantically ordered.

Supports never carry periodic bits — pbi is a property of cones to nodes.

The adjacency data is stored via ssp<AdjVariant> for shared ownership.

Definition at line 471 of file MeshConnectivity.hpp.

Member Function Documentation

◆ as() [1/2]

template<class TPair >
TPair & DNDS::Geom::SupportAdj::as ( )
inline

Typed access: as<tAdj2Pair>() etc.

Definition at line 489 of file MeshConnectivity.hpp.

◆ as() [2/2]

template<class TPair >
const TPair & DNDS::Geom::SupportAdj::as ( ) const
inline

Definition at line 491 of file MeshConnectivity.hpp.

◆ asAdj() [1/2]

tAdjPair & DNDS::Geom::SupportAdj::asAdj ( )
inline

Access as variable-width tAdjPair.

Definition at line 478 of file MeshConnectivity.hpp.

◆ asAdj() [2/2]

const tAdjPair & DNDS::Geom::SupportAdj::asAdj ( ) const
inline

Definition at line 479 of file MeshConnectivity.hpp.

◆ asAdj1() [1/2]

tAdj1Pair & DNDS::Geom::SupportAdj::asAdj1 ( )
inline

Definition at line 484 of file MeshConnectivity.hpp.

◆ asAdj1() [2/2]

const tAdj1Pair & DNDS::Geom::SupportAdj::asAdj1 ( ) const
inline

Definition at line 485 of file MeshConnectivity.hpp.

◆ asAdj2() [1/2]

tAdj2Pair & DNDS::Geom::SupportAdj::asAdj2 ( )
inline

Definition at line 481 of file MeshConnectivity.hpp.

◆ asAdj2() [2/2]

const tAdj2Pair & DNDS::Geom::SupportAdj::asAdj2 ( ) const
inline

Definition at line 482 of file MeshConnectivity.hpp.

◆ fatherSize()

index DNDS::Geom::SupportAdj::fatherSize ( ) const
inline

Definition at line 493 of file MeshConnectivity.hpp.

Here is the caller graph for this function:

◆ initialized()

bool DNDS::Geom::SupportAdj::initialized ( ) const
inline

Definition at line 501 of file MeshConnectivity.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ adj

ssp<AdjVariant> DNDS::Geom::SupportAdj::adj

Shared adjacency pair (typed by row width)

Definition at line 475 of file MeshConnectivity.hpp.

◆ fromDepth

int DNDS::Geom::SupportAdj::fromDepth {-1}

Source stratum (e.g., 0 for nodes)

Definition at line 473 of file MeshConnectivity.hpp.

◆ toDepth

int DNDS::Geom::SupportAdj::toDepth {-1}

Target stratum (e.g., dim for cells)

Definition at line 474 of file MeshConnectivity.hpp.


The documentation for this struct was generated from the following file: