diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2020-02-18 18:59:05 -0500 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2020-02-18 18:59:05 -0500 |
commit | 3a3f2dd3b2c47d9d89ed29b7039e39626f2dcf72 (patch) | |
tree | c44e9ab0057bb2bc2c8ec4794dfb4b5b6fb8cd30 /measurement.hpp | |
parent | 2ebf2f181edac37bfb932dbb353101e37e97223a (diff) | |
download | space_wolff-3a3f2dd3b2c47d9d89ed29b7039e39626f2dcf72.tar.gz space_wolff-3a3f2dd3b2c47d9d89ed29b7039e39626f2dcf72.tar.bz2 space_wolff-3a3f2dd3b2c47d9d89ed29b7039e39626f2dcf72.zip |
Cleaned up Transformation system and sped things up generally
Diffstat (limited to 'measurement.hpp')
-rw-r--r-- | measurement.hpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/measurement.hpp b/measurement.hpp new file mode 100644 index 0000000..02fde9c --- /dev/null +++ b/measurement.hpp @@ -0,0 +1,20 @@ +#pragma once + +#include "spin.hpp" +#include "transformation.hpp" + +template <class U, int D, class R, class S> class Model; + +template <class U, int D, class R, class S> class measurement { +public: + virtual void pre_cluster(const Model<U, D, R, S>&, unsigned, const Transformation<U, D, R, S>*){}; + virtual void plain_bond_visited(const Model<U, D, R, S>&, const Spin<U, D, S>*, + const Spin<U, D, S>*, const Spin<U, D, S>&, double){}; + virtual void plain_site_transformed(const Model<U, D, R, S>&, const Transformation<U, D, R, S>&){}; + + virtual void ghost_bond_visited(const Model<U, D, R, S>&, const Spin<U, D, S>&, + const Spin<U, D, S>&, double){}; + virtual void ghost_site_transformed(const Model<U, D, R, S>&, const R&){}; + + virtual void post_cluster(const Model<U, D, R, S>&){}; +}; |