DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
Mesh_PartitionHelpers.hpp File Reference

Internal helpers for mesh partition redistribution. More...

Include dependency graph for Mesh_PartitionHelpers.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<class TPartitionIdx >
void DNDS::Geom::Partition2LocalIdx (const std::vector< TPartitionIdx > &partition, std::vector< DNDS::index > &localPush, std::vector< DNDS::index > &localPushStart, const DNDS::MPIInfo &mpi)
 
template<class TPartitionIdx >
void DNDS::Geom::Partition2Serial2Global (const std::vector< TPartitionIdx > &partition, std::vector< DNDS::index > &serial2Global, const DNDS::MPIInfo &mpi, DNDS::MPI_int nPart)
 
template<class TAdj = tAdj1>
void DNDS::Geom::ConvertAdjSerial2Global (TAdj &arraySerialAdj, const std::vector< DNDS::index > &partitionJSerial2Global, const DNDS::MPIInfo &mpi)
 
template<class TArr = tAdj1>
void DNDS::Geom::TransferDataSerial2Global (TArr &arraySerial, TArr &arrayDist, const std::vector< DNDS::index > &pushIndex, const std::vector< DNDS::index > &pushIndexStart, const DNDS::MPIInfo &mpi)
 

Detailed Description

Internal helpers for mesh partition redistribution.

These template functions support converting mesh data from one partition to another using ArrayTransformer push-based transfer. Originally defined as file-local in Mesh.cpp, they are now shared between Mesh.cpp and Mesh_ReadSerializeDistributed.cpp.

Definition in file Mesh_PartitionHelpers.hpp.