4 #include <gsl/gsl_rng.h>
6 #include "latlib/neigh.h"
8 class sim : public o815::sim {
27 sim::sim(o815 *_O815) : o815::sim( _O815,
29 (_O815->comargs.lsize[0]*_O815->comargs.lsize[0]*_O815->comargs.lsize[0]*_O815->comargs.lsize[1]) ) {
30 conf = (siteconf*)confMem;
31 LSIZE4 = _O815->comargs.lsize[0] * _O815->comargs.lsize[0] * _O815->comargs.lsize[0] * _O815->comargs.lsize[1];
33 rangsl = gsl_rng_alloc(gsl_rng_ranlxs0);
34 gsl_rng_set(rangsl, time(NULL));
36 nb = new neigh(4, _O815->comargs.lsize[0], _O815->comargs.lsize[0], _O815->comargs.lsize[0], _O815->comargs.lsize[1]);
39 void sim::_makeSweep() {
42 void sim::_newParas() {