diff options
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>&){}; +}; |