|
flow
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
|
flow — portable (Kokkos) staggered MAC momentum advection (Koren TVD + FOU). More...
#include <Kokkos_Core.hpp>#include <Kokkos_MathematicalFunctions.hpp>Go to the source code of this file.
Classes | |
| struct | sadv::ViewAcc |
Namespaces | |
| namespace | sadv |
Functions | |
| double | sadv::koren (double up_m1, double up, double down, double vel) |
| double | sadv::tvd (double LL, double L, double R, double RR, double vel) |
| double | sadv::fou_flux (double L, double R, double vel) |
| double | sadv::sou (double LL, double L, double R, double RR, double vel) |
| template<class A > | |
| double | sadv::adv_vel (int comp, int fd, int x, int y, int z, A U, A V, A W) |
| template<class A > | |
| double | sadv::advect (int comp, int x, int y, int z, A U, A V, A W, A PHI) |
| template<class A > | |
| double | sadv::advect_sou (int comp, int x, int y, int z, A U, A V, A W, A PHI) |
| template<class A > | |
| void | sadv::fou_operator (int comp, int x, int y, int z, A U, A V, A W, double dt, double &cC, double &cxm, double &cxp, double &cym, double &cyp, double &czm, double &czp) |
| template<class A > | |
| void | sadv::fou_operator_aniso (int comp, int x, int y, int z, A U, A V, A W, double dt, double sx, double sy, double sz, double &cC, double &cxm, double &cxp, double &cym, double &cyp, double &czm, double &czp) |
| template<class A > | |
| double | sadv::advect_fou (int comp, int x, int y, int z, A U, A V, A W, A PHI) |
flow — portable (Kokkos) staggered MAC momentum advection (Koren TVD + FOU).
Kokkos port of staggered_advection.cuh: the Koren-limited conservative advection operator and its first-order-upwind variant, on the local extended block (direct strides; ghosts halo-exchanged). The math is a faithful copy (double precision, conservative flux form, +/-2 cell reach). A View accessor replaces the CUDA LocAcc. The functions are KOKKOS_INLINE_FUNCTION so the same code runs on device and is reused by the host reference in the test.
Definition in file staggered_advection.hpp.