Ian Jauslin
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jauslin <ian.jauslin@roma1.infn.it>2015-07-14 13:37:40 +0000
committerIan Jauslin <ian.jauslin@roma1.infn.it>2015-07-14 13:37:40 +0000
commit3b591888b5dad7cef02170743a92e2bf9c5831db (patch)
tree1f97e7b8e81877c73fe02390aeabd480f83e00a0
parentaa0f3ae2988d372b190b9bde2e75a6d17e744e93 (diff)
Fix a sign error in the definition of A and B in kondo_preprocessv1.2.1
The operators A and B introduced by kondo_preprocess had the wrong sign. This bug does not affect the beta function for the hierarchical Kondo model.
-rw-r--r--Makefile2
-rw-r--r--doc/meankondo-doc.html2
-rw-r--r--man/kondo_preprocess.12
-rw-r--r--man/meankondo.12
-rw-r--r--man/meantools-convert.12
-rw-r--r--man/meantools.12
-rw-r--r--man/numkondo.12
-rw-r--r--src/definitions.cpp2
-rw-r--r--src/kondo.c4
9 files changed, 12 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 4931175..79fee56 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@
# if static=1 then link libkondo statically but other libraries dynamically
STATIC=1
-VERSION=1.2
+VERSION=1.2.1
# products of the compilation
PROJECT_BINS= meankondo numkondo meantools kondo_preprocess meantools-convert
diff --git a/doc/meankondo-doc.html b/doc/meankondo-doc.html
index d1f0694..27ffbbb 100644
--- a/doc/meankondo-doc.html
+++ b/doc/meankondo-doc.html
@@ -72,7 +72,7 @@
<h1 style="margin-bottom:50pt;">meankondo <span style="margin-left:10pt;font-size:18pt">v1.2</span></h1>
<p>
- This is the official documentation for <b>meankondo</b>, version 1.2. The aim of this document is not to give a technical description of how to use the various programs bundled with <b>meankondo</b>, nor is it to explain where hierarchical models come from and what their meaning is, but rather a conceptual overview of how <b>meankondo</b> approaches the computation of flow equations, and how its programs can be made to interact with one another to compute various quantities. For a more technical description, see the man pages included with the <b>meankondo</b> source code. For a more theoretical discussion of Fermionic hierarchical models, see [G.Benfatto, G.Gallavotti, I.Jauslin, 2015].
+ This is the official documentation for <b>meankondo</b>, version 1.2. The aim of this document is not to give a technical description of how to use the various programs bundled with <b>meankondo</b>, nor is it to explain where hierarchical models come from and what their meaning is, but rather a conceptual overview of how <b>meankondo</b> approaches the computation of flow equations, and how its programs can be made to interact with one another to compute various quantities. For a more technical description, see the man pages included with the <b>meankondo</b> source code. For a more theoretical discussion of Fermionic hierarchical models, see <a href="http://ian.jauslin.org/publications/15bgj">[G.Benfatto, G.Gallavotti, I.Jauslin, 2015]</a>.
</p>
<h2 style="margin-top:50pt;">Table of contents</h2>
diff --git a/man/kondo_preprocess.1 b/man/kondo_preprocess.1
index cb37cd3..5ec1399 100644
--- a/man/kondo_preprocess.1
+++ b/man/kondo_preprocess.1
@@ -1,5 +1,5 @@
.Dd $Mdocdate: April 14 2015 $
-.Dt kondo_preprocess 1.2
+.Dt kondo_preprocess 1.2.1
.Os
.Sh NAME
.Nm kondo_preprocess
diff --git a/man/meankondo.1 b/man/meankondo.1
index ea4814b..f7a0290 100644
--- a/man/meankondo.1
+++ b/man/meankondo.1
@@ -1,5 +1,5 @@
.Dd $Mdocdate: April 13 2015 $
-.Dt meankondo 1.2
+.Dt meankondo 1.2.1
.Os
.Sh NAME
.Nm meankondo
diff --git a/man/meantools-convert.1 b/man/meantools-convert.1
index f29d877..fe021bb 100644
--- a/man/meantools-convert.1
+++ b/man/meantools-convert.1
@@ -1,5 +1,5 @@
.Dd $Mdocdate: June 12 2015 $
-.Dt meantools-convert 1.2
+.Dt meantools-convert 1.2.1
.Os
.Sh NAME
.Nm meantools-convert
diff --git a/man/meantools.1 b/man/meantools.1
index 1849326..30eb3ff 100644
--- a/man/meantools.1
+++ b/man/meantools.1
@@ -1,5 +1,5 @@
.Dd $Mdocdate: April 14 2015 $
-.Dt meantools 1.2
+.Dt meantools 1.2.1
.Os
.Sh NAME
.Nm meantools
diff --git a/man/numkondo.1 b/man/numkondo.1
index 7406a80..d1ae065 100644
--- a/man/numkondo.1
+++ b/man/numkondo.1
@@ -1,5 +1,5 @@
.Dd $Mdocdate: April 14 2015 $
-.Dt numkondo 1.2
+.Dt numkondo 1.2.1
.Os
.Sh NAME
.Nm numkondo
diff --git a/src/definitions.cpp b/src/definitions.cpp
index d32537d..982f7a7 100644
--- a/src/definitions.cpp
+++ b/src/definitions.cpp
@@ -17,7 +17,7 @@ limitations under the License.
#ifndef DEFINITIONS_GCC
#define DEFINITIONS_GCC
-#define VERSION "1.2"
+#define VERSION "1.2.1"
// number of entries in a configuration file
#define ARG_COUNT 10
diff --git a/src/kondo.c b/src/kondo.c
index c86b4b3..39d74bb 100644
--- a/src/kondo.c
+++ b/src/kondo.c
@@ -1039,6 +1039,8 @@ int kondo_resolve_ABh(char* str, Polynomial* output, Fields_Table fields){
polynomial_conjugate(poly_conjugate);
polynomial_multiply_scalar(poly_conjugate, pauli_mat.matrix[a][b]);
polynomial_prod_chain(psi[a],&poly_conjugate,fields);
+ // correct sign: psi[a]^+ should be on the left of psi[b]^-
+ polynomial_multiply_Qscalar(poly_conjugate,quot(-1,1));
// add to poly
polynomial_concat_noinit(poly_conjugate, output);
}
@@ -1235,6 +1237,8 @@ int kondo_polynomial_vector(int offset, int index, Polynomial (*polys)[3], Field
polynomial_conjugate(poly_conjugate);
polynomial_multiply_scalar(poly_conjugate, pauli_mat.matrix[a][b]);
polynomial_prod_chain(psi[a],&poly_conjugate,fields);
+ // correct sign: psi[a]^+ should be on the left of psi[b]^-
+ polynomial_multiply_Qscalar(poly_conjugate,quot(-1,1));
// add to polys[j]
polynomial_concat_noinit(poly_conjugate, (*polys)+i);
}