SRGGW/Sanibel_2023/fig/square.tex

63 lines
2.6 KiB
TeX

\documentclass{standalone}
\usepackage{graphicx,bm,microtype,hyperref,algpseudocode,subfigure,algorithm,algorithmicx,multirow,footnote,xcolor,physics,lipsum,wasysym}
\definecolor{darkgreen}{RGB}{0, 180, 0}
\newcommand{\red}[1]{\textcolor{red}{#1}}
\newcommand{\purple}[1]{\textcolor{purple}{#1}}
\newcommand{\orange}[1]{\textcolor{orange}{#1}}
\newcommand{\green}[1]{\textcolor{darkgreen}{#1}}
\newcommand{\blue}[1]{\textcolor{blue}{#1}}
\newcommand{\pub}[1]{\textcolor{purple}{#1}}
\newcommand{\violet}[1]{\textcolor{violet}{#1}}
\usepackage{tikz}
\usetikzlibrary{arrows,positioning,shapes.geometric}
\usetikzlibrary{decorations.pathmorphing}
\usetikzlibrary{decorations.pathreplacing}
\tikzset{snake it/.style={
decoration={snake,
amplitude = .4mm,
segment length = 2mm},decorate}
}
\begin{document}
%%% FIGURE 1 %%%
\begin{tikzpicture}
\begin{scope}[very thick,
node distance=2.5cm,on grid,>=stealth',
GOp/.style={circle,draw,fill=yellow!40},
POp/.style={circle,draw,fill=orange!40},
WOp/.style={circle,draw,fill=red!40},
SigOp/.style={circle,draw,fill=violet!40},
DeadOp/.style={circle,draw,fill=gray!40,opacity=0.4},
Input/.style={fill=white!40},
Output/.style={fill=white!40}]
\node [GOp, align=center] (G) at (3*0.587785, 3*0.809017) {$G$};
\node [DeadOp, align=center] (Gamma) at (3*0.951057, -3*0.309017) {$\Gamma$};
\node [POp, align=center] (P) at (3*0, -3*1.00000) {$P$};
\node [WOp, align=center] (W) at (-3*0.951057, -3*0.309017) {$W$};
\node [SigOp, align=center] (Sigma) at (-3*0.587785, 3*0.809017) {$\Sigma$};
\node [Input, align=center] (In) [above=of G] {};
\node [Output, align=center] (Out) [above=of Sigma] {};
\node [Input, align=center] (In) [above=of G] {In};
\node [Output, align=center] (Out) [above=of Sigma] {Out};
\path
(G) edge [->,color=gray!50] node [above,sloped,gray!50] {$\Gamma = 1 + \fdv{\Sigma}{G} GG \Gamma$} (Gamma)
(Gamma) edge [->,color=gray!50] node [below,sloped,gray!50] {$P = - i GG \Gamma$} (P)
(P) edge [->,color=black] node [above,sloped,black] {$W = v + vPW$} (W)
(W) edge [->,color=black] node [above,sloped,black] {$\Sigma = i GW$} (Sigma)
(Sigma) edge [->,color=black] node [above,sloped,black] {$G = G_0 + G_0 \Sigma G$} (G)
(G) edge [->,color=black] node [above,sloped,black] {$P = - i GG$} (P)
(In) edge [->,color=black] node [above,sloped,black] {$\varepsilon^\text{HF/KS}$} (G)
(Sigma) edge [->,color=black] node [above,sloped,black] {$\varepsilon^\text{GW}$} (Out)
;
\end{scope}
\end{tikzpicture}
%%% %%%
\end{document}