SpECTRE  2021.08.02
intrp::Actions::InterpolateToTarget< InterpolationTargetTag > Struct Template Reference

Interpolates and sends points to an InterpolationTarget. More...

#include <InterpolateToTarget.hpp>

Static Public Member Functions

template<typename DbTags , typename Metavariables , typename... InboxTags, typename ArrayIndex , typename ActionList , typename ParallelComponent >
static std::tuple< db::DataBox< DbTags > && > apply (db::DataBox< DbTags > &box, const tuples::TaggedTuple< InboxTags... > &, Parallel::GlobalCache< Metavariables > &cache, const ArrayIndex &array_index, const ActionList, const ParallelComponent *const) noexcept
 

Detailed Description

template<typename InterpolationTargetTag>
struct intrp::Actions::InterpolateToTarget< InterpolationTargetTag >

Interpolates and sends points to an InterpolationTarget.

This is invoked on DgElementArray. This action should be used only if the elements are using global timestepping. An alternative strategy involving dense output must be devised for interpolation during local timestepping

Uses:

  • DataBox:
    • intrp::Tags::InterpPointInfo<Metavariables>
    • Tags::Mesh<Metavariables::volume_dim>
    • Variables tagged by InterpolationTargetTag::vars_to_interpolate_to_target
    • any box tags used by the should_interpolate function of InterpolationTargetTag

DataBox changes:

  • Adds: nothing
  • Removes: nothing
  • Modifies: nothing