SpinParser  1.0
Public Member Functions | Public Attributes | List of all members
LatticeModelFactory::SpinModelUnitCell Struct Reference

Spin model unit cell representation. More...

#include <LatticeModelFactory.hpp>

Public Member Functions

 SpinModelUnitCell ()
 Construct an uninitialized spin model unit cell.
 
 SpinModelUnitCell (const std::string &modelName, const std::string &bundle, const std::map< std::string, std::string > &modelOptions)
 Construct a SpinModelUnitCell object and initialize it from a spin model specification with a given name, located in a given resource bundle (directory). The coupling strengths are initialized from the modelOptions argument. More...
 

Public Attributes

std::vector< SpinInteractioninteractions
 List of spin interactions in the unit cell.
 
std::set< std::string > interactionParameters
 List of interaction parameter names as used in the specification file.
 

Detailed Description

Spin model unit cell representation.

Constructor & Destructor Documentation

◆ SpinModelUnitCell()

LatticeModelFactory::SpinModelUnitCell::SpinModelUnitCell ( const std::string &  modelName,
const std::string &  bundle,
const std::map< std::string, std::string > &  modelOptions 
)

Construct a SpinModelUnitCell object and initialize it from a spin model specification with a given name, located in a given resource bundle (directory). The coupling strengths are initialized from the modelOptions argument.

Parameters
modelNameName of the model specification to search.
bundleDirectory to search for the model specification.
modelOptionsList of model options as specified in the task file, to initialize coupling strength.

The documentation for this struct was generated from the following files: