SpECTRE
v2025.03.17
|
Receives interpolated variables from an Interpolator
on a subset of the target points.
More...
#include <InterpolationTargetReceiveVars.hpp>
Static Public Member Functions | |
template<typename ParallelComponent , typename DbTags , typename Metavariables , typename ArrayIndex , typename TemporalId > | |
static void | apply (db::DataBox< DbTags > &box, Parallel::GlobalCache< Metavariables > &cache, const ArrayIndex &array_index, const std::vector< Variables< typename InterpolationTargetTag::vars_to_interpolate_to_target > > &vars_src, const std::vector< std::vector< size_t > > &global_offsets, const TemporalId &temporal_id, const bool vars_have_already_been_received=false) |
For requirements on Metavariables, see InterpolationTarget. | |
Receives interpolated variables from an Interpolator
on a subset of the target points.
If interpolated variables for all target points have been received, then
InterpolationTargetTag::post_interpolation_callbacks
Interpolator
s that the interpolation is complete (by calling Actions::CleanUpInterpolator<InterpolationTargetTag>
)Tags::CurrentTemporalId<TemporalId>
temporal_id
s, begins interpolation at the next temporal_id
(by calling Actions::VerifyTemporalIdsAndSendPoints
)Uses:
Tags::CurrentTemporalId<TemporalId>
Tags::IndicesOfFilledInterpPoints<TemporalId>
Tags::InterpolatedVars<InterpolationTargetTag,TemporalId>
DataBox changes:
Tags::CurrentTemporalId<TemporalId>
Tags::CompletedTemporalIds<TemporalId>
Tags::IndicesOfFilledInterpPoints<TemporalId>
Tags::InterpolatedVars<InterpolationTargetTag,TemporalId>
Tags::Variables<typename InterpolationTargetTag::vars_to_interpolate_to_target>
For requirements on InterpolationTargetTag, see InterpolationTarget