summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2019-11-26 13:55:17 -0500
committerJaron Kent-Dobias <jaron@kent-dobias.com>2019-11-26 13:55:17 -0500
commite04d2d074c5337e92d9cc8e44e7e62c9708d4092 (patch)
treeedd243d0ad9bc5c45ca88f73c5ab0dc8e37f3b6d
parente469017c8ed33e3571da265f63cd0e64576daf2f (diff)
downloadspace_wolff-e04d2d074c5337e92d9cc8e44e7e62c9708d4092.tar.gz
space_wolff-e04d2d074c5337e92d9cc8e44e7e62c9708d4092.tar.bz2
space_wolff-e04d2d074c5337e92d9cc8e44e7e62c9708d4092.zip
ran clang-format
-rw-r--r--space_wolff.hpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/space_wolff.hpp b/space_wolff.hpp
index cc4cd4f..211e647 100644
--- a/space_wolff.hpp
+++ b/space_wolff.hpp
@@ -138,7 +138,7 @@ public:
void insert(Spin<T, D, S>* s) { data[ind(s->x)].insert(s); };
- void remove( Spin<T, D, S>* s) { data[ind(s->x)].erase(s); };
+ void remove(Spin<T, D, S>* s) { data[ind(s->x)].erase(s); };
std::set<Spin<T, D, S>*> neighbors(const Vector<T, D>& x, unsigned depth) const {
std::set<Spin<T, D, S>*> ns;
@@ -251,10 +251,12 @@ template <class U, int D, class S>
public:
virtual void pre_cluster(const Model<U, D, S>&, unsigned, const Euclidean<U, D>&) {};
virtual void plain_bond_visited(const Model<U, D, S>&, const X_t&, double) {};
- virtual void plain_site_transformed(const system<R_t, X_t, G_t>&, const typename G_t::vertex& v, const X_t&) {};
+ virtual void plain_site_transformed(const system<R_t, X_t, G_t>&, const typename G_t::vertex&
+v, const X_t&) {};
- virtual void ghost_bond_visited(const system<R_t, X_t, G_t>&, const typename G_t::vertex& v, const X_t&, const X_t&, double) {};
- virtual void ghost_site_transformed(const system<R_t, X_t, G_t>&, const R_t&) {};
+ virtual void ghost_bond_visited(const system<R_t, X_t, G_t>&, const typename G_t::vertex& v,
+const X_t&, const X_t&, double) {}; virtual void ghost_site_transformed(const system<R_t, X_t,
+G_t>&, const R_t&) {};
virtual void post_cluster(unsigned, unsigned, const system<R_t, X_t, G_t>&) {};
};
@@ -352,7 +354,7 @@ public:
E = 0;
for (unsigned i = 0; i < s.size(); i++) {
for (unsigned j = 0; j < i; j++) {
- E -= Z(s[i], s[j]);
+ E -= Z(s[i], s[j]);
}
E -= B(s0.inverse().act(s[i]));