A parallel C++ Library for Simulations in the Heisenberg Model
Classes | Namespaces | Typedefs | Functions
simulation.h File Reference
#include <random>
#include <thrust/reduce.h>
#include <thrust/execution_policy.h>
#include "model/ising/ising.h"
Include dependency graph for simulation.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  HB::MetropolisSimulation
 
class  HB::MetropolisSimulationQt
 
class  HB::SimulatedAnnealing
 

Namespaces

 HB
 

Typedefs

using HB::Models = std::vector< std::unique_ptr< HB::Model > >
 

Functions

template<typename T >
HB::mean (const std::vector< T > &o)
 calculates the mean value of a standard vector \(\mu = \sum_i o_i\) More...
 
template<typename T >
HB::covFunc (const size_t t, const std::vector< T > &o)
 calculates the covariance function up to a certain index of a standard vector More...
 
template<typename T >
HB::intAuto (const std::vector< T > &o)
 calculates the integrated autocorrelation time of a standard vector More...
 
template<typename T >
HB::error (const std::vector< T > &o)
 calculates the standard error (standard deviation) of a standard vector More...
 
template<typename T >
HB::blockingError (const std::vector< T > &o, const size_t block_number)
 calculates the blocking error of a standard vector More...
 
template<typename T >
HB::bootstrapError (const std::vector< T > &o, const size_t sample_size, const size_t sample_number, const T tau)
 calculates the bootstrap error of a standard vector More...
 
template<typename T >
HB::errorProp (const std::vector< T > &o, const T tau)
 calculates the error based on error propagation of a standard vector More...
 
template<typename T >
HB::errorPropEnergy (const std::vector< T > &energies, const T beta, const T tau, const size_t V)
 calculates the statistical error on energies using error propagation More...
 
template<typename T >
HB::errorPropMagnetization (const std::vector< T > &magn, const T beta, const T tau, const size_t V)
 calculates the statistical error on magnetizations (magn) using error propagation More...
 
template<typename T >
size_t HB::d2i (const T d)
 rounds a floating point value to an integer More...
 
template<typename T >
void HB::removeCorr (const std::vector< T > &o)
 removes correlation from a standard vector More...
 
template<typename T >
HB::specificHeat (const std::vector< T > &energies, const T beta, const size_t V)
 computes the specific heat per Volume as secondary quantity for a given vector of energies More...
 
template<typename T >
HB::magnSusz (const std::vector< T > &magn, const T beta, const size_t V)
 computes the magnetic suszeptibility per Volume as secondary quantity for a given vector of magnetizations More...
 
void HB::simulate (const Models &models)