SpinParser
1.0
|
Factory function to create a new FrgCore. More...
Go to the source code of this file.
Classes | |
struct | FrgCoreFactory::MeasurementSpecification |
Abstract specification of a measurement protocol. More... | |
Functions | |
FrgCore * | FrgCoreFactory::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. More... | |
Factory function to create a new FrgCore.
For the implementation of custom FrgCores, the FrgCoreFactory::newFrgCore routine should be extended such that it can recignize an identifier for the custom FrgCore and create an instance thereof accordingly.
FrgCore * FrgCoreFactory::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.
identifier | String-form symmetry identifier, as specified in the task file. |
model | Spin model used to determine the initial conditions of the flow. |
measurements | Measurement protocols to invoke during the execution of the core. |
options | String-form core modifiers as specified in the task file. |