Ising Model¶
-
class
IsingGenericVectorValuedObs
¶ Public Functions
-
template<class
StateSpace
, classGrid
>
std::vector<double>measure
(const StateSpace &statespace, const Grid &grid)¶
-
template<class
-
template<typename
SpinType
= int>
classIsing
¶ - #include <Ising.h>
Ising Hamiltonian This defines the Ising Hamiltonian.
It only consists of a single part, namely the interaction.
- Template Parameters
SpinType
: the type in which to store the binary magnetization values.
Public Functions
-
Ising
(double J)¶
-
~Ising
()¶
-
template<class
StateSpace
, classLattice
, classRNG
>
voidinitstatespace
(StateSpace &statespace, Lattice &grid, RNG &rng) const¶
Public Members
-
double
J
¶
-
const std::string
name
= "Ising"¶
-
std::array<Standard_Interaction<StateVector>*, 1>
interactions
= {new Standard_Interaction<StateVector>(J)}¶
-
Magnetization
obs_m
¶
Public Static Attributes
-
constexpr int
SymD
= 1¶
-
namespace
MARQOV
The MARQOV namespace.
This namespace collects all things that are related to MARQOV.
-
template<class
Lattice
>
structWolff
<Ising<int>, Lattice>¶ - #include <Ising.h>
Specialization of the Wolff algorithm for the Ising model.
The principle structure is identical to the general version of the algorithm See wolff.h for details
Public Static Functions
-
template<class
RNG
, classStateSpace
>
intmove
(const Ising<int> &ham, const Lattice &grid, StateSpace &statespace, RNG &rng, double beta, int rsite)¶
-
template<class
-
template<class