From 2517e3987668f261e315660a593ad9549ab2ad11 Mon Sep 17 00:00:00 2001 From: houpc Date: Tue, 13 Feb 2024 20:51:39 +0800 Subject: [PATCH] improve readme --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8e11eacd..3fe33631 100644 --- a/README.md +++ b/README.md @@ -78,9 +78,10 @@ The example code below demonstrates how to build the renormalized Feynman diagra ```julia # Set the renormalization orders. The first element is the order of the Green's function counterterms, and the second element is the order of the interaction counterterms. julia> renormalization_orders = [2, 3]; +julia> perturbative_orders = [para.innerLoopNum, para.innerLoopNum]; # each corresponding to the Feynman diagram's perturbative order of graphs. # Generate the Dict of Graph for the renormalized self-energy diagrams with the Green's function counterterms and the interaction counterterms. -julia> dict_sigma = taylorAD(sigmadf.diagram, [para.innerLoopNum, para.innerLoopNum], renormalization_orders); +julia> dict_sigma = taylorAD(sigmadf.diagram, perturbative_orders, renormalization_orders); ``` ### Example: Compile Feynman diagrams to different programming languages