|
flow
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
|
flow — portable (Kokkos) geometric multigrid V-cycle for the periodic pressure Poisson. More...
#include <Kokkos_Core.hpp>#include <vector>#include "mac_stencils.hpp"#include "mac_transfer.hpp"Go to the source code of this file.
Classes | |
| class | peclet::flow::MgPoisson |
| struct | peclet::flow::MgPoisson::Level |
Namespaces | |
| namespace | peclet |
| namespace | peclet::flow |
Functions | |
| void | peclet::flow::mgPeriodicFill (SField f, I3 e, int N, int g) |
flow — portable (Kokkos) geometric multigrid V-cycle for the periodic pressure Poisson.
Assembles the ported operators (RB-GS smoother, averaging restriction, trilinear prolongation, mean removal) into a correction-scheme V-cycle for Lap(phi)=d on a periodic staggered grid. Coarse operators are the rediscretized constant-coefficient Laplacian at the level spacing (A = -Lap = (6 phi - sum)/h^2). This replaces the slow plain RB-GS pressure solve in FlowReference. Single GPU (periodic ghost wrap per level). Any Kokkos backend.
Definition in file mac_mg.hpp.