X-Git-Url: http://git.treefish.org/~alex/phys/heatbath.git/blobdiff_plain/628f4432052ed72944d5cf663c0cde4da9ac6d56..0f8b9f29fdcc92049803e88be1c9524d6d0d6fab:/sim-nor.hpp diff --git a/sim-nor.hpp b/sim-nor.hpp index a15547b..b67f8a7 100644 --- a/sim-nor.hpp +++ b/sim-nor.hpp @@ -17,14 +17,15 @@ public: sim(o815 *_O815); siteconf* conf; unsigned int LSIZE2; + double M; + double m; + neigh *nb; private: void _makeSweep(); void _newParas(); gsl_rng* rangsl; - neigh *nb; int updatePhi (const int& x); - double M; double SofPhi(const int& x, const complex& phix); double rhoPhi(const int& x, const complex& phixCandidate); }; @@ -52,6 +53,7 @@ void sim::_makeSweep() { } void sim::_newParas() { + m = (*O815->paraQ)["mass"]; M = pow( (*O815->paraQ)["mass"], 2 ) + 4; *log << "SIM: Resetting fields." << endl << flush;