summaryrefslogtreecommitdiff
path: root/examples/include/correlation.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/include/correlation.hpp')
-rw-r--r--examples/include/correlation.hpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/examples/include/correlation.hpp b/examples/include/correlation.hpp
deleted file mode 100644
index da8ab7f..0000000
--- a/examples/include/correlation.hpp
+++ /dev/null
@@ -1,23 +0,0 @@
-
-#pragma once
-
-#include <wolff/types.h>
-#include <wolff/state.hpp>
-
-#include <fftw3.h>
-
-template <class X_t>
-double correlation_length(const std::vector<typename X_t::F_t>& ReF, const std::vector<typename X_t::F_t>& ImF, D_t D) {
- double total = 0;
-
-#ifdef DIMENSION
- for (D_t j = 0; j < DIMENSION; j++) {
-#else
- for (D_t j = 0; j < D; j++) {
-#endif
- total += norm_squared(ReF[j]) + norm_squared(ImF[j]);
- }
-
- return total / D;
-}
-