Ising Model
-
class IsingGenericVectorValuedObs
Public Functions
-
template<class StateSpace, class Grid>
inline std::vector<double> measure(const StateSpace &statespace, const Grid &grid)
-
template<class StateSpace, class Grid>
-
template<typename SpinType = int>
class Ising - #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
-
inline Ising(double J)
-
inline ~Ising()
-
template<class StateSpace, class Lattice, class RNG>
inline void initstatespace(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
-
static constexpr int SymD = 1
-
namespace MARQOV
The MARQOV namespace.
This namespace collects all things that are related to MARQOV.
-
template<class Lattice>
struct Wolff<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, class StateSpace>
static inline int move(const Ising<int> &ham, const Lattice &grid, StateSpace &statespace, RNG &rng, double beta, int rsite)
-
template<class RNG, class StateSpace>
-
template<class Lattice>