SchurExtrapolateVelocityKernel Struct ReferenceΒΆ

adc_cpp: pops::detail::SchurExtrapolateVelocityKernel Struct Reference
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
pops::detail::SchurExtrapolateVelocityKernel Struct Reference

Linear extrapolation of the VELOCITY (vx, vy) from the theta-stage to the full step, then recompose mom = rho^n v^{n+1} into the state. More...

#include <schur_source_kernels.hpp>

+ Collaboration diagram for pops::detail::SchurExtrapolateVelocityKernel:

Public Member Functions

POPS_HD void operator() (int i, int j) const
 

Public Attributes

ConstArray4 vx_n
 
ConstArray4 vy_n
 v^n
 
Array4 vx
 
Array4 vy
 IN: v^{n+theta}; OUT: v^{n+1}.
 
Array4 st
 state (WRITE mx, my; READ rho)
 
Real inv_theta
 1 / theta
 
int c_rho
 
int c_mx
 
int c_my
 

Detailed Description

Linear extrapolation of the VELOCITY (vx, vy) from the theta-stage to the full step, then recompose mom = rho^n v^{n+1} into the state.

rho frozen. NAMED device-clean functor.

Member Function Documentation

◆ operator()()

POPS_HD void pops::detail::SchurExtrapolateVelocityKernel::operator() ( int  i,
int  j 
) const
inline

Member Data Documentation

◆ c_mx

int pops::detail::SchurExtrapolateVelocityKernel::c_mx

◆ c_my

int pops::detail::SchurExtrapolateVelocityKernel::c_my

◆ c_rho

int pops::detail::SchurExtrapolateVelocityKernel::c_rho

◆ inv_theta

Real pops::detail::SchurExtrapolateVelocityKernel::inv_theta

1 / theta

◆ st

Array4 pops::detail::SchurExtrapolateVelocityKernel::st

state (WRITE mx, my; READ rho)

◆ vx

Array4 pops::detail::SchurExtrapolateVelocityKernel::vx

◆ vx_n

ConstArray4 pops::detail::SchurExtrapolateVelocityKernel::vx_n

◆ vy

Array4 pops::detail::SchurExtrapolateVelocityKernel::vy

IN: v^{n+theta}; OUT: v^{n+1}.

◆ vy_n

ConstArray4 pops::detail::SchurExtrapolateVelocityKernel::vy_n

v^n


The documentation for this struct was generated from the following file: