From 44b83cecee297360d18ef3cf96bf0e2a41c699af Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Sun, 21 Oct 2018 00:39:34 -0400 Subject: measurement virtual hooks now defined to be trivial by default --- lib/include/wolff/measurement.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib') diff --git a/lib/include/wolff/measurement.hpp b/lib/include/wolff/measurement.hpp index 59684fb..6e352a5 100644 --- a/lib/include/wolff/measurement.hpp +++ b/lib/include/wolff/measurement.hpp @@ -9,17 +9,17 @@ namespace wolff { template class measurement { public: - virtual void pre_cluster(N_t, N_t, const system&, v_t, const R_t&) = 0; + virtual void pre_cluster(N_t, N_t, const system&, v_t, const R_t&) {}; - virtual void plain_bond_visited(const system&, v_t, const X_t&, v_t, double) = 0; - virtual void plain_site_transformed(const system&, v_t, const X_t&) = 0; + virtual void plain_bond_visited(const system&, v_t, const X_t&, v_t, double) {}; + virtual void plain_site_transformed(const system&, v_t, const X_t&) {}; #ifndef WOLFF_NO_FIELD - virtual void ghost_bond_visited(const system&, v_t, const X_t&, const X_t&, double) = 0; - virtual void ghost_site_transformed(const system&, const R_t&) = 0; + virtual void ghost_bond_visited(const system&, v_t, const X_t&, const X_t&, double) {}; + virtual void ghost_site_transformed(const system&, const R_t&) {}; #endif - virtual void post_cluster(N_t, N_t, const system&) = 0; + virtual void post_cluster(N_t, N_t, const system&) {}; }; } -- cgit v1.2.3-70-g09d2