SpECTRE  v2024.04.12
control_system::UpdateMultipleFunctionsOfTime Struct Reference

Updates several FunctionOfTimes in the global cache at once. Intended to be used in Parallel::mutate. More...

#include <UpdateFunctionOfTime.hpp>

Static Public Member Functions

static void apply (gsl::not_null< std::unordered_map< std::string, std::unique_ptr< domain::FunctionsOfTime::FunctionOfTime > > * > f_of_t_list, double update_time, const std::unordered_map< std::string, std::pair< DataVector, double > > &update_args)
 

Detailed Description

Updates several FunctionOfTimes in the global cache at once. Intended to be used in Parallel::mutate.

Details

All functions of time are updated at the same update_time. For the update_args, the keys of the map are the names of the functions of time. The value std::pair<DataVector, double> for each key is the updated derivative for the function of time and the new expiration time, respectively.


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