DNDSR 0.2.1
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
MeshConnectivity_StateChecked.hpp File Reference

Thin free-function wrappers over MeshConnectivity DSL methods that assert per-adjacency state (AdjPairTracked::idx) before delegating to the bare-pair DSL. More...

#include "AdjIndexInfo.hpp"
#include "MeshConnectivity.hpp"
Include dependency graph for MeshConnectivity_StateChecked.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  DNDS
 the host side operators are provided as implemented
 
namespace  DNDS::Geom
 

Functions

template<rowsize cone_rs = NonUniformSize, class ToPair >
AdjPairTracked< tAdjPairDNDS::Geom::CheckedInverse (const AdjPairTracked< ArrayAdjacencyPair< cone_rs > > &cone, const ToPair &toPair, index nToLocal, const MPIInfo &mpi)
 
template<rowsize rs_AB = NonUniformSize, rowsize rs_BC = NonUniformSize, rowsize out_rs = NonUniformSize, class Predicate , class... TArgs>
AdjPairTracked< ArrayAdjacencyPair< out_rs > > DNDS::Geom::CheckedComposeFiltered (const AdjPairTracked< ArrayAdjacencyPair< rs_AB > > &AB, const AdjPairTracked< ArrayAdjacencyPair< rs_BC > > &BC, const std::unordered_map< index, index > &bGlobal2Local, Predicate &&pred, TArgs &&...args)
 
template<rowsize p2n_rs = NonUniformSize, rowsize e2p_rs = NonUniformSize>
auto DNDS::Geom::CheckedInterpolateGlobal (const AdjPairTracked< ArrayAdjacencyPair< p2n_rs > > &parent2node, const tPbiPair &parent2nodePbi, const OffsetAscendIndexMapping &parentGhostMapping, const GlobalOffsetsMapping &parentGlobalMapping, const OffsetAscendIndexMapping &nodeGhostMapping, const SubEntityQueryPbi &query, index nLocalParents, index nTotalParents, index nNode, const OwnershipResolverMulti &resolver, const MPIInfo &mpi)
 State-checked wrapper for MeshConnectivity::InterpolateGlobal.
 

Detailed Description

Thin free-function wrappers over MeshConnectivity DSL methods that assert per-adjacency state (AdjPairTracked::idx) before delegating to the bare-pair DSL.

MeshConnectivity operates on bare ArrayAdjacencyPair<rs> and has no knowledge of AdjIndexInfo. These wrappers bridge the gap: they accept AdjPairTracked<T> inputs, validate state, and forward to the DSL.

Definition in file MeshConnectivity_StateChecked.hpp.