SpinParser  1.0
Classes | Functions
FrgCoreFactory.hpp File Reference

Factory function to create a new FrgCore. More...

#include <string>
#include <vector>
#include <map>
#include "FrgCore.hpp"
Include dependency graph for FrgCoreFactory.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  FrgCoreFactory::MeasurementSpecification
 Abstract specification of a measurement protocol. More...
 

Functions

FrgCoreFrgCoreFactory::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...
 

Detailed Description

Factory function to create a new FrgCore.

Author
Finn Lasse Buessen

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.

Function Documentation

◆ newFrgCore()

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.

Parameters
identifierString-form symmetry identifier, as specified in the task file.
modelSpin model used to determine the initial conditions of the flow.
measurementsMeasurement protocols to invoke during the execution of the core.
optionsString-form core modifiers as specified in the task file.
Returns
FrgCore* Pointer to the new FrgCore object.