SpECTRE  v2024.05.11
Parallel::Actions::SetTerminateOnElement Struct Reference

Set the element with ID my_element_id to be terminated. This is always invoked on the local component via Parallel::local_synchronous_action More...

#include <SetTerminateOnElement.hpp>

Public Types

using return_type = void
 

Public Member Functions

template<typename ParallelComponent , typename DbTagList , typename Metavariables , size_t Dim>
auto apply (db::DataBox< DbTagList > &box, const gsl::not_null< Parallel::NodeLock * > node_lock, const gsl::not_null< Parallel::GlobalCache< Metavariables > * > cache, const ElementId< Dim > &my_element_id, const bool terminate_value) -> return_type
 

Static Public Member Functions

template<typename ParallelComponent , typename DbTagList , typename Metavariables , size_t Dim>
static return_type apply (db::DataBox< DbTagList > &box, gsl::not_null< Parallel::NodeLock * > node_lock, gsl::not_null< Parallel::GlobalCache< Metavariables > * > cache, const ElementId< Dim > &my_element_id, bool terminate_value)
 

Detailed Description

Set the element with ID my_element_id to be terminated. This is always invoked on the local component via Parallel::local_synchronous_action

In the future we can use this to try and elide Charm++ calls when the receiver is local.


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