Classes | Namespaces | Macros
ConstGlobalCache.hpp File Reference

Defines class template ConstGlobalCache. More...

#include <string>
#include "DataStructures/DataBox/DataBoxTag.hpp"
#include "ErrorHandling/Assert.hpp"
#include "Parallel/CharmRegistration.hpp"
#include "Parallel/ConstGlobalCacheHelper.hpp"
#include "Parallel/ParallelComponentHelpers.hpp"
#include "Utilities/PrettyType.hpp"
#include "Utilities/Requires.hpp"
#include "Utilities/TMPL.hpp"
#include "Utilities/TaggedTuple.hpp"
#include "Parallel/ConstGlobalCache.decl.h"
#include "Parallel/ConstGlobalCache.def.h"

Go to the source code of this file.

Classes

class  Parallel::ConstGlobalCache< Metavariables >
 A Charm++ chare that caches constant data once per Charm++ node. More...
 
struct  Parallel::Tags::ConstGlobalCache
 Tag to retrieve the Parallel::ConstGlobalCache from the DataBox. More...
 
struct  Parallel::Tags::ConstGlobalCacheImpl< Metavariables >
 
struct  Parallel::Tags::FromConstGlobalCache< CacheTag >
 Tag used to retrieve data from the Parallel::ConstGlobalCache. This is the recommended way for compute tags to retrieve data out of the global cache. More...
 

Namespaces

 Parallel
 Contains functions that forward to Charm++ parallel functions.
 

Functions

template<typename ParallelComponentTag , typename Metavariables >
auto Parallel::get_parallel_component (ConstGlobalCache< Metavariables > &cache) noexcept -> Parallel::proxy_from_parallel_component< ConstGlobalCache_detail::get_component_if_mocked< typename Metavariables::component_list, ParallelComponentTag >> &
 Access the Charm++ proxy associated with a ParallelComponent. More...
 
template<typename ParallelComponentTag , typename Metavariables >
auto Parallel::get_parallel_component (const ConstGlobalCache< Metavariables > &cache) noexcept -> const Parallel::proxy_from_parallel_component< ConstGlobalCache_detail::get_component_if_mocked< typename Metavariables::component_list, ParallelComponentTag >> &
 Access the Charm++ proxy associated with a ParallelComponent. More...
 
template<typename ConstGlobalCacheTag , typename Metavariables >
auto Parallel::get (const ConstGlobalCache< Metavariables > &cache) noexcept -> const ConstGlobalCache_detail::type_for_get< ConstGlobalCacheTag, Metavariables > &
 Access data in the cache. More...
 

Detailed Description

Defines class template ConstGlobalCache.