SchurExtrapolateScalarKernel Struct ReferenceΒΆ

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

Linear extrapolation of a SCALAR field from the theta-stage to the full step: f^{n+1} = f^n + (1/theta) (f^{n+theta} - f^n). More...

#include <schur_source_kernels.hpp>

+ Collaboration diagram for pops::detail::SchurExtrapolateScalarKernel:

Public Member Functions

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

Public Attributes

ConstArray4 f_n
 f^n
 
Array4 f
 IN: f^{n+theta}; OUT: f^{n+1}.
 
Real inv_theta
 1 / theta
 

Detailed Description

Linear extrapolation of a SCALAR field from the theta-stage to the full step: f^{n+1} = f^n + (1/theta) (f^{n+theta} - f^n).

theta = 1 -> identity (inv_theta = 1). NAMED device-clean functor.

Member Function Documentation

◆ operator()()

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

Member Data Documentation

◆ f

Array4 pops::detail::SchurExtrapolateScalarKernel::f

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

◆ f_n

ConstArray4 pops::detail::SchurExtrapolateScalarKernel::f_n

f^n

◆ inv_theta

Real pops::detail::SchurExtrapolateScalarKernel::inv_theta

1 / theta


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