|
SpECTRE
v2026.11.17
|
Applies the element's spectral volume filter to the evolved variables. More...
#include <SpectralFilter.hpp>
Static Public Member Functions | |
| template<typename DbTags, typename... InboxTags, typename ArrayIndex, typename ActionList, typename ParallelComponent, typename Metavariables> | |
| static Parallel::iterable_action_return_t | apply (db::DataBox< DbTags > &box, const tuples::TaggedTuple< InboxTags... > &, const Parallel::GlobalCache< Metavariables > &, const ArrayIndex &, const ActionList, const ParallelComponent *const) |
Applies the element's spectral volume filter to the evolved variables.
Retrieves the per-element filter from Filters::Tags::SpectralFilter from the DataBox and applies the volume filter.
The filter is applied when apply_volume_filter_on_substep() returns true, or when the update completes a full step and apply_volume_filter_on_this_step(step_number) returns true. Filters::None is always skipped (explicit no-op).
This action runs after the solution update and before AdvanceTime, so Tags::Next<Tags::TimeStepId> identifies whether the update completes a step.
The grid-to-inertial Jacobian and its inverse are only retrieved from the DataBox when Filters::Filter::need_jacobians() returns true; otherwise std::nullopt is passed for both arguments.
Uses: