SpECTRE  v2024.09.29
Parallel::Actions::GetItemFromDistributedOject< Tag > Struct Template Reference

A local synchronous action that returns a pointer to the item specified by the tag. More...

#include <GetItemFromDistributedObject.hpp>

Public Types

using return_type = typename Tag::type *
 

Static Public Member Functions

template<typename ParallelComponent , typename DbTagList >
static return_type apply (db::DataBox< DbTagList > &box, const gsl::not_null< Parallel::NodeLock * >)
 

Detailed Description

template<typename Tag>
struct Parallel::Actions::GetItemFromDistributedOject< Tag >

A local synchronous action that returns a pointer to the item specified by the tag.

The action uses db::get_mutable_reference to avoid DataBox locking interference. However, this means that thread safety with respect to the retrieved tag must be ensured by the user.


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