neigh *nb;
complex<double> *U, *phi;
double kappa[2], lambda[2], beta;
-
+ void _newParas();
+
private:
+ void _resetConfig();
void _makeSweep();
- void _newParas();
gsl_rng* rangsl;
double rhoPhi(const int& iphi, const int& x0, const complex<double>& candPhi);
double rhoU(const int& x0, const int& nu0, const complex<double>& candU);
lambda[0] = (*O815->paraQ)["lambdaone"];
lambda[1] = (*O815->paraQ)["lambdatwo"];
beta = (*O815->paraQ)["beta"];
+}
+void sim::_resetConfig() {
for(int ix=0; ix<lsize4; ix++) {
for(int i=0; i<2; i++) phi[ i*lsize4 + ix ] = 0;
for(int nu=0; nu<4; nu++) U[ ix*4 + nu ] = 1;