objsimschema2.tex 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. %\documentclass[english,onecolumn,final]{svjour2}
  2. \documentclass{article}
  3. \usepackage{graphicx}
  4. \usepackage{tikz}
  5. \usepackage{pgflibraryshapes}
  6. \usetikzlibrary {shapes}
  7. \usepackage{calc}
  8. \usepackage{color}
  9. \definecolor{invisible}{gray}{1.0}
  10. \definecolor{green}{rgb}{0.0,1.0,0.0}
  11. %\input{commands.tex}
  12. %define counters
  13. \newcounter{mynum}
  14. %\renewcommand\normalsize{\fontsize{20pt}{20pt}\selectfont}
  15. \setlength{\textwidth}{20cm}
  16. \setlength{\textheight}{30cm}
  17. \pagenumbering{arabic} % but no page numbers are printed because:
  18. \pagestyle{empty} % this is actually already in the kernel
  19. \newcommand{\MainDocDir}{..}
  20. \begin{document}
  21. \newcommand{\texpic}{
  22. \begin{tikzpicture}
  23. \draw (0,0) node (gui) [shape=rectangle,draw, minimum width=2cm, minimum height=1cm] {\parbox{4cm}{\center GUI (tcl/tk) \\ simcontrol\_$<$simname$>$.tcl}} ;
  24. \draw (gui.south) ++(-4,-2) node (sh) [shape=rectangle,draw,anchor=north] {\parbox{2.5cm}{\center start/stop (sh)\\startsim}};
  25. \draw[-latex] (gui) -- (sh.north) node [midway,sloped,above]{command line} node[midway,sloped,below] {parameters};
  26. \draw (sh.south) ++(0,-1) node (sim) [shape=rectangle,draw,anchor=north] {\parbox{2cm}{\center simulation \\ (c++)}};
  27. \draw[-latex] (sh)--(sim);
  28. \draw (sim.east) ++(0.5,0) node (data) [shape=rectangle,draw,anchor=west] {\parbox{3cm}{\center simulation data\\(\$HOME/data/...)}} ;
  29. \draw[-latex] (sim)--(data);
  30. \draw (data.east) ++(0.5,0) node (vis) [shape=rectangle,draw,anchor=west] {\parbox{2cm}{\center visalization\\(IDL)}} ;
  31. \draw[-latex] (data)--(vis);
  32. \draw[-latex] (gui)--(vis);
  33. \draw[-latex,dashed] (sim) .. controls +(40:3cm) and +(0,-1) .. (gui) node [sloped,pos=0.4,below] {mytksend};
  34. \draw (sim.west) ++(-1,0) node (cfgfile) [draw,anchor=east] {\parbox{4cm}{\center config file \\ settings\_$<$simname$>$.cfg}};
  35. \draw[-latex] (cfgfile) -- (sim);
  36. \draw[-latex] (sim) .. controls +(0,-2) and +(0,-2) .. (cfgfile) node [midway,below]{MakeDefaultConfig};
  37. \draw[-latex] (cfgfile) .. controls +(0,5) and +(-3,0) .. (gui);
  38. \end{tikzpicture}
  39. }
  40. \color{invisible}
  41. .\\
  42. .
  43. \color{black}
  44. \texpic
  45. \color{invisible}
  46. .
  47. \end{document}