From 3a3f2dd3b2c47d9d89ed29b7039e39626f2dcf72 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Tue, 18 Feb 2020 18:59:05 -0500 Subject: Cleaned up Transformation system and sped things up generally --- measurement.hpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 measurement.hpp (limited to 'measurement.hpp') 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 Model; + +template class measurement { +public: + virtual void pre_cluster(const Model&, unsigned, const Transformation*){}; + virtual void plain_bond_visited(const Model&, const Spin*, + const Spin*, const Spin&, double){}; + virtual void plain_site_transformed(const Model&, const Transformation&){}; + + virtual void ghost_bond_visited(const Model&, const Spin&, + const Spin&, double){}; + virtual void ghost_site_transformed(const Model&, const R&){}; + + virtual void post_cluster(const Model&){}; +}; -- cgit v1.2.3-54-g00ecf