1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifndef WOLFF_MEASUREMENTS_H
#define WOLFF_MEASUREMENTS_H
#include "system.hpp"
namespace wolff {
template <class R_t, class X_t>
class measurement {
public:
virtual void pre_cluster(N_t, N_t, const system<R_t, X_t>&, v_t, const R_t&) = 0;
virtual void plain_bond_visited(const system<R_t, X_t>&, v_t, const X_t&, v_t, double) = 0;
virtual void plain_site_transformed(const system<R_t, X_t>&, v_t, const X_t&) = 0;
#ifndef WOLFF_NO_FIELD
virtual void ghost_bond_visited(const system<R_t, X_t>&, v_t, const X_t&, const X_t&, double) = 0;
virtual void ghost_site_transformed(const system<R_t, X_t>&, const R_t&) = 0;
#endif
virtual void post_cluster(N_t, N_t, const system<R_t, X_t>&) = 0;
};
}
#endif
|