|
flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
|
ctest mg_vcycle_symmetry_mpi: the distributed half of gate G-SYM of doc/mg_depth_policy.md Amendment A3 (A3.5) – the symmetric pressure V-cycle (CutcellMG::setSymmetricVcycle) distributed over MPI_COMM_WORLD (initMpi, default telescoping and communication-avoiding coarse levels). More...
#include <mpi.h>#include <cmath>#include <cstdio>#include <cstring>#include <Kokkos_Core.hpp>#include <string>#include <vector>#include "mac_cutcell_mg.hpp"#include "mg_fp32_problems.hpp"Go to the source code of this file.
Functions | |
| int | main (int argc, char **argv) |
ctest mg_vcycle_symmetry_mpi: the distributed half of gate G-SYM of doc/mg_depth_policy.md Amendment A3 (A3.5) – the symmetric pressure V-cycle (CutcellMG::setSymmetricVcycle) distributed over MPI_COMM_WORLD (initMpi, default telescoping and communication-avoiding coarse levels).
Measure as ctest mg_vcycle_symmetry: a = |x^T M y - y^T M x| / (|x| |M y|) of the production V-cycle (precondVcycle, schedule (2, 2, 12)), x and y the single-rank test's vectors (the same pseudo-random value per GLOBAL cell), closed cells zero, mean-free; dots global. Checks (switch on): np 1: one V-cycle z = M r memcmp-equal on the inner cells to the single-rank V-cycle (every problem below); every np: a <= 1e-14 on the smoothed-bottom problems of the single-rank test (thinW with line relaxation on and off, the thin periodic slab, scalar, the 64^3 periodic and walled blobs at 5 levels, cylProblem, the outflow-anchored channel); a <= 1e-8 with the agglomerated bottom (64^3 periodic blob, 4 levels, forced) – gated (and its np 1 memcmp) on a host backend (G-SYM: host np 2 and 4), recorded on a device backend (a distributed device bottom is GraphAMG, the single-rank one the direct factor).
Definition in file test_mg_vcycle_symmetry_mpi.cpp.
| int main | ( | int | argc, |
| char ** | argv ) |
Definition at line 213 of file test_mg_vcycle_symmetry_mpi.cpp.
References peclet_flow_fp32_problems::cylProblem(), and fails.