SpinParser  1.0
FrgCoreFactory.hpp
Go to the documentation of this file.
1 
10 #pragma once
11 #include <string>
12 #include <vector>
13 #include <map>
14 #include "FrgCore.hpp"
15 
16 namespace FrgCoreFactory
17 {
22  {
23  std::string identifier;
24  std::string output;
25  float minCutoff;
26  float maxCutoff;
27  bool defer;
28  std::vector<std::pair<std::string, std::string>> options;
29  };
30 
40  FrgCore *newFrgCore(const std::string &identifier, const SpinModel &model, const std::vector<MeasurementSpecification> &measurements, const std::map<std::string, std::string> &options);
41 }
FrgCoreFactory::MeasurementSpecification::defer
bool defer
Defer flag. If set to true, the measurement will only be invoked in the postprocessing stage.
Definition: FrgCoreFactory.hpp:27
FrgCoreFactory::MeasurementSpecification::maxCutoff
float maxCutoff
Maximal cutoff value for the protocol to be invoked.
Definition: FrgCoreFactory.hpp:26
FrgCoreFactory::MeasurementSpecification::minCutoff
float minCutoff
Minimal cutoff value for the protocol to be invoked.
Definition: FrgCoreFactory.hpp:25
FrgCore
Virtual implementation of a pf-FRG numerics core.
Definition: FrgCore.hpp:29
FrgCoreFactory::MeasurementSpecification::identifier
std::string identifier
String-form identifier of the measurement type, as specified in the task file.
Definition: FrgCoreFactory.hpp:23
FrgCore.hpp
Numerics core for pf-FRG calculations.
SpinModel
Spin model representation.
Definition: SpinModel.hpp:19
FrgCoreFactory::newFrgCore
FrgCore * newFrgCore(const std::string &identifier, const SpinModel &model, const std::vector< MeasurementSpecification > &measurements, const std::map< std::string, std::string > &options)
Create a new FrgCore for given symmetry identifier, spin model, and measurement protocols.
Definition: FrgCoreFactory.cpp:25
FrgCoreFactory::MeasurementSpecification::options
std::vector< std::pair< std::string, std::string > > options
String-form protocol modifiers as specified in the task file.
Definition: FrgCoreFactory.hpp:28
FrgCoreFactory::MeasurementSpecification::output
std::string output
Output file for the measurement results.
Definition: FrgCoreFactory.hpp:24
FrgCoreFactory::MeasurementSpecification
Abstract specification of a measurement protocol.
Definition: FrgCoreFactory.hpp:21