CacheManager Class ReferenceΒΆ

adc_cpp: pops::runtime::program::CacheManager Class 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::runtime::program::CacheManager Class Reference

#include <cache_manager.hpp>

+ Collaboration diagram for pops::runtime::program::CacheManager:

Public Member Functions

bool is_due (int node_id, int macro_step, int every_n) const
 
void store (int node_id, const MultiFab &value, int macro_step)
 
void store (int node_id, const MultiFab &value, int macro_step, const std::string &name)
 
const MultiFabretrieve (int node_id) const
 
void accumulate_dt (int node_id, Real dt)
 
Real accumulated_dt (int node_id) const
 
Real effective_dt (int node_id, Real dt_now)
 
bool has (int node_id) const
 
int last_update_step (int node_id) const
 
std::size_t size () const
 
void clear ()
 
std::vector< int > node_ids () const
 
std::string name_of (int node_id) const
 
bool valid (int node_id) const
 
Real accumulated_dt_of (int node_id) const
 
int ncomp_of (int node_id) const
 
int ngrow_of (int node_id) const
 
const MultiFabvalue_of (int node_id) const
 
void restore_slot (int node_id, MultiFab value, int last_update_step, Real accumulated_dt, const std::string &name)
 

Member Function Documentation

◆ accumulate_dt()

void pops::runtime::program::CacheManager::accumulate_dt ( int  node_id,
Real  dt 
)
inline
+ Here is the caller graph for this function:

◆ accumulated_dt()

Real pops::runtime::program::CacheManager::accumulated_dt ( int  node_id) const
inline
+ Here is the caller graph for this function:

◆ accumulated_dt_of()

Real pops::runtime::program::CacheManager::accumulated_dt_of ( int  node_id) const
inline
+ Here is the call graph for this function:

◆ clear()

void pops::runtime::program::CacheManager::clear ( )
inline

◆ effective_dt()

Real pops::runtime::program::CacheManager::effective_dt ( int  node_id,
Real  dt_now 
)
inline
+ Here is the caller graph for this function:

◆ has()

bool pops::runtime::program::CacheManager::has ( int  node_id) const
inline

◆ is_due()

bool pops::runtime::program::CacheManager::is_due ( int  node_id,
int  macro_step,
int  every_n 
) const
inline
+ Here is the caller graph for this function:

◆ last_update_step()

int pops::runtime::program::CacheManager::last_update_step ( int  node_id) const
inline
+ Here is the caller graph for this function:

◆ name_of()

std::string pops::runtime::program::CacheManager::name_of ( int  node_id) const
inline

◆ ncomp_of()

int pops::runtime::program::CacheManager::ncomp_of ( int  node_id) const
inline

◆ ngrow_of()

int pops::runtime::program::CacheManager::ngrow_of ( int  node_id) const
inline

◆ node_ids()

std::vector< int > pops::runtime::program::CacheManager::node_ids ( ) const
inline

◆ restore_slot()

void pops::runtime::program::CacheManager::restore_slot ( int  node_id,
MultiFab  value,
int  last_update_step,
Real  accumulated_dt,
const std::string &  name 
)
inline
+ Here is the call graph for this function:

◆ retrieve()

const MultiFab & pops::runtime::program::CacheManager::retrieve ( int  node_id) const
inline
+ Here is the caller graph for this function:

◆ size()

std::size_t pops::runtime::program::CacheManager::size ( ) const
inline

◆ store() [1/2]

void pops::runtime::program::CacheManager::store ( int  node_id,
const MultiFab value,
int  macro_step 
)
inline
+ Here is the caller graph for this function:

◆ store() [2/2]

void pops::runtime::program::CacheManager::store ( int  node_id,
const MultiFab value,
int  macro_step,
const std::string &  name 
)
inline
+ Here is the call graph for this function:

◆ valid()

bool pops::runtime::program::CacheManager::valid ( int  node_id) const
inline

◆ value_of()

const MultiFab & pops::runtime::program::CacheManager::value_of ( int  node_id) const
inline

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