AddScaledComponentKernel Struct ReferenceΒΆ

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

NAMED functor (not an POPS_HD lambda) of the accumulation: r(i,j,0) += a * u(i,j,c). More...

#include <elliptic_rhs.hpp>

+ Collaboration diagram for pops::detail::AddScaledComponentKernel:

Public Member Functions

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

Public Attributes

Array4 r
 
ConstArray4 u
 
Real a
 
int c
 

Detailed Description

NAMED functor (not an POPS_HD lambda) of the accumulation: r(i,j,0) += a * u(i,j,c).

Member Function Documentation

◆ operator()()

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

Member Data Documentation

◆ a

Real pops::detail::AddScaledComponentKernel::a

◆ c

int pops::detail::AddScaledComponentKernel::c

◆ r

Array4 pops::detail::AddScaledComponentKernel::r

◆ u

ConstArray4 pops::detail::AddScaledComponentKernel::u

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