SpECTRE  v2024.05.11
Parallel::Actions::ReceiveDataForElement< StartPhase > Struct Template Reference

Receive data for a specific element on the nodegroup. More...

#include <ReceiveDataForElement.hpp>

Static Public Member Functions

template<typename ParallelComponent , typename DbTagsList , typename Metavariables , typename ArrayIndex , typename ReceiveData , typename ReceiveTag , size_t Dim, typename DistributedObject >
static void apply (db::DataBox< DbTagsList > &box, Parallel::GlobalCache< Metavariables > &cache, const ArrayIndex &, const gsl::not_null< Parallel::NodeLock * >, const DistributedObject *, const ReceiveTag &, const ElementId< Dim > &element_to_execute_on, typename ReceiveTag::temporal_id instance, ReceiveData receive_data)
 Entry method called when receiving data from another node.
 
template<typename ParallelComponent , typename DbTagsList , typename Metavariables , typename ArrayIndex , size_t Dim, typename DistributedObject >
static void apply (db::DataBox< DbTagsList > &box, Parallel::GlobalCache< Metavariables > &cache, const ArrayIndex &, const gsl::not_null< Parallel::NodeLock * >, const DistributedObject *, const ElementId< Dim > &element_to_execute_on)
 Entry method call when receiving from same node.
 

Detailed Description

template<bool StartPhase = false>
struct Parallel::Actions::ReceiveDataForElement< StartPhase >

Receive data for a specific element on the nodegroup.

If StartPhase is true then start_phase(phase) is called on the element_to_execute_on, otherwise perform_algorithm() is called on the element_to_execute_on.


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