DNDSR 0.2.1
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
test_PermutationTransfer.cpp File Reference

Unit tests for DNDS::PermutationTransfer. More...

#include "doctest.h"
#include "DNDS/PermutationTransfer.hpp"
#include "DNDS/ArrayDerived/ArrayAdjacency.hpp"
#include <numeric>
#include <algorithm>
Include dependency graph for test_PermutationTransfer.cpp:

Go to the source code of this file.

Macros

#define DOCTEST_CONFIG_IMPLEMENT
 

Functions

int main (int argc, char **argv)
 
 TEST_CASE ("PermutationTransfer::fromLocalPermutation reverse")
 
 TEST_CASE ("PermutationTransfer::fromLocalPermutation identity")
 
 TEST_CASE ("PermutationTransfer::fromPartition all-local")
 
 TEST_CASE ("PermutationTransfer::fromPartition round-robin")
 
 TEST_CASE ("PermutationTransfer::buildLookup resolve")
 
 TEST_CASE ("PermutationTransfer distributed lookup cross-rank")
 
 TEST_CASE ("PermutationTransfer::transferRows CSR local permutation")
 

Detailed Description

Unit tests for DNDS::PermutationTransfer.

Tests local permutation, distributed partition transfer, and lookup resolution under MPI with 1, 2, 4, and 8 ranks.

Definition in file test_PermutationTransfer.cpp.

Macro Definition Documentation

◆ DOCTEST_CONFIG_IMPLEMENT

#define DOCTEST_CONFIG_IMPLEMENT

Definition at line 9 of file test_PermutationTransfer.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 18 of file test_PermutationTransfer.cpp.

◆ TEST_CASE() [1/7]

TEST_CASE ( "PermutationTransfer distributed lookup cross-rank"  )

Definition at line 284 of file test_PermutationTransfer.cpp.

Here is the call graph for this function:

◆ TEST_CASE() [2/7]

TEST_CASE ( "PermutationTransfer::buildLookup resolve"  )

Definition at line 229 of file test_PermutationTransfer.cpp.

Here is the call graph for this function:

◆ TEST_CASE() [3/7]

TEST_CASE ( "PermutationTransfer::fromLocalPermutation identity"  )

Definition at line 89 of file test_PermutationTransfer.cpp.

Here is the call graph for this function:

◆ TEST_CASE() [4/7]

TEST_CASE ( "PermutationTransfer::fromLocalPermutation reverse"  )

Definition at line 39 of file test_PermutationTransfer.cpp.

Here is the call graph for this function:

◆ TEST_CASE() [5/7]

TEST_CASE ( "PermutationTransfer::fromPartition all-local"  )

Definition at line 120 of file test_PermutationTransfer.cpp.

Here is the call graph for this function:

◆ TEST_CASE() [6/7]

TEST_CASE ( "PermutationTransfer::fromPartition round-robin"  )

Definition at line 157 of file test_PermutationTransfer.cpp.

Here is the call graph for this function:

◆ TEST_CASE() [7/7]

TEST_CASE ( "PermutationTransfer::transferRows CSR local permutation"  )

Definition at line 340 of file test_PermutationTransfer.cpp.

Here is the call graph for this function: