|
SpECTRE
v2025.08.19
|
A protocol for the type alias compute_target_points found in an InterpolationTargetTag.
More...
#include <ComputeTargetPoints.hpp>
Classes | |
| struct | test |
A protocol for the type alias compute_target_points found in an InterpolationTargetTag.
A struct conforming to the ComputeTargetPoints protocol must have
is_sequential that is either std::true_type or std::false_type which indicates if interpolations depend on previous interpolations' results. It is assumed in the interpolation framework that only horizon finds are sequential (e.y. anything that uses the intrp::Interpolator component is a sequential horizon find).frame that denotes the frame the target points are computed inpoints with signature matching the one in the example that will compute the points in the given frame (with or without the const & on the box argument).A struct that conforms to this protocol can optionally have any of these members as well:
simple_tags that list simple tags to be added to the DataBox of the InterpolationTargetcompute_tags that list compute tags to be added to the DataBox of the InterpolationTargetconst_global_cache_tags with tags to be put in the GlobalCacheinitialize with signature matching the one in the example that is run during the Initialization phase of the InterpolationTarget and can initialize any of the simple_tags added.Here is an example of a class that conforms to this protocols: