|
flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
|
ctest decomposition_policy: the census of the default ("auto") level-0 decomposition against the legacy aligned ORB (doc/vof_distributed_partition_design.md §5.2, §7). More...
#include <algorithm>#include <cstdint>#include <cstdio>#include <map>#include <set>#include <string>#include <vector>#include "mac_cutcell_mg.hpp"Go to the source code of this file.
Macros | |
| #define | CHECK(cond, ...) |
Typedefs | |
| using | Dec = peclet::core::decomp::BlockDecomposer<3> |
Functions | |
| int | main () |
ctest decomposition_policy: the census of the default ("auto") level-0 decomposition against the legacy aligned ORB (doc/vof_distributed_partition_design.md §5.2, §7).
Pure host function (CutcellMG::decomposition), no MPI launch, no Kokkos initialisation.
Census: the design's grids plus every grid flow's MPI ctests and coupling's MPI tests decompose, at np 1..8, 12, 16, 24, 32, 48, 96 (and 192 on 128x96x64). For each configuration, auto = levels 0, legacy = levels 1:
at np > 1, nestDepth(d) == the leading in-place coarsenings (rows neither telescoped nor final) of CutcellMG::predict(telescope = true, min_extent = 4), capped at 4, for d = auto and legacy: nestDepth re-implements initMpi's telescope trigger (review 2026-10-20 #4); plus the §9 block shapes of 128x96x64 at np 3, 24 (np 12: legacy's, the guard reverts it), and np 192 = one 16^3 block per rank. Prints the CHANGED list (auto != legacy): the state-hash re-baseline list; and the REVERTED list (WO-D) over the census and the §13.4(2) replica set (the design grids also at np 9, 10, 15, 20; the channel grids at np 2..32).
Definition in file test_decomposition_policy.cpp.
| #define CHECK | ( | cond, | |
| ... ) |
Definition at line 50 of file test_decomposition_policy.cpp.
Referenced by main().
| using Dec = peclet::core::decomp::BlockDecomposer<3> |
Definition at line 43 of file test_decomposition_policy.cpp.
| int main | ( | ) |
Definition at line 202 of file test_decomposition_policy.cpp.
References CHECK, fails, G, and same().
Referenced by mg_precond_analyze::main(), mg_precond_fp32cmp::main(), and test_collocated_stability_guard::test_collocated_stability_guard().