NegateKernel Struct ReferenceΒΆ

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

neg(i,j) = -src(i,j) (negation of component 0). Device-clean NAMED functor. More...

#include <schur_condensation.hpp>

+ Collaboration diagram for pops::detail::NegateKernel:

Public Member Functions

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

Public Attributes

ConstArray4 src
 
Array4 dst
 

Detailed Description

neg(i,j) = -src(i,j) (negation of component 0). Device-clean NAMED functor.

Member Function Documentation

◆ operator()()

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

Member Data Documentation

◆ dst

Array4 pops::detail::NegateKernel::dst

◆ src

ConstArray4 pops::detail::NegateKernel::src

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