SpECTRE
v2025.03.17
|
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 * >) |
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.