Reconstruct v^{n+theta} = B^{-1}(v^n - theta*dt*grad phi) and write mom = rho^n*v (rho frozen).
More...
#include <program_context.hpp>
Reconstruct v^{n+theta} = B^{-1}(v^n - theta*dt*grad phi) and write mom = rho^n*v (rho frozen).
Mirrors detail::SchurReconstructKernel but reads B_z from the aux at c_bz (no separate vx/vy buffers: v^n = (mx, my)/rho read inline from the state).
◆ operator()()
| POPS_HD void pops::runtime::program::detail::SchurReconstructKernelC::operator() |
( |
int |
i, |
|
|
int |
j |
|
) |
| const |
|
inline |
◆ aux
| ConstArray4 pops::runtime::program::detail::SchurReconstructKernelC::aux |
◆ c_bz
| int pops::runtime::program::detail::SchurReconstructKernelC::c_bz |
◆ c_mx
| int pops::runtime::program::detail::SchurReconstructKernelC::c_mx |
◆ c_my
| int pops::runtime::program::detail::SchurReconstructKernelC::c_my |
◆ c_rho
| int pops::runtime::program::detail::SchurReconstructKernelC::c_rho |
◆ half_idx
| Real pops::runtime::program::detail::SchurReconstructKernelC::half_idx |
◆ half_idy
| Real pops::runtime::program::detail::SchurReconstructKernelC::half_idy |
1/(2 dx), 1/(2 dy) (centered gradient)
◆ phi
| ConstArray4 pops::runtime::program::detail::SchurReconstructKernelC::phi |
phi^{n+theta} (ghosts filled: centered grad reads i+-1, j+-1)
◆ st
| Array4 pops::runtime::program::detail::SchurReconstructKernelC::st |
fluid state (READ rho, mx, my; WRITE mx, my)
◆ th_dt
| Real pops::runtime::program::detail::SchurReconstructKernelC::th_dt |
The documentation for this struct was generated from the following file: