From 3b591888b5dad7cef02170743a92e2bf9c5831db Mon Sep 17 00:00:00 2001 From: Ian Jauslin Date: Tue, 14 Jul 2015 13:37:40 +0000 Subject: [PATCH] Fix a sign error in the definition of A and B in kondo_preprocess 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. --- Makefile | 2 +- doc/meankondo-doc.html | 2 +- man/kondo_preprocess.1 | 2 +- man/meankondo.1 | 2 +- man/meantools-convert.1 | 2 +- man/meantools.1 | 2 +- man/numkondo.1 | 2 +- src/definitions.cpp | 2 +- src/kondo.c | 4 ++++ 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 @@

meankondo v1.2

- This is the official documentation for meankondo, version 1.2. The aim of this document is not to give a technical description of how to use the various programs bundled with meankondo, nor is it to explain where hierarchical models come from and what their meaning is, but rather a conceptual overview of how meankondo 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 meankondo 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 meankondo, version 1.2. The aim of this document is not to give a technical description of how to use the various programs bundled with meankondo, nor is it to explain where hierarchical models come from and what their meaning is, but rather a conceptual overview of how meankondo 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 meankondo source code. For a more theoretical discussion of Fermionic hierarchical models, see [G.Benfatto, G.Gallavotti, I.Jauslin, 2015].

Table of contents

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); }