Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
AMSContourExtractor.h
Go to the documentation of this file.
1#ifndef AMSCONTOUREXTRACTOR_H
2#define AMSCONTOUREXTRACTOR_H
3
4#include <utility>
5
6#include "IContourExtractor.h"
7#include "ContourObserver.h"
8#include "Math.h"
9
42public:
50 : on_progress_(std::move(on_progress)) {}
51
58 Contour extract(const ScalarField2D& field, const ContourRequest& cr) override;
59private:
60 ContourProgressCallback on_progress_;
61};
62
63#endif // AMSCONTOUREXTRACTOR_H
Progress-event types and callback interface for contour extraction.
std::function< void(const ContourProgressEvent &)> ContourProgressCallback
Callback signature used to receive contour progress events.
Common data structures and interface for 2D contour extraction.
Extracts iso-contours using an adaptive marching-squares backend.
Contour extract(const ScalarField2D &field, const ContourRequest &cr) override
Extracts contour paths from a scalar field.
AMSContourExtractor(ContourProgressCallback on_progress={})
Constructs an AMS contour extractor.
Abstract interface for algorithms extracting 2D contour paths.
std::function< double(double, double)> ScalarField2D
Definition contour.h:17
Hash specialization for SymbolId<Tag>.
Definition BlockName.h:353
Input configuration for a two-dimensional contour extraction.
Output of a contour extraction algorithm.