X-Git-Url: http://git.treefish.org/~alex/phys/u1casc.git/blobdiff_plain/2e386c299748632e6d8cfc9da61f0148b58ae917..45dcb3cf6f028b2d2087e0c9fd4128ec2f18971d:/u1casc-ordinary/sim.hpp?ds=sidebyside diff --git a/u1casc-ordinary/sim.hpp b/u1casc-ordinary/sim.hpp index f88e650..986ae37 100644 --- a/u1casc-ordinary/sim.hpp +++ b/u1casc-ordinary/sim.hpp @@ -18,10 +18,11 @@ public: neigh *nb; complex *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& candPhi); double rhoU(const int& x0, const int& nu0, const complex& candU); @@ -60,7 +61,9 @@ void sim::_newParas() { lambda[0] = (*O815->paraQ)["lambdaone"]; lambda[1] = (*O815->paraQ)["lambdatwo"]; beta = (*O815->paraQ)["beta"]; +} +void sim::_resetConfig() { for(int ix=0; ix