template<typename ObservableTensorTagsList, typename NonTensorComputeTagsList = tmpl::list<>, typename ArraySectionIdTag = void>
class Events::ObserveAtExtremum< ObservableTensorTagsList, NonTensorComputeTagsList, ArraySectionIdTag >
Find the extremum of a Scalar<DataVector> over all elements, as well as the value of other functions at the location of that extremum.
Here is an example of an input file:
R"(
ObserveAtExtremum:
SubfileName: reduction0
TensorsToObserve:
Name: Var0
ExtremumType: Max
AdditionalData:
- Var0
- Var1
)");
- Array sections
- This event supports sections (see Parallel::Section). Set the ArraySectionIdTag template parameter to split up observations into subsets of elements. The observers::Tags::ObservationKey<ArraySectionIdTag> must be available in the DataBox. It identifies the section and is used as a suffix for the path in the output file.