Go to the documentation of this file.
   16 namespace LatticeModelFactory
 
  138         LatticeUnitCell(
const std::string &latticeName, 
const std::string &bundle);
 
  152         bool _initFromResBundle(
const std::string &latticeName, 
const std::string &bundle);
 
  225         SpinModelUnitCell(
const std::string &modelName, 
const std::string &bundle, 
const std::map<std::string, std::string> &modelOptions);
 
  240         bool _initFromResBundle(
const std::string &modelName, 
const std::string &bundle, 
const std::map<std::string, std::string> &modelOptions);
 
  
Representation of a two-spin interaction.
Definition: LatticeModelFactory.hpp:158
 
LatticeSite to
Site to which the interaction couples.
Definition: LatticeModelFactory.hpp:202
 
Representation of a lattice unit cell.
Definition: LatticeModelFactory.hpp:123
 
std::vector< geometry::Vec3< double > > basisSites
List of all basis site positions.
Definition: LatticeModelFactory.hpp:141
 
LatticeUnitCell()
Construct an unitialized lattice unit cell.
Definition: LatticeModelFactory.cpp:100
 
SpinModelUnitCell()
Construct an uninitialized spin model unit cell.
Definition: LatticeModelFactory.cpp:237
 
float interactionStrength[3][3]
Interaction strength, encoded as interactionStrength[s1][s2], where s1 is the x, y,...
Definition: LatticeModelFactory.hpp:203
 
std::vector< LatticeSite > getOtherEnd(const LatticeSite &site) const
Given one lattice site, determine the other site which the bond is connected to. If the site is conne...
Definition: LatticeModelFactory.cpp:84
 
bool isAttachedToSite(const LatticeSite &site) const
Determine whether the lattice bond is attached to a specified site.
Definition: LatticeModelFactory.cpp:65
 
int da2
Difference of the two connecting sites in units of the third Bravais lattice vector.
Definition: LatticeModelFactory.hpp:117
 
SpinInteraction()
Construct an uninitialized spin interaction object.
Definition: LatticeModelFactory.cpp:185
 
int toB
Basis index of the site which the bond connects to.
Definition: LatticeModelFactory.hpp:114
 
int fromB
Basis index of the site from which the bond emanates.
Definition: LatticeModelFactory.hpp:113
 
Representation of a physical lattice.
 
SpinInteraction & operator+=(const SpinInteraction &rhs)
Addition assignment operator. Adds the interaction strength of a second SpinInteraction object descri...
Definition: LatticeModelFactory.cpp:208
 
bool operator==(const LatticeSite &rhs) const
Comparison operator.
Definition: LatticeModelFactory.cpp:43
 
int a2
Coordinate in units of the third Bravais lattice vector.
Definition: LatticeModelFactory.hpp:57
 
bool isConnectingFromTo(const LatticeSite &siteFrom, const LatticeSite &siteTo) const
Determine whether the lattice bond is connecting two specified sites, checking also the orientation o...
Definition: LatticeModelFactory.cpp:78
 
LatticeBond(const int fromB, const int toB, const int da0, const int da1, const int da2)
Construct a well-defined lattice bond object.
Definition: LatticeModelFactory.cpp:56
 
int a0
Coordinate in units of the first Bravais lattice vector.
Definition: LatticeModelFactory.hpp:55
 
LatticeSite()
Construct an uninitialized lattice site object.
Definition: LatticeModelFactory.cpp:27
 
Representation of a spin model with two-spin interactions.
 
int isConnectingSites(const LatticeSite &site1, const LatticeSite &site2) const
Determine whether the spin interaction couples two lattice sites, neglecting its orientation.
Definition: LatticeModelFactory.cpp:201
 
int da1
Difference of the two connecting sites in units of the second Bravais lattice vector.
Definition: LatticeModelFactory.hpp:116
 
int b
Basis site index.
Definition: LatticeModelFactory.hpp:58
 
std::pair< Lattice *, SpinModel * > newLatticeModel(const LatticeModelFactory::LatticeUnitCell &uc, const LatticeModelFactory::SpinModelUnitCell &spinModelDefinition, const int latticeRange, const std::string &ldfPath)
Create and return lattice and spin model objects from given unit cell definitions.
Definition: LatticeModelFactory.cpp:733
 
Representation of a lattice bond.
Definition: LatticeModelFactory.hpp:64
 
bool isConnectingFromTo(const LatticeSite &siteFrom, const LatticeSite &siteTo) const
Determine whether the spin interaction couples two lattice sites.
Definition: LatticeModelFactory.cpp:195
 
LatticeSite from
Site from which the interaction emanates.
Definition: LatticeModelFactory.hpp:201
 
int a1
Coordinate in units of the second Bravais lattice vector.
Definition: LatticeModelFactory.hpp:56
 
std::vector< SpinInteraction > interactions
List of spin interactions in the unit cell.
Definition: LatticeModelFactory.hpp:227
 
Representation of a Lattice site.
Definition: LatticeModelFactory.hpp:21
 
bool isConnectingSites(const LatticeSite &site1, const LatticeSite &site2) const
Determine whether the lattice bond is connecting two specified sites, ignoring the orientation of the...
Definition: LatticeModelFactory.cpp:71
 
std::set< std::string > interactionParameters
List of interaction parameter names as used in the specification file.
Definition: LatticeModelFactory.hpp:228
 
bool operator!=(const LatticeSite &rhs) const
Negative comparison operator.
Definition: LatticeModelFactory.cpp:49
 
int da0
Difference of the two connecting sites in units of the first Bravais lattice vector.
Definition: LatticeModelFactory.hpp:115
 
std::vector< geometry::Vec3< double > > latticeVectors
List of the three Bravais lattice vectors.
Definition: LatticeModelFactory.hpp:140
 
std::vector< LatticeBond > latticeBonds
List of all lattice bonds.
Definition: LatticeModelFactory.hpp:142
 
Spin model unit cell representation.
Definition: LatticeModelFactory.hpp:209