FluxRegister Struct ReferenceΒΆ

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

#include <amr_patch_range.hpp>

+ Collaboration diagram for pops::FluxRegister:

Public Member Functions

 FluxRegister (const Box2D &region, int ncomp)
 
std::size_t idx (int I, int J, int k) const
 
bool in (int I, int J) const
 
void set (int I, int J, int k, Real v)
 
void add (int I, int J, int k, Real v)
 
Real at (int I, int J, int k) const
 
void gather ()
 

Public Attributes

int I0
 
int J0
 
int NX
 
int NY
 
int nc
 
std::vector< Realbuf
 

Constructor & Destructor Documentation

◆ FluxRegister()

pops::FluxRegister::FluxRegister ( const Box2D region,
int  ncomp 
)
inline

Member Function Documentation

◆ add()

void pops::FluxRegister::add ( int  I,
int  J,
int  k,
Real  v 
)
inline
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ at()

Real pops::FluxRegister::at ( int  I,
int  J,
int  k 
) const
inline
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gather()

void pops::FluxRegister::gather ( )
inline
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ idx()

std::size_t pops::FluxRegister::idx ( int  I,
int  J,
int  k 
) const
inline
+ Here is the caller graph for this function:

◆ in()

bool pops::FluxRegister::in ( int  I,
int  J 
) const
inline
+ Here is the caller graph for this function:

◆ set()

void pops::FluxRegister::set ( int  I,
int  J,
int  k,
Real  v 
)
inline
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ buf

std::vector<Real> pops::FluxRegister::buf

◆ I0

int pops::FluxRegister::I0

◆ J0

int pops::FluxRegister::J0

◆ nc

int pops::FluxRegister::nc

◆ NX

int pops::FluxRegister::NX

◆ NY

int pops::FluxRegister::NY

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