include/pops/coupling/schur/core/schur_source_kernels.hpp Source FileΒΆ
|
adc_cpp 0.3.0
Model-free C++23 core for coupled hyperbolic-elliptic systems on adaptive (AMR) meshes, with MPI and GPU (Kokkos) backends
|
schur_source_kernels.hpp
Go to the documentation of this file.
Fab2D: single-grid data on a Box2D (in-house equivalent of AMReX's FArrayBox); Array4 / ConstArray4: ...
void validate_krylov_params(Real tol, int max_iters, const char *who)
Validates the Krylov tolerance / iteration budget shared by the Schur source steppers (historical con...
Definition schur_source_kernels.hpp:103
Definition amr_hierarchy.hpp:29
WRITE POD handle (raw pointer + strides) over a Fab2D buffer, indexed by (i, j, c) IN GLOBAL INDICES ...
Definition fab2d.hpp:29
READ-only handle (const counterpart of Array4): same layout and same contract (POD device-copyable,...
Definition fab2d.hpp:44
Copies the B_z field (aux channel) into an internal scalar MultiFab (0 ghost is enough,...
Definition schur_source_kernels.hpp:93
POPS_HD void operator()(int i, int j) const
Definition schur_source_kernels.hpp:97
Extracts the velocity v = (mx, my) / rho from the state (Density / MomentumX / MomentumY roles) into ...
Definition schur_source_kernels.hpp:79
POPS_HD void operator()(int i, int j) const
Definition schur_source_kernels.hpp:83
Energy update: E^{n+1} = E^n + (1/2) rho^n (|v^{n+1}|^2 - |v^n|^2).
Definition schur_source_kernels.hpp:62
Array4 st
state (WRITE E; READ rho)
Definition schur_source_kernels.hpp:65
POPS_HD void operator()(int i, int j) const
Definition schur_source_kernels.hpp:67
Linear extrapolation of a SCALAR field from the theta-stage to the full step: f^{n+1} = f^n + (1/thet...
Definition schur_source_kernels.hpp:32
ConstArray4 f_n
f^n
Definition schur_source_kernels.hpp:33
POPS_HD void operator()(int i, int j) const
Definition schur_source_kernels.hpp:36
Real inv_theta
1 / theta
Definition schur_source_kernels.hpp:35
Array4 f
IN: f^{n+theta}; OUT: f^{n+1}.
Definition schur_source_kernels.hpp:34
Linear extrapolation of the VELOCITY (vx, vy) from the theta-stage to the full step,...
Definition schur_source_kernels.hpp:43
POPS_HD void operator()(int i, int j) const
Definition schur_source_kernels.hpp:49
Array4 st
state (WRITE mx, my; READ rho)
Definition schur_source_kernels.hpp:46
Array4 vy
IN: v^{n+theta}; OUT: v^{n+1}.
Definition schur_source_kernels.hpp:45
ConstArray4 vy_n
v^n
Definition schur_source_kernels.hpp:44
Real inv_theta
1 / theta
Definition schur_source_kernels.hpp:47
ConstArray4 vx_n
Definition schur_source_kernels.hpp:44
Base scalar types and the POPS_HD macro (host+device portability).
Generated by