--- /srv/rebuilderd/tmp/rebuilderd59FLej/inputs/code-saturne-doc_7.0.2+repack-1~exp1_all.deb +++ /srv/rebuilderd/tmp/rebuilderd59FLej/out/code-saturne-doc_7.0.2+repack-1~exp1_all.deb ├── file list │ @@ -1,3 +1,3 @@ │ -rw-r--r-- 0 0 0 4 2021-11-14 23:42:15.000000 debian-binary │ --rw-r--r-- 0 0 0 162296 2021-11-14 23:42:15.000000 control.tar.xz │ --rw-r--r-- 0 0 0 14885920 2021-11-14 23:42:15.000000 data.tar.xz │ +-rw-r--r-- 0 0 0 162220 2021-11-14 23:42:15.000000 control.tar.xz │ +-rw-r--r-- 0 0 0 14886300 2021-11-14 23:42:15.000000 data.tar.xz ├── control.tar.xz │ ├── control.tar │ │ ├── ./md5sums │ │ │ ├── ./md5sums │ │ │ │┄ Files differ ├── data.tar.xz │ ├── data.tar │ │ ├── file list │ │ │ @@ -3560,15 +3560,15 @@ │ │ │ -rw-r--r-- 0 root (0) root (0) 33388 2021-11-14 23:42:15.000000 ./usr/share/doc/code-saturne/doxygen/src/cs_ug_file_formats.html │ │ │ -rw-r--r-- 0 root (0) root (0) 26865 2021-11-14 23:42:15.000000 ./usr/share/doc/code-saturne/doxygen/src/cs_ug_mesh_prepare.html │ │ │ -rw-r--r-- 0 root (0) root (0) 20027 2021-11-14 23:42:15.000000 ./usr/share/doc/code-saturne/doxygen/src/cs_ug_mesh_select_c.html │ │ │ -rw-r--r-- 0 root (0) root (0) 18713 2021-11-14 23:42:15.000000 ./usr/share/doc/code-saturne/doxygen/src/cs_ug_output.html │ │ │ -rw-r--r-- 0 root (0) root (0) 12149 2021-11-14 23:42:15.000000 ./usr/share/doc/code-saturne/doxygen/src/cs_ug_parallel.html │ │ │ -rw-r--r-- 0 root (0) root (0) 9458 2021-11-14 23:42:15.000000 ./usr/share/doc/code-saturne/doxygen/src/cs_ug_quick_start.html │ │ │ -rw-r--r-- 0 root (0) root (0) 38946 2021-11-14 23:42:15.000000 ./usr/share/doc/code-saturne/doxygen/src/cs_ug_run_computation.html │ │ │ --rw-r--r-- 0 root (0) root (0) 113029 2021-11-14 23:42:15.000000 ./usr/share/doc/code-saturne/doxygen/src/cs_ug_studymanager.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 113031 2021-11-14 23:42:15.000000 ./usr/share/doc/code-saturne/doxygen/src/cs_ug_studymanager.html │ │ │ -rw-r--r-- 0 root (0) root (0) 22209 2021-11-14 23:42:15.000000 ./usr/share/doc/code-saturne/doxygen/src/cs_ug_udf.html │ │ │ -rw-r--r-- 0 root (0) root (0) 5636 2021-11-14 23:42:15.000000 ./usr/share/doc/code-saturne/doxygen/src/cs_ug_user_basics.html │ │ │ -rw-r--r-- 0 root (0) root (0) 7940 2021-11-14 23:42:15.000000 ./usr/share/doc/code-saturne/doxygen/src/cs_ug_user_settings.html │ │ │ -rw-r--r-- 0 root (0) root (0) 17691 2021-11-14 23:42:15.000000 ./usr/share/doc/code-saturne/doxygen/src/cs_user_atmospheric_model.html │ │ │ -rw-r--r-- 0 root (0) root (0) 21771 2021-11-14 23:42:15.000000 ./usr/share/doc/code-saturne/doxygen/src/cs_user_boundary_conditions_ale.html │ │ │ -rw-r--r-- 0 root (0) root (0) 6779 2021-11-14 23:42:15.000000 ./usr/share/doc/code-saturne/doxygen/src/cs_user_boundary_conditions_examples.html │ │ │ -rw-r--r-- 0 root (0) root (0) 12930 2021-11-14 23:42:15.000000 ./usr/share/doc/code-saturne/doxygen/src/cs_user_cooling_towers.html │ │ ├── ./usr/share/doc/code-saturne/doxygen/src/cs_ug_studymanager.html │ │ │ @@ -6115,951 +6115,951 @@ │ │ │ 00017e20: 6173 733d 226c 696e 6522 3e20 2020 2026 ass="line"> & │ │ │ 00017e30: 6c74 3b2f 3c73 7061 6e20 636c 6173 733d lt;/st │ │ │ 00017e50: 7564 793c 2f73 7061 6e3e 2667 743b 3c2f udy>.
Kj.R.
.
u..Q.U< │ │ │ -00017f10: 2f64 6976 3e0a 3c64 6976 2063 6c61 7373 /div>.
u. │ │ │ -00017f40: ee51 f055 3c2f 7370 616e 3e3c 2f64 6976 .Q.U
.
Kj.R.U │ │ │ -00017f80: 3c2f 7370 616e 3e3c 2f64 6976 3e0a 3c64
. │ │ │ -00017fa0: 3c73 7061 6e20 636c 6173 733d 2263 6f6d --> │ │ │ -00017fc0: 3c2f 7370 616e 3e3c 2f64 6976 3e0a 3c64
. │ │ │ -00017fe0: 266c 743b 2f3c 7370 616e 2063 6c61 7373 </s │ │ │ -00018000: 7475 6479 6d61 6e61 6765 723c 2f73 7061 tudymanager>
.

.How to add tex │ │ │ -00018070: 7420 696e 2061 2066 6967 7572 653f 3c2f t in a figure?.

It is pos │ │ │ -00018090: 7369 626c 6520 746f 2075 7365 2072 6177 sible to use raw │ │ │ -000180a0: 2063 6f6d 6d61 6e64 733a 203c 2f70 3e3c commands:

< │ │ │ -000180b0: 6469 7620 636c 6173 733d 2266 7261 676d div class="fragm │ │ │ -000180c0: 656e 7422 3e3c 6469 7620 636c 6173 733d ent">
<subplot id= │ │ │ -00018140: 2623 3339 3b33 3031 2623 3339 3b3c 2f73 '301' ylabe │ │ │ -00018170: 6c3c 2f73 7061 6e3e 203d 3c73 7061 6e20 l ='Locat │ │ │ -000181a0: 696f 6e20 2824 6d24 2926 2333 393b 3c2f ion ($m$)' titl │ │ │ -000181d0: 653c 2f73 7061 6e3e 3d3c 7370 616e 2063 e='Before │ │ │ -00018200: 206a 6574 202d 302e 3838 3526 2333 393b jet -0.885' │ │ │ -00018210: 3c2f 7370 616e 3e20 3c73 7061 6e20 636c le │ │ │ -00018230: 6773 7461 7475 733c 2f73 7061 6e3e 3d3c gstatus=< │ │ │ -00018240: 7370 616e 2063 6c61 7373 3d22 7374 7269 span class="stri │ │ │ -00018250: 6e67 6c69 7465 7261 6c22 3e26 2333 393b ngliteral">' │ │ │ -00018260: 6f66 6626 2333 393b 3c2f 7370 616e 3e26 off'& │ │ │ -00018270: 6774 3b3c 2f64 6976 3e0a 3c64 6976 2063 gt;
.
│ │ │ -00018290: 266c 743b 3c73 7061 6e20 636c 6173 733d <pl │ │ │ -000182b0: 745f 636f 6d6d 616e 643c 2f73 7061 6e3e t_command │ │ │ -000182c0: 2667 743b 3c73 7061 6e20 636c 6173 733d >plt.te │ │ │ -000182e0: 7874 3c2f 7370 616e 3e28 2d34 2e32 2c20 xt(-4.2, │ │ │ -000182f0: 302e 3131 332c 203c 7370 616e 2063 6c61 0.113, 'jet' │ │ │ -00018320: 3c2f 7370 616e 3e29 266c 743b 2f3c 7370 )</plt_comma │ │ │ -00018350: 6e64 3c2f 7370 616e 3e26 6774 3b3c 2f64 nd>.
<plt_comm │ │ │ -000183a0: 616e 643c 2f73 7061 6e3e 2667 743b 3c73 and>plt.text(-4.6, 0.11, │ │ │ -000183e0: 3c73 7061 6e20 636c 6173 733d 226b 6579 r'$ │ │ │ -00018420: 5c64 6f77 6e61 7272 6f77 2426 2333 393b \downarrow$' │ │ │ -00018430: 3c2f 7370 616e 3e2c 203c 7370 616e 2063 , f │ │ │ -00018450: 6f6e 7473 697a 653c 2f73 7061 6e3e 3d31 ontsize=1 │ │ │ -00018460: 3529 266c 743b 2f3c 7370 616e 2063 6c61 5)</plt_command>
. │ │ │ -000184b0: 266c 743b 2f3c 7370 616e 2063 6c61 7373 </s │ │ │ -000184d0: 7562 706c 6f74 3c2f 7370 616e 3e26 6774 ubplot> │ │ │ -000184e0: 3b3c 2f64 6976 3e0a 3c2f 6469 763e 3c21 ;
.< │ │ │ -00018500: 6833 3e3c 6120 636c 6173 733d 2261 6e63 h3>.Adj │ │ │ -00018530: 7573 7420 6d61 7267 696e 7320 666f 7220 ust margins for │ │ │ -00018540: 6c61 796f 7574 206f 6620 7375 6270 6c6f layout of subplo │ │ │ -00018550: 7473 2069 6e20 6120 6669 6775 7265 2e3c ts in a figure.< │ │ │ -00018560: 2f68 333e 0a3c 703e 596f 7520 6861 7665 /h3>.

You have │ │ │ -00018570: 2074 6f20 7573 6520 7468 6520 7261 7720 to use the raw │ │ │ -00018580: 636f 6d6d 616e 6420 3c63 6f64 653e 7375 command su │ │ │ -00018590: 6270 6c6f 7473 5f61 646a 7573 743c 2f63 bplots_adjust:

.
│ │ │ -000185c0: 3c64 6976 2063 6c61 7373 3d22 6c69 6e65
< │ │ │ -000185f0: 7375 6270 6c6f 743c 2f73 7061 6e3e 203c subplot < │ │ │ -00018600: 7370 616e 2063 6c61 7373 3d22 6b65 7977 span class="keyw │ │ │ -00018610: 6f72 6422 3e69 643c 2f73 7061 6e3e 3d3c ord">id=< │ │ │ -00018620: 7370 616e 2063 6c61 7373 3d22 7374 7269 span class="stri │ │ │ -00018630: 6e67 6c69 7465 7261 6c22 3e26 7175 6f74 ngliteral">" │ │ │ -00018640: 3b31 2671 756f 743b 3c2f 7370 616e 3e20 ;1" │ │ │ -00018650: 3c73 7061 6e20 636c 6173 733d 226b 6579 legend= │ │ │ -00018690: 2623 3339 3b59 6573 2623 3339 3b3c 2f73 'Yes' legpo │ │ │ -000186c0: 733c 2f73 7061 6e3e 203d 3c73 7061 6e20 s ='0.2 0 │ │ │ -000186f0: 2e39 3526 2333 393b 3c2f 7370 616e 3e26 .95'& │ │ │ -00018700: 6774 3b3c 2f64 6976 3e0a 3c64 6976 2063 gt;
.
│ │ │ -00018720: 266c 743b 3c73 7061 6e20 636c 6173 733d <pl │ │ │ -00018740: 745f 636f 6d6d 616e 643c 2f73 7061 6e3e t_command │ │ │ -00018750: 2667 743b 3c73 7061 6e20 636c 6173 733d >plt.su │ │ │ -00018770: 6270 6c6f 7473 5f61 646a 7573 743c 2f73 bplots_adjust(hspac │ │ │ -000187a0: 653c 2f73 7061 6e3e 3d30 2e34 2c20 3c73 e=0.4, wspace=0.4, rig │ │ │ -000187f0: 6874 3c2f 7370 616e 3e3d 302e 392c 3c2f ht=0.9,.
│ │ │ -00018820: 2020 2020 2020 2020 3c73 7061 6e20 636c le │ │ │ -00018840: 6674 3c2f 7370 616e 3e3d 302e 3135 2c20 ft=0.15, │ │ │ -00018850: 3c73 7061 6e20 636c 6173 733d 226b 6579 bottom=0.2, t │ │ │ -00018890: 6f70 3c2f 7370 616e 3e3d 302e 3929 266c op=0.9)&l │ │ │ -000188a0: 743b 2f3c 7370 616e 2063 6c61 7373 3d22 t;/plt │ │ │ -000188c0: 5f63 6f6d 6d61 6e64 3c2f 7370 616e 3e26 _command& │ │ │ -000188d0: 6774 3b3c 2f64 6976 3e0a 3c64 6976 2063 gt;
.
< │ │ │ -000188f0: 2f3c 7370 616e 2063 6c61 7373 3d22 6b65 /subpl │ │ │ -00018910: 6f74 3c2f 7370 616e 3e26 6774 3b3c 2f64 ot>.

< │ │ │ -00018940: 6120 636c 6173 733d 2261 6e63 686f 7222 a class="anchor" │ │ │ -00018950: 2069 643d 2261 7574 6f74 6f63 5f6d 6431 id="autotoc_md1 │ │ │ -00018960: 3538 223e 3c2f 613e 0a48 6f77 2074 6f20 58">.How to │ │ │ -00018970: 6669 6e64 2061 2073 796e 7461 7820 6572 find a syntax er │ │ │ -00018980: 726f 7220 696e 2074 6865 2058 4d4c 2066 ror in the XML f │ │ │ -00018990: 696c 653f 3c2f 6833 3e0a 3c70 3e57 6865 ile?

.

Whe │ │ │ -000189a0: 6e20 7468 6572 6520 6973 2061 2074 7970 n there is a typ │ │ │ -000189b0: 6f20 696e 2074 6865 2070 6172 616d 6574 o in the paramet │ │ │ -000189c0: 6572 7320 6669 6c65 2c20 5354 5544 594d ers file, STUDYM │ │ │ -000189d0: 414e 4147 4552 2069 6e64 6963 6174 6573 ANAGER indicates │ │ │ -000189e0: 2074 6865 206c 6f63 6174 696f 6e20 6f66 the location of │ │ │ -000189f0: 2074 6865 2065 7272 6f72 2077 6974 6820 the error with │ │ │ -00018a00: 7468 6520 6c69 6e65 2061 6e64 2074 6865 the line and the │ │ │ -00018a10: 2063 6f6c 756d 6e20 6f66 2074 6865 2066 column of the f │ │ │ -00018a20: 696c 653a 203c 2f70 3e3c 6469 7620 636c ile:

< │ │ │ -00018a40: 6469 7620 636c 6173 733d 226c 696e 6522 div class="line" │ │ │ -00018a50: 3e6d 795f 6361 7365 2e78 6d6c 2066 696c >my_case.xml fil │ │ │ -00018a60: 6520 7265 6164 696e 6720 6572 726f 722e e reading error. │ │ │ -00018a70: 3c2f 6469 763e 0a3c 6469 7620 636c 6173
.
│ │ │ -00018a90: 0a3c 6469 7620 636c 6173 733d 226c 696e .
This file is │ │ │ -00018ab0: 6e6f 7420 696e 2061 6363 6f72 6461 6e63 not in accordanc │ │ │ -00018ac0: 6520 7769 7468 2058 4d4c 2073 7065 6369 e with XML speci │ │ │ -00018ad0: 6669 6361 7469 6f6e 732e 3c2f 6469 763e fications.
│ │ │ -00018ae0: 0a3c 6469 7620 636c 6173 733d 226c 696e .
.
The │ │ │ -00018b10: 2070 6172 7369 6e67 2073 796e 7461 7820 parsing syntax │ │ │ -00018b20: 6572 726f 7220 6973 3a3c 2f64 6976 3e0a error is:
. │ │ │ -00018b30: 3c64 6976 2063 6c61 7373 3d22 6c69 6e65
.
my_c │ │ │ -00018b60: 6173 652e 786d 6c3a 3836 3a31 323a 206e ase.xml:86:12: n │ │ │ -00018b70: 6f74 2077 656c 6c2d 666f 726d 6564 2028 ot well-formed ( │ │ │ -00018b80: 696e 7661 6c69 6420 746f 6b65 6e29 3c2f invalid token).

│ │ │ -00018bb0: 3c61 2063 6c61 7373 3d22 616e 6368 6f72 .How to │ │ │ -00018be0: 2072 656e 6465 7220 6c65 7373 2d74 6861 render less-tha │ │ │ -00018bf0: 6e20 616e 6420 6772 6561 7465 722d 7468 n and greater-th │ │ │ -00018c00: 616e 2073 6967 6e73 2069 6e20 6c65 6765 an signs in lege │ │ │ -00018c10: 6e64 732c 2074 6974 6c65 7320 6f72 2061 nds, titles or a │ │ │ -00018c20: 7869 7320 6c61 6265 6c73 3f3c 2f68 333e xis labels?

│ │ │ -00018c30: 0a3c 703e 5468 6520 6c65 7373 2d74 6861 .

The less-tha │ │ │ -00018c40: 6e20 266c 743b 2061 6e64 2067 7265 6174 n < and great │ │ │ -00018c50: 6572 2d74 6861 6e20 2667 743b 2073 796d er-than > sym │ │ │ -00018c60: 626f 6c73 2061 7265 2061 6d6f 6e67 2074 bols are among t │ │ │ -00018c70: 6865 2066 6976 6520 7072 6564 6566 696e he five predefin │ │ │ -00018c80: 6564 2065 6e74 6974 6965 7320 6f66 2074 ed entities of t │ │ │ -00018c90: 6865 2058 4d4c 2073 7065 6369 6669 6361 he XML specifica │ │ │ -00018ca0: 7469 6f6e 2074 6861 7420 7265 7072 6573 tion that repres │ │ │ -00018cb0: 656e 7420 7370 6563 6961 6c20 6368 6172 ent special char │ │ │ -00018cc0: 6163 7465 7273 2e3c 2f70 3e0a 3c70 3e49 acters.

.

I │ │ │ -00018cd0: 6e20 6f72 6465 7220 746f 2068 6176 6520 n order to have │ │ │ -00018ce0: 6f6e 6520 6f66 2074 6865 2066 6976 6520 one of the five │ │ │ -00018cf0: 7072 6564 6566 696e 6564 2065 6e74 6974 predefined entit │ │ │ -00018d00: 6965 7320 7265 6e64 6572 6564 2069 6e20 ies rendered in │ │ │ -00018d10: 616e 7920 6c65 6765 6e64 2c20 7469 746c any legend, titl │ │ │ -00018d20: 6520 6f72 2061 7869 7320 6c61 6265 6c2c e or axis label, │ │ │ -00018d30: 2075 7365 2074 6865 2073 7472 696e 6720 use the string │ │ │ -00018d40: 3c63 6f64 653e 3c2f 636f 6465 3e2e 2052 . R │ │ │ -00018d50: 6566 6572 2074 6f20 7468 6520 666f 6c6c efer to the foll │ │ │ -00018d60: 6f77 696e 6720 7461 626c 6520 666f 7220 owing table for │ │ │ -00018d70: 7468 6520 6e61 6d65 206f 6620 7468 6520 the name of the │ │ │ -00018d80: 6368 6172 6163 7465 7220 746f 2062 6520 character to be │ │ │ -00018d90: 7265 6e64 6572 6564 3a3c 2f70 3e0a 3c61 rendered:

. │ │ │ -00018dd0: 0a3c 7461 626c 6520 636c 6173 733d 2264 ..Special symbo │ │ │ -00018e00: 6c73 206f 6620 7468 6520 584d 4c20 7370 ls of the XML sp │ │ │ -00018e10: 6563 6966 6963 6174 696f 6e3c 2f63 6170 ecification........' ..< │ │ │ -00018f70: 7464 3e6c 6573 732d 7468 616e 2073 6967 td>less-than sig │ │ │ -00018f80: 6e20 3c2f 7464 3e3c 2f74 723e 0a3c 7472 n ....

For any of │ │ │ -00018ff0: 2074 6865 7365 2070 7265 6465 6669 6e65 these predefine │ │ │ -00019000: 6420 656e 7469 7469 6573 2c20 7468 6520 d entities, the │ │ │ -00019010: 584d 4c20 7061 7273 6572 2077 696c 6c20 XML parser will │ │ │ -00019020: 6669 7273 7420 7265 706c 6163 6520 7468 first replace th │ │ │ -00019030: 6520 7374 7269 6e67 203c 636f 6465 3e3c e string < │ │ │ -00019040: 2f63 6f64 653e 2062 7920 7468 6520 6368 /code> by the ch │ │ │ -00019050: 6172 6163 7465 722c 2077 6869 6368 2077 aracter, which w │ │ │ -00019060: 696c 6c20 7468 656e 2061 6c6c 6f77 203c ill then allow < │ │ │ -00019070: 696d 6720 636c 6173 733d 2266 6f72 6d75 img class="formu │ │ │ -00019080: 6c61 496e 6c22 2061 6c74 3d22 2420 5c6d laInl" alt="$ \m │ │ │ -00019090: 626f 787b 5c4c 6154 6558 7d20 2422 2073 box{\LaTeX} $" s │ │ │ -000190a0: 7263 3d22 666f 726d 5f36 3531 2e70 6e67 rc="form_651.png │ │ │ -000190b0: 2220 7769 6474 683d 2233 3422 2068 6569 " width="34" hei │ │ │ -000190c0: 6768 743d 2231 3322 2f3e 2028 6f72 204d ght="13"/> (or M │ │ │ -000190d0: 6174 6874 6578 7420 6966 203c 696d 6720 athtext if $ \mbox{
│ │ │ -00019100: 5c4c 6154 6558 7d20 2422 2073 7263 3d22  \LaTeX} $ is disabl │ │ │ -00019140: 6564 2920 746f 2070 726f 6365 7373 2069 ed) to process i │ │ │ -00019150: 742e 3c2f 703e 0a3c 703e 466f 7220 6578 t.

.

For ex │ │ │ -00019160: 616d 706c 652c 2069 6e20 6f72 6465 7220 ample, in order │ │ │ -00019170: 746f 2077 7269 7465 203c 696d 6720 636c to write $ \lambda&
│ │ │ -000191a0: 6c74 3b31 2024 2220 7372 633d 2266 6f72  lt;1 $ in a legend, │ │ │ -000191e0: 2074 6865 2066 6f6c 6c6f 7769 6e67 2061 the following a │ │ │ -000191f0: 7474 7269 6275 7465 2077 696c 6c20 6265 ttribute will be │ │ │ -00019200: 2075 7365 643a 203c 2f70 3e3c 6469 7620 used:

<plot fig= │ │ │ -00019240: 2671 756f 743b 3426 7175 6f74 3b20 666d "4" fm │ │ │ -00019250: 743d 2671 756f 743b 6b2d 2d26 7175 6f74 t="k--" │ │ │ -00019260: 3b20 6c65 6765 6e64 3d26 7175 6f74 3b73 ; legend="s │ │ │ -00019270: 6f6c 7574 696f 6e20 666f 7220 245c 6c61 olution for $\la │ │ │ -00019280: 6d62 6461 2026 616d 703b 6c74 3b20 3124 mbda &lt; 1$ │ │ │ -00019290: 2671 756f 743b 2078 636f 6c3d 2671 756f " xcol=&quo │ │ │ -000192a0: 743b 3126 7175 6f74 3b20 7963 6f6c 3d26 t;1" ycol=& │ │ │ -000192b0: 7175 6f74 3b32 2671 756f 743b 2f26 6774 quot;2"/> │ │ │ -000192c0: 3b3c 2f64 6976 3e0a 3c2f 6469 763e 3c21 ;
.
< │ │ │ -000192e0: 6833 3e3c 6120 636c 6173 733d 2261 6e63 h3>.How │ │ │ -00019310: 2074 6f20 7365 7420 6120 6c6f 6761 7269 to set a logari │ │ │ -00019320: 7468 6d69 6320 7363 616c 653f 3c2f 6833 thmic scale?.

The followi │ │ │ -00019340: 6e67 2072 6177 2063 6f6d 6d61 6e64 7320 ng raw commands │ │ │ -00019350: 6361 6e20 6265 2075 7365 643a 3c2f 703e can be used:

│ │ │ -00019360: 0a3c 6469 7620 636c 6173 733d 2266 7261 .
<subplot id="2"< │ │ │ -00019400: 2f73 7061 6e3e 203c 7370 616e 2063 6c61 /span> tit │ │ │ -00019420: 6c65 3c2f 7370 616e 3e3d 3c73 7061 6e20 le="Grid │ │ │ -00019450: 2063 6f6e 7665 7267 656e 6365 2671 756f convergence&quo │ │ │ -00019460: 743b 3c2f 7370 616e 3e20 3c73 7061 6e20 t; │ │ │ -00019480: 786c 6162 656c 3c2f 7370 616e 3e3d 3c73 xlabel=" │ │ │ -000194b0: 4e75 6d62 6572 206f 6620 6365 6c6c 7326 Number of cells& │ │ │ -000194c0: 7175 6f74 3b3c 2f73 7061 6e3e 203c 7370 quot; ylabel │ │ │ -000194f0: 3d3c 7370 616e 2063 6c61 7373 3d22 7374 =&qu │ │ │ -00019510: 6f74 3b45 7272 6f72 2028 5c25 2926 7175 ot;Error (\%)&qu │ │ │ -00019520: 6f74 3b3c 2f73 7061 6e3e 2667 743b 3c2f ot;>.
<< │ │ │ -00019550: 7370 616e 2063 6c61 7373 3d22 6b65 7977 span class="keyw │ │ │ -00019560: 6f72 6474 7970 6522 3e70 6c74 5f63 6f6d ordtype">plt_com │ │ │ -00019570: 6d61 6e64 3c2f 7370 616e 3e26 6774 3b3c mand>< │ │ │ -00019580: 7370 616e 2063 6c61 7373 3d22 6b65 7977 span class="keyw │ │ │ -00019590: 6f72 6422 3e61 782e 7365 745f 7873 6361 ord">ax.set_xsca │ │ │ -000195a0: 6c65 3c2f 7370 616e 3e28 3c73 7061 6e20 le('log&# │ │ │ -000195d0: 3339 3b3c 2f73 7061 6e3e 2926 6c74 3b2f 39;)</ │ │ │ -000195e0: 3c73 7061 6e20 636c 6173 733d 226b 6579 plt_co │ │ │ -00019600: 6d6d 616e 643c 2f73 7061 6e3e 2667 743b mmand> │ │ │ -00019610: 3c2f 6469 763e 0a3c 6469 7620 636c 6173
.
< │ │ │ -00019630: 3b3c 7370 616e 2063 6c61 7373 3d22 6b65 ;plt_c │ │ │ -00019650: 6f6d 6d61 6e64 3c2f 7370 616e 3e26 6774 ommand> │ │ │ -00019660: 3b3c 7370 616e 2063 6c61 7373 3d22 6b65 ;ax.set_ys │ │ │ -00019680: 6361 6c65 3c2f 7370 616e 3e28 3c73 7061 cale('log │ │ │ -000196b0: 2623 3339 3b3c 2f73 7061 6e3e 2926 6c74 ')< │ │ │ -000196c0: 3b2f 3c73 7061 6e20 636c 6173 733d 226b ;/plt_ │ │ │ -000196e0: 636f 6d6d 616e 643c 2f73 7061 6e3e 2667 command&g │ │ │ -000196f0: 743b 3c2f 6469 763e 0a3c 6469 7620 636c t;
.
</ │ │ │ -00019710: 3c73 7061 6e20 636c 6173 733d 226b 6579 subplo │ │ │ -00019730: 743c 2f73 7061 6e3e 2667 743b 3c2f 6469 t>.

.How to c │ │ │ -00019790: 6172 7279 206f 7574 2061 2067 7269 6420 arry out a grid │ │ │ -000197a0: 636f 6e76 6572 6765 6e63 6520 7374 7564 convergence stud │ │ │ -000197b0: 793f 3c2f 6832 3e0a 3c70 3e54 6865 2066 y?

.

The f │ │ │ -000197c0: 6f6c 6c6f 7769 6e67 2065 7861 6d70 6c65 ollowing example │ │ │ -000197d0: 2073 686f 7773 2068 6f77 2074 6f20 6361 shows how to ca │ │ │ -000197e0: 7272 7920 6f75 7420 6120 6772 6964 2063 rry out a grid c │ │ │ -000197f0: 6f6e 7665 7267 656e 6365 2073 7475 6479 onvergence study │ │ │ -00019800: 2062 7920 7275 6e6e 696e 6720 7468 6520 by running the │ │ │ -00019810: 7361 6d65 2063 6173 6520 7468 7265 6520 same case three │ │ │ -00019820: 7469 6d65 7320 616e 6420 6368 616e 6769 times and changi │ │ │ -00019830: 6e67 2074 6865 2070 6172 616d 6574 6572 ng the parameter │ │ │ -00019840: 7320 6265 7477 6565 6e20 6561 6368 2072 s between each r │ │ │ -00019850: 756e 2077 6974 6820 7468 6520 6865 6c70 un with the help │ │ │ -00019860: 206f 6620 6120 7072 6570 726f 6365 7373 of a preprocess │ │ │ -00019870: 696e 6720 7363 7269 7074 2e3c 2f70 3e0a ing script.

. │ │ │ -00019880: 3c70 3e48 6572 6520 7468 6520 6d65 7368

Here the mesh │ │ │ -00019890: 2c20 7468 6520 6d61 7869 6d75 6d20 6e75 , the maximum nu │ │ │ -000198a0: 6d62 6572 206f 6620 6974 6572 6174 696f mber of iteratio │ │ │ -000198b0: 6e73 2c20 7468 6520 7265 6665 7265 6e63 ns, the referenc │ │ │ -000198c0: 6520 7469 6d65 2073 7465 7020 616e 6420 e time step and │ │ │ -000198d0: 7468 6520 6e75 6d62 6572 206f 6620 7072 the number of pr │ │ │ -000198e0: 6f63 6573 7365 7320 6172 6520 6d6f 6469 ocesses are modi │ │ │ -000198f0: 6669 6564 2c20 6265 666f 7265 2065 6163 fied, before eac │ │ │ -00019900: 6820 7275 6e2c 2062 7920 7468 6520 6275 h run, by the bu │ │ │ -00019910: 696c 742d 696e 203c 636f 6465 3e63 735f ilt-in cs_ │ │ │ -00019920: 7061 7261 6d65 7472 6963 5f73 6574 7570 parametric_setup │ │ │ -00019930: 2e70 793c 2f63 6f64 653e 2073 6372 6970 .py scrip │ │ │ -00019940: 742e 3c2f 703e 0a3c 703e 5468 6520 7061 t.

.

The pa │ │ │ -00019950: 7261 6d65 7465 7273 2066 696c 6520 6973 rameters file is │ │ │ -00019960: 2061 7320 666f 6c6c 6f77 733a 3c2f 703e as follows:

│ │ │ -00019970: 0a3c 6469 7620 636c 6173 733d 2266 7261 .
<case compute │ │ │ -000199e0: 3c2f 7370 616e 3e3d 3c73 7061 6e20 636c ="on&quo │ │ │ -00019a10: 743b 3c2f 7370 616e 3e20 3c73 7061 6e20 t; │ │ │ -00019a30: 6c61 6265 6c3c 2f73 7061 6e3e 3d3c 7370 label="C │ │ │ -00019a60: 4f55 4554 5445 2671 756f 743b 3c2f 7370 OUETTE" post="on" │ │ │ -00019ac0: 3c2f 7370 616e 3e20 3c73 7061 6e20 636c ru │ │ │ -00019ae0: 6e5f 6964 3c2f 7370 616e 3e3d 3c73 7061 n_id="21 │ │ │ -00019b10: 5f54 6865 7461 5f31 2671 756f 743b 3c2f _Theta_1" stat │ │ │ -00019b40: 7573 3c2f 7370 616e 3e3d 3c73 7061 6e20 us="on&q │ │ │ -00019b70: 756f 743b 3c2f 7370 616e 3e26 6774 3b3c uot;>< │ │ │ -00019b80: 2f64 6976 3e0a 3c64 6976 2063 6c61 7373 /div>.
< │ │ │ -00019ba0: 3c73 7061 6e20 636c 6173 733d 226b 6579 parame │ │ │ -00019bc0: 7472 6963 3c2f 7370 616e 3e20 3c73 7061 tric args=" │ │ │ -00019c10: 2d6d 2032 315f 5468 6574 615f 312e 6d65 -m 21_Theta_1.me │ │ │ -00019c20: 6420 2d6e 2034 3030 3020 2d61 2031 2e20 d -n 4000 -a 1. │ │ │ -00019c30: 2d74 2030 2e30 3130 3234 202d 7520 3126 -t 0.01024 -u 1& │ │ │ -00019c40: 7175 6f74 3b3c 2f73 7061 6e3e 2f26 6774 quot;/> │ │ │ -00019c50: 3b3c 2f64 6976 3e0a 3c64 6976 2063 6c61 ;
.
&l │ │ │ -00019c70: 743b 3c73 7061 6e20 636c 6173 733d 226b t;data │ │ │ -00019c90: 3c2f 7370 616e 3e20 3c73 7061 6e20 636c de │ │ │ -00019cb0: 7374 3c2f 7370 616e 3e3d 3c73 7061 6e20 st="&quo │ │ │ -00019ce0: 743b 3c2f 7370 616e 3e20 3c73 7061 6e20 t; │ │ │ -00019d00: 6669 6c65 3c2f 7370 616e 3e3d 3c73 7061 file="pr │ │ │ -00019d30: 6f66 696c 652e 6461 7426 7175 6f74 3b3c ofile.dat"< │ │ │ -00019d40: 2f73 7061 6e3e 2667 743b 3c2f 6469 763e /span>>
│ │ │ -00019d50: 0a3c 6469 7620 636c 6173 733d 226c 696e .
<< │ │ │ -00019d70: 7370 616e 2063 6c61 7373 3d22 6b65 7977 span class="keyw │ │ │ -00019d80: 6f72 6474 7970 6522 3e70 6c6f 743c 2f73 ordtype">plot fig="5"< │ │ │ -00019de0: 2f73 7061 6e3e 203c 7370 616e 2063 6c61 /span> fmt │ │ │ -00019e00: 3c2f 7370 616e 3e3d 3c73 7061 6e20 636c ="r-+&qu │ │ │ -00019e30: 6f74 3b3c 2f73 7061 6e3e 203c 7370 616e ot; legend=< │ │ │ -00019e60: 7370 616e 2063 6c61 7373 3d22 7374 7269 span class="stri │ │ │ -00019e70: 6e67 6c69 7465 7261 6c22 3e26 7175 6f74 ngliteral">" │ │ │ -00019e80: 3b32 3120 7468 6574 6120 3126 7175 6f74 ;21 theta 1" │ │ │ -00019e90: 3b3c 2f73 7061 6e3e 203c 7370 616e 2063 ; m │ │ │ -00019eb0: 6172 6b65 7273 697a 653c 2f73 7061 6e3e arkersize │ │ │ -00019ec0: 3d3c 7370 616e 2063 6c61 7373 3d22 7374 =&qu │ │ │ -00019ee0: 6f74 3b35 2e35 2671 756f 743b 3c2f 7370 ot;5.5" xcol="1"< │ │ │ -00019f40: 2f73 7061 6e3e 203c 7370 616e 2063 6c61 /span> yco │ │ │ -00019f60: 6c3c 2f73 7061 6e3e 3d3c 7370 616e 2063 l="5&quo │ │ │ -00019f90: 743b 3c2f 7370 616e 3e2f 2667 743b 3c2f t;/>.
</ │ │ │ -00019fc0: 3c73 7061 6e20 636c 6173 733d 226b 6579 data>
. │ │ │ -00019ff0: 3c64 6976 2063 6c61 7373 3d22 6c69 6e65
</case> │ │ │ -0001a030: 3c2f 6469 763e 0a3c 6469 7620 636c 6173
.
│ │ │ -0001a050: 0a3c 6469 7620 636c 6173 733d 226c 696e .
<case compute=&q │ │ │ -0001a0d0: 756f 743b 6f6e 2671 756f 743b 3c2f 7370 uot;on" label< │ │ │ -0001a100: 2f73 7061 6e3e 3d3c 7370 616e 2063 6c61 /span>="COUETTE │ │ │ -0001a130: 2671 756f 743b 3c2f 7370 616e 3e20 3c73 " post= │ │ │ -0001a160: 3c73 7061 6e20 636c 6173 733d 2273 7472 &quo │ │ │ -0001a180: 743b 6f6e 2671 756f 743b 3c2f 7370 616e t;on" run_id="43_Theta │ │ │ -0001a1e0: 5f30 3526 7175 6f74 3b3c 2f73 7061 6e3e _05" │ │ │ -0001a1f0: 203c 7370 616e 2063 6c61 7373 3d22 6b65 status="on"< │ │ │ -0001a240: 2f73 7061 6e3e 2667 743b 3c2f 6469 763e /span>>
│ │ │ -0001a250: 0a3c 6469 7620 636c 6173 733d 226c 696e .
<parametric< │ │ │ -0001a290: 2f73 7061 6e3e 203c 7370 616e 2063 6c61 /span> arg │ │ │ -0001a2b0: 733c 2f73 7061 6e3e 3d3c 7370 616e 2063 s="-m 43 │ │ │ -0001a2e0: 5f54 6865 7461 5f30 352e 6d65 6420 2d6e _Theta_05.med -n │ │ │ -0001a2f0: 2038 3030 3020 2d61 2030 2e35 2e20 2d74 8000 -a 0.5. -t │ │ │ -0001a300: 2030 2e30 3035 3132 2671 756f 743b 3c2f 0.00512"/>
│ │ │ -0001a320: 0a3c 6469 7620 636c 6173 733d 226c 696e .
<data │ │ │ -0001a360: 203c 7370 616e 2063 6c61 7373 3d22 6b65 dest=& │ │ │ -0001a3a0: 7175 6f74 3b26 7175 6f74 3b3c 2f73 7061 quot;" file="profile.d │ │ │ -0001a400: 6174 2671 756f 743b 3c2f 7370 616e 3e26 at"& │ │ │ -0001a410: 6774 3b3c 2f64 6976 3e0a 3c64 6976 2063 gt;
.
│ │ │ -0001a430: 2020 2020 266c 743b 3c73 7061 6e20 636c <plot fig=< │ │ │ -0001a480: 7370 616e 2063 6c61 7373 3d22 7374 7269 span class="stri │ │ │ -0001a490: 6e67 6c69 7465 7261 6c22 3e26 7175 6f74 ngliteral">" │ │ │ -0001a4a0: 3b35 2671 756f 743b 3c2f 7370 616e 3e20 ;5" │ │ │ -0001a4b0: 3c73 7061 6e20 636c 6173 733d 226b 6579 fmt │ │ │ -0001a4d0: 3d3c 7370 616e 2063 6c61 7373 3d22 7374 =&qu │ │ │ -0001a4f0: 6f74 3b62 2671 756f 743b 3c2f 7370 616e ot;b" legend="43 Theta │ │ │ -0001a550: 2030 3526 7175 6f74 3b3c 2f73 7061 6e3e 05" │ │ │ -0001a560: 203c 7370 616e 2063 6c61 7373 3d22 6b65 markersiz │ │ │ -0001a580: 653c 2f73 7061 6e3e 3d3c 7370 616e 2063 e="5.5&q │ │ │ -0001a5b0: 756f 743b 3c2f 7370 616e 3e20 3c73 7061 uot; xcol=" │ │ │ -0001a600: 3126 7175 6f74 3b3c 2f73 7061 6e3e 203c 1" < │ │ │ -0001a610: 7370 616e 2063 6c61 7373 3d22 6b65 7977 span class="keyw │ │ │ -0001a620: 6f72 6422 3e79 636f 6c3c 2f73 7061 6e3e ord">ycol │ │ │ -0001a630: 3d3c 7370 616e 2063 6c61 7373 3d22 7374 =&qu │ │ │ -0001a650: 6f74 3b35 2671 756f 743b 3c2f 7370 616e ot;5"/>
. │ │ │ -0001a680: 2020 2026 6c74 3b2f 3c73 7061 6e20 636c </data> │ │ │ -0001a6b0: 3b3c 2f64 6976 3e0a 3c64 6976 2063 6c61 ;
.
</< │ │ │ -0001a6d0: 7370 616e 2063 6c61 7373 3d22 6b65 7977 span class="keyw │ │ │ -0001a6e0: 6f72 6474 7970 6522 3e63 6173 653c 2f73 ordtype">case>
.< │ │ │ -0001a700: 6469 7620 636c 6173 733d 226c 696e 6522 div class="line" │ │ │ -0001a710: 3e20 3c2f 6469 763e 0a3c 6469 7620 636c >
.
<< │ │ │ -0001a730: 7370 616e 2063 6c61 7373 3d22 6b65 7977 span class="keyw │ │ │ -0001a740: 6f72 6474 7970 6522 3e63 6173 653c 2f73 ordtype">case compu │ │ │ -0001a770: 7465 3c2f 7370 616e 3e3d 3c73 7061 6e20 te="on&q │ │ │ -0001a7a0: 756f 743b 3c2f 7370 616e 3e20 3c73 7061 uot; label=< │ │ │ -0001a7d0: 7370 616e 2063 6c61 7373 3d22 7374 7269 span class="stri │ │ │ -0001a7e0: 6e67 6c69 7465 7261 6c22 3e26 7175 6f74 ngliteral">" │ │ │ -0001a7f0: 3b43 4f55 4554 5445 2671 756f 743b 3c2f ;COUETTE" post │ │ │ -0001a820: 3c2f 7370 616e 3e3d 3c73 7061 6e20 636c ="on&quo │ │ │ -0001a850: 743b 3c2f 7370 616e 3e20 3c73 7061 6e20 t; │ │ │ -0001a870: 7275 6e5f 6964 3c2f 7370 616e 3e3d 3c73 run_id=" │ │ │ -0001a8a0: 3836 5f54 6865 7461 5f30 3235 2671 756f 86_Theta_025&quo │ │ │ -0001a8b0: 743b 3c2f 7370 616e 3e20 3c73 7061 6e20 t; │ │ │ -0001a8d0: 7374 6174 7573 3c2f 7370 616e 3e3d 3c73 status=" │ │ │ -0001a900: 6f6e 2671 756f 743b 3c2f 7370 616e 3e26 on"& │ │ │ -0001a910: 6774 3b3c 2f64 6976 3e0a 3c64 6976 2063 gt;
.
│ │ │ -0001a930: 266c 743b 3c73 7061 6e20 636c 6173 733d <pa │ │ │ -0001a950: 7261 6d65 7472 6963 3c2f 7370 616e 3e20 rametric │ │ │ -0001a960: 3c73 7061 6e20 636c 6173 733d 226b 6579 args=&q │ │ │ -0001a9a0: 756f 743b 2d6d 2038 365f 5468 6574 615f uot;-m 86_Theta_ │ │ │ -0001a9b0: 3032 352e 6d65 6420 2d6e 2031 3630 3030 025.med -n 16000 │ │ │ -0001a9c0: 202d 6120 302e 3235 202d 7420 302e 3030 -a 0.25 -t 0.00 │ │ │ -0001a9d0: 3235 3620 2d75 2034 2671 756f 743b 3c2f 256 -u 4"/>
│ │ │ -0001a9f0: 0a3c 6469 7620 636c 6173 733d 226c 696e .
<data │ │ │ -0001aa30: 203c 7370 616e 2063 6c61 7373 3d22 6b65 dest=& │ │ │ -0001aa70: 7175 6f74 3b26 7175 6f74 3b3c 2f73 7061 quot;" file="profile.d │ │ │ -0001aad0: 6174 2671 756f 743b 3c2f 7370 616e 3e26 at"& │ │ │ -0001aae0: 6774 3b3c 2f64 6976 3e0a 3c64 6976 2063 gt;
.
│ │ │ -0001ab00: 2020 2020 266c 743b 3c73 7061 6e20 636c <plot fig=< │ │ │ -0001ab50: 7370 616e 2063 6c61 7373 3d22 7374 7269 span class="stri │ │ │ -0001ab60: 6e67 6c69 7465 7261 6c22 3e26 7175 6f74 ngliteral">" │ │ │ -0001ab70: 3b35 2671 756f 743b 3c2f 7370 616e 3e20 ;5" │ │ │ -0001ab80: 3c73 7061 6e20 636c 6173 733d 226b 6579 fmt │ │ │ -0001aba0: 3d3c 7370 616e 2063 6c61 7373 3d22 7374 =&qu │ │ │ -0001abc0: 6f74 3b67 2671 756f 743b 3c2f 7370 616e ot;g" legend="86 Theta │ │ │ -0001ac20: 2030 3235 2671 756f 743b 3c2f 7370 616e 025" markersi │ │ │ -0001ac50: 7a65 3c2f 7370 616e 3e3d 3c73 7061 6e20 ze="5.5& │ │ │ -0001ac80: 7175 6f74 3b3c 2f73 7061 6e3e 203c 7370 quot; xcol=< │ │ │ -0001acb0: 7370 616e 2063 6c61 7373 3d22 7374 7269 span class="stri │ │ │ -0001acc0: 6e67 6c69 7465 7261 6c22 3e26 7175 6f74 ngliteral">" │ │ │ -0001acd0: 3b31 2671 756f 743b 3c2f 7370 616e 3e20 ;1" │ │ │ -0001ace0: 3c73 7061 6e20 636c 6173 733d 226b 6579 ycol=&q │ │ │ -0001ad20: 756f 743b 3526 7175 6f74 3b3c 2f73 7061 uot;5"/>
. │ │ │ -0001ad50: 2020 2020 266c 743b 2f3c 7370 616e 2063 </data&g │ │ │ -0001ad80: 743b 3c2f 6469 763e 0a3c 6469 7620 636c t;
.
</ │ │ │ -0001ada0: 3c73 7061 6e20 636c 6173 733d 226b 6579 case>
. │ │ │ -0001add0: 3c2f 6469 763e 3c21 2d2d 2066 7261 676d

Recall │ │ │ -0001adf0: 2074 6861 7420 7468 6520 6361 7365 2061 that the case a │ │ │ -0001ae00: 7474 7269 6275 7465 203c 636f 6465 3e72 ttribute r │ │ │ -0001ae10: 756e 3c2f 636f 6465 3e5f 6964 3c63 6f64 un_idshould be give │ │ │ -0001ae30: 6e20 6120 6469 6666 6572 656e 7420 7661 n a different va │ │ │ -0001ae40: 6c75 6520 666f 7220 6561 6368 2072 756e lue for each run │ │ │ -0001ae50: 2c20 7768 696c 6520 7468 653c 2f63 6f64 , while thelabel` should │ │ │ -0001ae70: 7374 6179 2074 6865 2073 616d 652e 3c2f stay the same..

│ │ │ -0001aeb0: 0a48 6f77 2074 6f20 636f 6e76 6572 7420 .How to convert │ │ │ -0001aec0: 6465 7072 6563 6174 6564 2026 6c74 3b74 deprecated <t │ │ │ -0001aed0: 7426 6774 3b26 6c74 3b70 7265 7072 6f26 t><prepro& │ │ │ -0001aee0: 6774 3b26 6c74 3b2f 7474 2667 743b 2073 gt;</tt> s │ │ │ -0001aef0: 6372 6970 7473 2e3c 2f68 323e 0a3c 703e cripts.

.

│ │ │ -0001af00: 546f 2075 7064 6174 6520 6120 7365 7475 To update a setu │ │ │ -0001af10: 7020 6261 7365 6420 6f6e 2061 2073 6372 p based on a scr │ │ │ -0001af20: 6970 7420 6361 6c6c 6564 2077 6974 6820 ipt called with │ │ │ -0001af30: 7468 6520 6465 7072 6563 6174 6564 203c the deprecated < │ │ │ -0001af40: 636f 6465 3e26 6c74 3b70 7265 7072 6f26 code><prepro& │ │ │ -0001af50: 6774 3b3c 2f63 6f64 653e 2074 6167 2c20 gt; tag, │ │ │ -0001af60: 7369 6d70 6c79 2063 6f70 7920 7468 6520 simply copy the │ │ │ -0001af70: 636f 6e74 656e 7473 206f 6620 7468 6174 contents of that │ │ │ -0001af80: 2073 6372 6970 7420 696e 2074 6865 2022 script in the " │ │ │ -0001af90: 6c6f 6361 6c20 6675 6e63 7469 6f6e 7322 local functions" │ │ │ -0001afa0: 2073 6563 7469 6f6e 206f 6620 7468 6520 section of the │ │ │ -0001afb0: 6f70 7469 6f6e 616c 203c 636f 6465 3e44 optional D │ │ │ -0001afc0: 4154 412f 6373 5f75 7365 725f 7363 7269 ATA/cs_user_scri │ │ │ -0001afd0: 7074 732e 7079 3c2f 636f 6465 3e20 7573 pts.py us │ │ │ -0001afe0: 6572 2073 6372 6970 7473 2c20 7265 6e61 er scripts, rena │ │ │ -0001aff0: 6d69 6e67 203c 636f 6465 3e6d 6169 6e3c ming main< │ │ │ -0001b000: 2f63 6f64 653e 2074 6f20 616e 6f74 6865 /code> to anothe │ │ │ -0001b010: 7220 6368 6f73 6520 6e61 6d65 2c20 666f r chose name, fo │ │ │ -0001b020: 7220 6578 616d 706c 6520 3c63 6f64 653e r example │ │ │ -0001b030: 7072 6570 726f 3c2f 636f 6465 3e2e 3c2f prepro..

Remove the │ │ │ -0001b050: 2073 6563 7469 6f6e 2072 6573 656d 626c section resembl │ │ │ -0001b060: 696e 673a 3c2f 703e 0a3c 6469 7620 636c ing:

.
< │ │ │ -0001b080: 6469 7620 636c 6173 733d 226c 696e 6522 div class="line" │ │ │ -0001b090: 3e3c 7370 616e 2063 6c61 7373 3d22 6b65 >if __name__ == │ │ │ -0001b0c0: 203c 7370 616e 2063 6c61 7373 3d22 7374  │ │ │ -0001b0e0: 393b 5f5f 6d61 696e 5f5f 2623 3339 3b3c 9;__main__'< │ │ │ -0001b0f0: 2f73 7061 6e3e 3a3c 2f64 6976 3e0a 3c64 /span>:
. │ │ │ -0001b110: 2020 2020 6f70 7469 6f6e 7320 3d20 7072 options = pr │ │ │ -0001b120: 6f63 6573 735f 636d 645f 6c69 6e65 2873 ocess_cmd_line(s │ │ │ -0001b130: 7973 2e61 7267 765b 313a 5d29 3c2f 6469 ys.argv[1:]).
main( │ │ │ -0001b1b0: 6f70 7469 6f6e 7329 3c2f 6469 763e 0a3c options)
.< │ │ │ -0001b1c0: 2f64 6976 3e3c 212d 2d20 6672 6167 6d65 /div>

and add │ │ │ -0001b1e0: 2074 6865 2066 6f6c 6c6f 7769 6e67 2073 the following s │ │ │ -0001b1f0: 6563 7469 6f6e 2069 6e20 7468 6520 3c63 ection in the define_domai │ │ │ -0001b210: 6e5f 7061 7261 6d65 7465 7273 3c2f 636f n_parameters function:

.
option │ │ │ -0001b260: 7320 3d20 7072 6f63 6573 735f 636d 645f s = process_cmd_ │ │ │ -0001b270: 6c69 6e65 2864 6f6d 6169 6e2e 6b77 5f61 line(domain.kw_a │ │ │ -0001b280: 7267 7329 3c2f 6469 763e 0a3c 6469 7620 rgs)
.
pre │ │ │ -0001b2a0: 7072 6f28 6f70 7469 6f6e 7329 3c2f 6469 pro(options).

Rem │ │ │ -0001b2d0: 656d 6265 7220 7468 6174 2077 6865 6e20 ember that when │ │ │ -0001b2e0: 6d6f 6469 6679 696e 6720 6d65 7368 206f modifying mesh o │ │ │ -0001b2f0: 7220 7265 7374 6172 7420 6669 6c65 2073 r restart file s │ │ │ -0001b300: 656c 6563 7469 6f6e 732c 2074 6865 206d elections, the m │ │ │ -0001b310: 6174 6368 696e 6720 7661 6c75 6573 2068 atching values h │ │ │ -0001b320: 6176 6520 616c 7265 6164 7920 6265 656e ave already been │ │ │ -0001b330: 2072 6561 6420 616e 6420 6173 7369 676e read and assign │ │ │ -0001b340: 6564 2074 6f20 3c63 6f64 653e 646f 6d61 ed to doma │ │ │ -0001b350: 696e 3c2f 636f 6465 3e20 6174 2074 6869 in at thi │ │ │ -0001b360: 7320 706f 696e 742c 2073 6f20 7468 6520 s point, so the │ │ │ -0001b370: 6d61 7463 6869 6e67 203c 636f 6465 3e64 matching d │ │ │ -0001b380: 6f6d 6169 6e3c 2f63 6f64 653e 2065 6e74 omain ent │ │ │ -0001b390: 7269 6573 2073 686f 756c 6420 6265 206d ries should be m │ │ │ -0001b3a0: 6f64 6966 6965 6420 6469 7265 6374 6c79 odified directly │ │ │ -0001b3b0: 2c20 696e 7374 6561 6420 6f66 206d 6f64 , instead of mod │ │ │ -0001b3c0: 6966 7969 6e67 2074 6865 2058 4d4c 2066 ifying the XML f │ │ │ -0001b3d0: 696c 652e 3c2f 703e 0a3c 703e 416c 736f ile.

.

Also │ │ │ -0001b3e0: 2077 6865 6e20 7265 6164 696e 6720 6f72 when reading or │ │ │ -0001b3f0: 2077 7269 7469 6e67 2061 2073 6574 7570 writing a setup │ │ │ -0001b400: 2058 4d4c 2066 696c 652c 2074 6865 2070 XML file, the p │ │ │ -0001b410: 6174 6820 746f 2074 6861 7420 6669 6c65 ath to that file │ │ │ -0001b420: 2073 686f 756c 6420 7369 6d70 6c79 2062 should simply b │ │ │ -0001b430: 6520 3c63 6f64 653e 7365 7475 702e 786d e setup.xm │ │ │ -0001b440: 6c3c 2f63 6f64 653e 206f 7220 3c63 6f64 l or domain.param, as this f │ │ │ -0001b470: 756e 6374 696f 6e20 6973 2063 616c 6c65 unction is calle │ │ │ -0001b480: 6420 6469 7265 6374 6c79 2066 726f 6d20 d directly from │ │ │ -0001b490: 7468 6520 6578 6563 7574 696f 6e20 6469 the execution di │ │ │ -0001b4a0: 7265 6374 6f72 792c 2061 6e64 2073 686f rectory, and sho │ │ │ -0001b4b0: 756c 6420 6e6f 7420 6d6f 6469 6679 2074 uld not modify t │ │ │ -0001b4c0: 6865 2075 7073 7472 6561 6d20 7365 7475 he upstream setu │ │ │ -0001b4d0: 702e 3c2f 703e 0a3c 703e 496e 2074 6865 p.

.

In the │ │ │ -0001b4e0: 2053 5455 4459 4d41 4e41 4745 5220 584d STUDYMANAGER XM │ │ │ -0001b4f0: 4c20 6669 6c65 2c20 3c63 6f64 653e 266c L file, &l │ │ │ -0001b500: 743b 7072 6570 726f 2667 743b 3c2f 636f t;prepro> can then sim │ │ │ -0001b520: 706c 7920 6265 2072 6570 6c61 6365 6420 ply be replaced │ │ │ -0001b530: 7769 7468 203c 636f 6465 3e26 6c74 3b6b with <k │ │ │ -0001b540: 775f 6172 6773 2667 743b 3c2f 636f 6465 w_args>. Only the args at │ │ │ -0001b570: 7472 6962 7574 6520 6973 2075 7365 642c tribute is used, │ │ │ -0001b580: 2073 6f20 6f74 6865 7220 6174 7472 6962 so other attrib │ │ │ -0001b590: 7574 6573 2028 3c63 6f64 653e 6c61 6265 utes (labe │ │ │ -0001b5a0: 6c3c 2f63 6f64 653e 2061 6e64 203c 636f l and status │ │ │ -0001b5c0: 2920 6361 6e20 6265 2072 656d 6f76 6564 ) can be removed │ │ │ -0001b5d0: 2e20 416c 736f 2c20 7468 6520 3c63 6f64 . Also, the -c or < │ │ │ -0001b5f0: 636f 6465 3e2d 2d63 6173 653c 2f63 6f64 code>--case arguments com │ │ │ -0001b610: 6d6f 6e6c 7920 7573 6564 2074 6f20 696e monly used to in │ │ │ -0001b620: 6469 6361 7465 2074 6865 206d 6174 6368 dicate the match │ │ │ -0001b630: 696e 6720 6361 7365 2061 7265 206e 6f74 ing case are not │ │ │ -0001b640: 206e 6563 6573 7361 7279 2061 6e79 6d6f necessary anymo │ │ │ -0001b650: 7265 2e3c 2f70 3e0a 3c70 3e4e 6f74 6520 re.

.

Note │ │ │ -0001b660: 616c 736f 2074 6861 7420 7573 696e 6720 also that using │ │ │ -0001b670: 7468 6520 3c63 6f64 653e 266c 743b 6e6f the <no │ │ │ -0001b680: 7465 626f 6f6b 2667 743b 3c2f 636f 6465 tebook> and < │ │ │ -0001b6a0: 7061 7261 6d65 7472 6963 2667 743b 3c2f parametric> tags is si │ │ │ -0001b6c0: 6d70 6c65 7220 666f 7220 6e6f 7465 626f mpler for notebo │ │ │ -0001b6d0: 6f6b 2076 616c 7565 7320 6f72 206f 7074 ok values or opt │ │ │ -0001b6e0: 696f 6e73 2061 6c72 6561 6479 2068 616e ions already han │ │ │ -0001b6f0: 646c 6564 2062 7920 7468 6520 3c63 6f64 dled by the cs_parametric_ │ │ │ -0001b710: 7365 7475 702e 7079 3c2f 636f 6465 3e20 setup.py │ │ │ -0001b720: 7363 7269 7074 2c20 6173 2074 6865 7920 script, as they │ │ │ -0001b730: 7265 7175 6972 6520 6e6f 2069 6e74 6572 require no inter │ │ │ -0001b740: 7665 6e74 696f 6e20 696e 203c 636f 6465 vention in cs_user_scripts │ │ │ -0001b760: 2e70 793c 2f63 6f64 653e 2e20 4173 2075 .py. As u │ │ │ -0001b770: 7375 616c 2c20 7468 6520 6170 7072 6f61 sual, the approa │ │ │ -0001b780: 6368 6573 2063 616e 2062 6520 6d69 7865 ches can be mixe │ │ │ -0001b790: 642c 2073 6f20 6173 2074 6f20 6d69 6e69 d, so as to mini │ │ │ -0001b7a0: 6d69 7a65 2074 6865 2073 697a 6520 6f66 mize the size of │ │ │ -0001b7b0: 2074 6865 2075 7365 7220 7363 7269 7074 the user script │ │ │ -0001b7c0: 732e 203c 2f70 3e0a 3c2f 6469 763e 3c2f s.

.
.
..

< │ │ │ +00018060: 2f61 3e0a 486f 7720 746f 2061 6464 2074 /a>.How to add t │ │ │ +00018070: 6578 7420 696e 2061 2066 6967 7572 653f ext in a figure? │ │ │ +00018080: 3c2f 6833 3e0a 3c70 3e49 7420 6973 2070

.

It is p │ │ │ +00018090: 6f73 7369 626c 6520 746f 2075 7365 2072 ossible to use r │ │ │ +000180a0: 6177 2063 6f6d 6d61 6e64 733a 203c 2f70 aw commands:

<subplot id='301'< │ │ │ +00018150: 2f73 7061 6e3e 203c 7370 616e 2063 6c61 /span> yla │ │ │ +00018170: 6265 6c3c 2f73 7061 6e3e 203d 3c73 7061 bel ='Loc │ │ │ +000181a0: 6174 696f 6e20 2824 6d24 2926 2333 393b ation ($m$)' │ │ │ +000181b0: 3c2f 7370 616e 3e20 3c73 7061 6e20 636c ti │ │ │ +000181d0: 746c 653c 2f73 7061 6e3e 3d3c 7370 616e tle='Befo │ │ │ +00018200: 7265 206a 6574 202d 302e 3838 3526 2333 re jet -0.885 │ │ │ +00018210: 393b 3c2f 7370 616e 3e20 3c73 7061 6e20 9; │ │ │ +00018230: 6c65 6773 7461 7475 733c 2f73 7061 6e3e legstatus │ │ │ +00018240: 3d3c 7370 616e 2063 6c61 7373 3d22 7374 = │ │ │ +00018260: 393b 6f66 6626 2333 393b 3c2f 7370 616e 9;off'>
.
│ │ │ +00018290: 2020 266c 743b 3c73 7061 6e20 636c 6173 < │ │ │ +000182b0: 706c 745f 636f 6d6d 616e 643c 2f73 7061 plt_command>plt. │ │ │ +000182e0: 7465 7874 3c2f 7370 616e 3e28 2d34 2e32 text(-4.2 │ │ │ +000182f0: 2c20 302e 3131 332c 203c 7370 616e 2063 , 0.113, 'jet │ │ │ +00018320: 393b 3c2f 7370 616e 3e29 266c 743b 2f3c 9;)</< │ │ │ +00018330: 7370 616e 2063 6c61 7373 3d22 6b65 7977 span class="keyw │ │ │ +00018340: 6f72 6474 7970 6522 3e70 6c74 5f63 6f6d ordtype">plt_com │ │ │ +00018350: 6d61 6e64 3c2f 7370 616e 3e26 6774 3b3c mand>< │ │ │ +00018360: 2f64 6976 3e0a 3c64 6976 2063 6c61 7373 /div>.
< │ │ │ +00018380: 3c73 7061 6e20 636c 6173 733d 226b 6579 plt_co │ │ │ +000183a0: 6d6d 616e 643c 2f73 7061 6e3e 2667 743b mmand> │ │ │ +000183b0: 3c73 7061 6e20 636c 6173 733d 226b 6579 plt.text(-4.6, 0.11 │ │ │ +000183e0: 2c20 3c73 7061 6e20 636c 6173 733d 226b , r │ │ │ +00018400: 3c73 7061 6e20 636c 6173 733d 2273 7472 ' │ │ │ +00018420: 3b24 5c64 6f77 6e61 7272 6f77 2426 2333 ;$\downarrow$ │ │ │ +00018430: 393b 3c2f 7370 616e 3e2c 203c 7370 616e 9;, fontsize │ │ │ +00018460: 3d31 3529 266c 743b 2f3c 7370 616e 2063 =15)</plt_command>
. │ │ │ +000184a0: 3c64 6976 2063 6c61 7373 3d22 6c69 6e65
</subplot& │ │ │ +000184e0: 6774 3b3c 2f64 6976 3e0a 3c2f 6469 763e gt;
.
│ │ │ +000184f0: 3c21 2d2d 2066 7261 676d 656e 7420 2d2d

.How t │ │ │ +00018970: 6f20 6669 6e64 2061 2073 796e 7461 7820 o find a syntax │ │ │ +00018980: 6572 726f 7220 696e 2074 6865 2058 4d4c error in the XML │ │ │ +00018990: 2066 696c 653f 3c2f 6833 3e0a 3c70 3e57 file?

.

W │ │ │ +000189a0: 6865 6e20 7468 6572 6520 6973 2061 2074 hen there is a t │ │ │ +000189b0: 7970 6f20 696e 2074 6865 2070 6172 616d ypo in the param │ │ │ +000189c0: 6574 6572 7320 6669 6c65 2c20 5354 5544 eters file, STUD │ │ │ +000189d0: 594d 414e 4147 4552 2069 6e64 6963 6174 YMANAGER indicat │ │ │ +000189e0: 6573 2074 6865 206c 6f63 6174 696f 6e20 es the location │ │ │ +000189f0: 6f66 2074 6865 2065 7272 6f72 2077 6974 of the error wit │ │ │ +00018a00: 6820 7468 6520 6c69 6e65 2061 6e64 2074 h the line and t │ │ │ +00018a10: 6865 2063 6f6c 756d 6e20 6f66 2074 6865 he column of the │ │ │ +00018a20: 2066 696c 653a 203c 2f70 3e3c 6469 7620 file:

my_case.xml f │ │ │ +00018a60: 696c 6520 7265 6164 696e 6720 6572 726f ile reading erro │ │ │ +00018a70: 722e 3c2f 6469 763e 0a3c 6469 7620 636c r.
.
.
This file i │ │ │ +00018ab0: 7320 6e6f 7420 696e 2061 6363 6f72 6461 s not in accorda │ │ │ +00018ac0: 6e63 6520 7769 7468 2058 4d4c 2073 7065 nce with XML spe │ │ │ +00018ad0: 6369 6669 6361 7469 6f6e 732e 3c2f 6469 cifications..
.T │ │ │ +00018b10: 6865 2070 6172 7369 6e67 2073 796e 7461 he parsing synta │ │ │ +00018b20: 7820 6572 726f 7220 6973 3a3c 2f64 6976 x error is:
.
.
my │ │ │ +00018b60: 5f63 6173 652e 786d 6c3a 3836 3a31 323a _case.xml:86:12: │ │ │ +00018b70: 206e 6f74 2077 656c 6c2d 666f 726d 6564 not well-formed │ │ │ +00018b80: 2028 696e 7661 6c69 6420 746f 6b65 6e29 (invalid token) │ │ │ +00018b90: 3c2f 6469 763e 0a3c 2f64 6976 3e3c 212d
.
.How │ │ │ +00018be0: 746f 2072 656e 6465 7220 6c65 7373 2d74 to render less-t │ │ │ +00018bf0: 6861 6e20 616e 6420 6772 6561 7465 722d han and greater- │ │ │ +00018c00: 7468 616e 2073 6967 6e73 2069 6e20 6c65 than signs in le │ │ │ +00018c10: 6765 6e64 732c 2074 6974 6c65 7320 6f72 gends, titles or │ │ │ +00018c20: 2061 7869 7320 6c61 6265 6c73 3f3c 2f68 axis labels?.

The less-t │ │ │ +00018c40: 6861 6e20 266c 743b 2061 6e64 2067 7265 han < and gre │ │ │ +00018c50: 6174 6572 2d74 6861 6e20 2667 743b 2073 ater-than > s │ │ │ +00018c60: 796d 626f 6c73 2061 7265 2061 6d6f 6e67 ymbols are among │ │ │ +00018c70: 2074 6865 2066 6976 6520 7072 6564 6566 the five predef │ │ │ +00018c80: 696e 6564 2065 6e74 6974 6965 7320 6f66 ined entities of │ │ │ +00018c90: 2074 6865 2058 4d4c 2073 7065 6369 6669 the XML specifi │ │ │ +00018ca0: 6361 7469 6f6e 2074 6861 7420 7265 7072 cation that repr │ │ │ +00018cb0: 6573 656e 7420 7370 6563 6961 6c20 6368 esent special ch │ │ │ +00018cc0: 6172 6163 7465 7273 2e3c 2f70 3e0a 3c70 aracters.

.

In order to hav │ │ │ +00018ce0: 6520 6f6e 6520 6f66 2074 6865 2066 6976 e one of the fiv │ │ │ +00018cf0: 6520 7072 6564 6566 696e 6564 2065 6e74 e predefined ent │ │ │ +00018d00: 6974 6965 7320 7265 6e64 6572 6564 2069 ities rendered i │ │ │ +00018d10: 6e20 616e 7920 6c65 6765 6e64 2c20 7469 n any legend, ti │ │ │ +00018d20: 746c 6520 6f72 2061 7869 7320 6c61 6265 tle or axis labe │ │ │ +00018d30: 6c2c 2075 7365 2074 6865 2073 7472 696e l, use the strin │ │ │ +00018d40: 6720 3c63 6f64 653e 3c2f 636f 6465 3e2e g . │ │ │ +00018d50: 2052 6566 6572 2074 6f20 7468 6520 666f Refer to the fo │ │ │ +00018d60: 6c6c 6f77 696e 6720 7461 626c 6520 666f llowing table fo │ │ │ +00018d70: 7220 7468 6520 6e61 6d65 206f 6620 7468 r the name of th │ │ │ +00018d80: 6520 6368 6172 6163 7465 7220 746f 2062 e character to b │ │ │ +00018d90: 6520 7265 6e64 6572 6564 3a3c 2f70 3e0a e rendered:

. │ │ │ +00018da0: 3c61 2063 6c61 7373 3d22 616e 6368 6f72 .
n │ │ │ -00018e30: 616d 6520 3c2f 7468 3e3c 7468 3e63 6861 ame cha │ │ │ -00018e40: 7261 6374 6572 203c 2f74 683e 3c74 683e racter │ │ │ -00018e50: 6465 7363 7269 7074 696f 6e20 3c2f 7468 description
│ │ │ -00018e70: 3c63 6f64 653e 7175 6f74 3c2f 636f 6465 quot " double quo │ │ │ -00018ea0: 7461 7469 6f6e 206d 6172 6b20 3c2f 7464 tation mark
│ │ │ -00018ec0: 3c63 6f64 653e 616d 703c 2f63 6f64 653e amp │ │ │ -00018ed0: 203c 2f74 643e 3c74 643e 2661 6d70 3b20 & │ │ │ -00018ee0: 3c2f 7464 3e3c 7464 3e61 6d70 6572 7361 ampersa │ │ │ -00018ef0: 6e64 203c 2f74 643e 3c2f 7472 3e0a 3c74 nd
apo │ │ │ -00018f10: 733c 2f63 6f64 653e 203c 2f74 643e 3c74 s apo │ │ │ -00018f30: 7374 726f 7068 6520 3c2f 7464 3e3c 2f74 strophe
lt <
gt & │ │ │ -00018fb0: 6774 3b20 3c2f 7464 3e3c 7464 3e67 7265 gt; gre │ │ │ -00018fc0: 6174 6572 2d74 6861 6e20 7369 676e 203c ater-than sign < │ │ │ -00018fd0: 2f74 643e 3c2f 7472 3e0a 3c2f 7461 626c /td>
.Special sym │ │ │ +00018e00: 626f 6c73 206f 6620 7468 6520 584d 4c20 bols of the XML │ │ │ +00018e10: 7370 6563 6966 6963 6174 696f 6e3c 2f63 specification..description ..quot ..amp . │ │ │ +00018f00: 3c74 723e 0a3c 7464 3e3c 636f 6465 3e61 . │ │ │ +00018f20: 3c74 643e 2720 3c2f 7464 3e3c 7464 3e61 < │ │ │ +00018f40: 2f74 723e 0a3c 7472 3e0a 3c74 643e 3c63 /tr>...< │ │ │ +00018f90: 7472 3e0a 3c74 643e 3c63 6f64 653e 6774 tr>...

For any │ │ │ +00018ff0: 6f66 2074 6865 7365 2070 7265 6465 6669 of these predefi │ │ │ +00019000: 6e65 6420 656e 7469 7469 6573 2c20 7468 ned entities, th │ │ │ +00019010: 6520 584d 4c20 7061 7273 6572 2077 696c e XML parser wil │ │ │ +00019020: 6c20 6669 7273 7420 7265 706c 6163 6520 l first replace │ │ │ +00019030: 7468 6520 7374 7269 6e67 203c 636f 6465 the string by the │ │ │ +00019050: 6368 6172 6163 7465 722c 2077 6869 6368 character, which │ │ │ +00019060: 2077 696c 6c20 7468 656e 2061 6c6c 6f77 will then allow │ │ │ +00019070: 203c 696d 6720 636c 6173 733d 2266 6f72 $ 
│ │ │ +00019090: 5c6d 626f 787b 5c4c 6154 6558 7d20 2422  \mbox{\LaTeX} $ (or │ │ │ +000190d0: 204d 6174 6874 6578 7420 6966 203c 696d Mathtext if is disa │ │ │ +00019140: 626c 6564 2920 746f 2070 726f 6365 7373 bled) to process │ │ │ +00019150: 2069 742e 3c2f 703e 0a3c 703e 466f 7220 it.

.

For │ │ │ +00019160: 6578 616d 706c 652c 2069 6e20 6f72 6465 example, in orde │ │ │ +00019170: 7220 746f 2077 7269 7465 203c 696d 6720 r to write $ \lambd
│ │ │ +000191a0: 6126 6c74 3b31 2024 2220 7372 633d 2266  a<1 $ in a legen │ │ │ +000191e0: 642c 2074 6865 2066 6f6c 6c6f 7769 6e67 d, the following │ │ │ +000191f0: 2061 7474 7269 6275 7465 2077 696c 6c20 attribute will │ │ │ +00019200: 6265 2075 7365 643a 203c 2f70 3e3c 6469 be used:

<plot fi │ │ │ +00019240: 673d 2671 756f 743b 3426 7175 6f74 3b20 g="4" │ │ │ +00019250: 666d 743d 2671 756f 743b 6b2d 2d26 7175 fmt="k--&qu │ │ │ +00019260: 6f74 3b20 6c65 6765 6e64 3d26 7175 6f74 ot; legend=" │ │ │ +00019270: 3b73 6f6c 7574 696f 6e20 666f 7220 245c ;solution for $\ │ │ │ +00019280: 6c61 6d62 6461 2026 616d 703b 6c74 3b20 lambda &lt; │ │ │ +00019290: 3124 2671 756f 743b 2078 636f 6c3d 2671 1$" xcol=&q │ │ │ +000192a0: 756f 743b 3126 7175 6f74 3b20 7963 6f6c uot;1" ycol │ │ │ +000192b0: 3d26 7175 6f74 3b32 2671 756f 743b 2f26 ="2"/& │ │ │ +000192c0: 6774 3b3c 2f64 6976 3e0a 3c2f 6469 763e gt;
. │ │ │ +000192d0: 3c21 2d2d 2066 7261 676d 656e 7420 2d2d

│ │ │ +00019760: 3c61 2063 6c61 7373 3d22 616e 6368 6f72 .How to │ │ │ +00019790: 2063 6172 7279 206f 7574 2061 2067 7269 carry out a gri │ │ │ +000197a0: 6420 636f 6e76 6572 6765 6e63 6520 7374 d convergence st │ │ │ +000197b0: 7564 793f 3c2f 6832 3e0a 3c70 3e54 6865 udy?

.

The │ │ │ +000197c0: 2066 6f6c 6c6f 7769 6e67 2065 7861 6d70 following examp │ │ │ +000197d0: 6c65 2073 686f 7773 2068 6f77 2074 6f20 le shows how to │ │ │ +000197e0: 6361 7272 7920 6f75 7420 6120 6772 6964 carry out a grid │ │ │ +000197f0: 2063 6f6e 7665 7267 656e 6365 2073 7475 convergence stu │ │ │ +00019800: 6479 2062 7920 7275 6e6e 696e 6720 7468 dy by running th │ │ │ +00019810: 6520 7361 6d65 2063 6173 6520 7468 7265 e same case thre │ │ │ +00019820: 6520 7469 6d65 7320 616e 6420 6368 616e e times and chan │ │ │ +00019830: 6769 6e67 2074 6865 2070 6172 616d 6574 ging the paramet │ │ │ +00019840: 6572 7320 6265 7477 6565 6e20 6561 6368 ers between each │ │ │ +00019850: 2072 756e 2077 6974 6820 7468 6520 6865 run with the he │ │ │ +00019860: 6c70 206f 6620 6120 7072 6570 726f 6365 lp of a preproce │ │ │ +00019870: 7373 696e 6720 7363 7269 7074 2e3c 2f70 ssing script.

.

Here the me │ │ │ +00019890: 7368 2c20 7468 6520 6d61 7869 6d75 6d20 sh, the maximum │ │ │ +000198a0: 6e75 6d62 6572 206f 6620 6974 6572 6174 number of iterat │ │ │ +000198b0: 696f 6e73 2c20 7468 6520 7265 6665 7265 ions, the refere │ │ │ +000198c0: 6e63 6520 7469 6d65 2073 7465 7020 616e nce time step an │ │ │ +000198d0: 6420 7468 6520 6e75 6d62 6572 206f 6620 d the number of │ │ │ +000198e0: 7072 6f63 6573 7365 7320 6172 6520 6d6f processes are mo │ │ │ +000198f0: 6469 6669 6564 2c20 6265 666f 7265 2065 dified, before e │ │ │ +00019900: 6163 6820 7275 6e2c 2062 7920 7468 6520 ach run, by the │ │ │ +00019910: 6275 696c 742d 696e 203c 636f 6465 3e63 built-in c │ │ │ +00019920: 735f 7061 7261 6d65 7472 6963 5f73 6574 s_parametric_set │ │ │ +00019930: 7570 2e70 793c 2f63 6f64 653e 2073 6372 up.py scr │ │ │ +00019940: 6970 742e 3c2f 703e 0a3c 703e 5468 6520 ipt.

.

The │ │ │ +00019950: 7061 7261 6d65 7465 7273 2066 696c 6520 parameters file │ │ │ +00019960: 6973 2061 7320 666f 6c6c 6f77 733a 3c2f is as follows:.

<< │ │ │ +000199a0: 7370 616e 2063 6c61 7373 3d22 6b65 7977 span class="keyw │ │ │ +000199b0: 6f72 6474 7970 6522 3e63 6173 653c 2f73 ordtype">case compu │ │ │ +000199e0: 7465 3c2f 7370 616e 3e3d 3c73 7061 6e20 te="on&q │ │ │ +00019a10: 756f 743b 3c2f 7370 616e 3e20 3c73 7061 uot; label=< │ │ │ +00019a40: 7370 616e 2063 6c61 7373 3d22 7374 7269 span class="stri │ │ │ +00019a50: 6e67 6c69 7465 7261 6c22 3e26 7175 6f74 ngliteral">" │ │ │ +00019a60: 3b43 4f55 4554 5445 2671 756f 743b 3c2f ;COUETTE" post │ │ │ +00019a90: 3c2f 7370 616e 3e3d 3c73 7061 6e20 636c ="on&quo │ │ │ +00019ac0: 743b 3c2f 7370 616e 3e20 3c73 7061 6e20 t; │ │ │ +00019ae0: 7275 6e5f 6964 3c2f 7370 616e 3e3d 3c73 run_id=" │ │ │ +00019b10: 3231 5f54 6865 7461 5f31 2671 756f 743b 21_Theta_1" │ │ │ +00019b20: 3c2f 7370 616e 3e20 3c73 7061 6e20 636c st │ │ │ +00019b40: 6174 7573 3c2f 7370 616e 3e3d 3c73 7061 atus="on │ │ │ +00019b70: 2671 756f 743b 3c2f 7370 616e 3e26 6774 "> │ │ │ +00019b80: 3b3c 2f64 6976 3e0a 3c64 6976 2063 6c61 ;
.
&l │ │ │ +00019ba0: 743b 3c73 7061 6e20 636c 6173 733d 226b t;para │ │ │ +00019bc0: 6d65 7472 6963 3c2f 7370 616e 3e20 3c73 metric args= │ │ │ +00019bf0: 3c73 7061 6e20 636c 6173 733d 2273 7472 &quo │ │ │ +00019c10: 743b 2d6d 2032 315f 5468 6574 615f 312e t;-m 21_Theta_1. │ │ │ +00019c20: 6d65 6420 2d6e 2034 3030 3020 2d61 2031 med -n 4000 -a 1 │ │ │ +00019c30: 2e20 2d74 2030 2e30 3130 3234 202d 7520 . -t 0.01024 -u │ │ │ +00019c40: 3126 7175 6f74 3b3c 2f73 7061 6e3e 2f26 1"/& │ │ │ +00019c50: 6774 3b3c 2f64 6976 3e0a 3c64 6976 2063 gt;
.
│ │ │ +00019c70: 266c 743b 3c73 7061 6e20 636c 6173 733d <da │ │ │ +00019c90: 7461 3c2f 7370 616e 3e20 3c73 7061 6e20 ta │ │ │ +00019cb0: 6465 7374 3c2f 7370 616e 3e3d 3c73 7061 dest="&q │ │ │ +00019ce0: 756f 743b 3c2f 7370 616e 3e20 3c73 7061 uot; file=" │ │ │ +00019d30: 7072 6f66 696c 652e 6461 7426 7175 6f74 profile.dat" │ │ │ +00019d40: 3b3c 2f73 7061 6e3e 2667 743b 3c2f 6469 ;>.
< │ │ │ +00019d70: 3b3c 7370 616e 2063 6c61 7373 3d22 6b65 ;plot< │ │ │ +00019d90: 2f73 7061 6e3e 203c 7370 616e 2063 6c61 /span> fig │ │ │ +00019db0: 3c2f 7370 616e 3e3d 3c73 7061 6e20 636c ="5" │ │ │ +00019de0: 3b3c 2f73 7061 6e3e 203c 7370 616e 2063 ; f │ │ │ +00019e00: 6d74 3c2f 7370 616e 3e3d 3c73 7061 6e20 mt="r-+& │ │ │ +00019e30: 7175 6f74 3b3c 2f73 7061 6e3e 203c 7370 quot; legend │ │ │ +00019e60: 3d3c 7370 616e 2063 6c61 7373 3d22 7374 =&qu │ │ │ +00019e80: 6f74 3b32 3120 7468 6574 6120 3126 7175 ot;21 theta 1&qu │ │ │ +00019e90: 6f74 3b3c 2f73 7061 6e3e 203c 7370 616e ot; markersize=& │ │ │ +00019ee0: 7175 6f74 3b35 2e35 2671 756f 743b 3c2f quot;5.5" xcol │ │ │ +00019f10: 3c2f 7370 616e 3e3d 3c73 7061 6e20 636c ="1" │ │ │ +00019f40: 3b3c 2f73 7061 6e3e 203c 7370 616e 2063 ; y │ │ │ +00019f60: 636f 6c3c 2f73 7061 6e3e 3d3c 7370 616e col="5&q │ │ │ +00019f90: 756f 743b 3c2f 7370 616e 3e2f 2667 743b uot;/> │ │ │ +00019fa0: 3c2f 6469 763e 0a3c 6469 7620 636c 6173
.
< │ │ │ +00019fc0: 3b2f 3c73 7061 6e20 636c 6173 733d 226b ;/data │ │ │ +00019fe0: 3c2f 7370 616e 3e26 6774 3b3c 2f64 6976 >
.
</case&g │ │ │ +0001a030: 743b 3c2f 6469 763e 0a3c 6469 7620 636c t;
.
.
<case < │ │ │ +0001a090: 7370 616e 2063 6c61 7373 3d22 6b65 7977 span class="keyw │ │ │ +0001a0a0: 6f72 6422 3e63 6f6d 7075 7465 3c2f 7370 ord">compute= │ │ │ +0001a0d0: 2671 756f 743b 6f6e 2671 756f 743b 3c2f "on" labe │ │ │ +0001a100: 6c3c 2f73 7061 6e3e 3d3c 7370 616e 2063 l="COUET │ │ │ +0001a130: 5445 2671 756f 743b 3c2f 7370 616e 3e20 TE" │ │ │ +0001a140: 3c73 7061 6e20 636c 6173 733d 226b 6579 post=&q │ │ │ +0001a180: 756f 743b 6f6e 2671 756f 743b 3c2f 7370 uot;on" run_id │ │ │ +0001a1b0: 3c2f 7370 616e 3e3d 3c73 7061 6e20 636c ="43_The │ │ │ +0001a1e0: 7461 5f30 3526 7175 6f74 3b3c 2f73 7061 ta_05" status< │ │ │ +0001a210: 2f73 7061 6e3e 3d3c 7370 616e 2063 6c61 /span>="on" │ │ │ +0001a240: 3b3c 2f73 7061 6e3e 2667 743b 3c2f 6469 ;>.
<parametri │ │ │ +0001a290: 633c 2f73 7061 6e3e 203c 7370 616e 2063 c a │ │ │ +0001a2b0: 7267 733c 2f73 7061 6e3e 3d3c 7370 616e rgs="-m │ │ │ +0001a2e0: 3433 5f54 6865 7461 5f30 352e 6d65 6420 43_Theta_05.med │ │ │ +0001a2f0: 2d6e 2038 3030 3020 2d61 2030 2e35 2e20 -n 8000 -a 0.5. │ │ │ +0001a300: 2d74 2030 2e30 3035 3132 2671 756f 743b -t 0.00512" │ │ │ +0001a310: 3c2f 7370 616e 3e2f 2667 743b 3c2f 6469 />.
<data dest="" file< │ │ │ +0001a3d0: 2f73 7061 6e3e 3d3c 7370 616e 2063 6c61 /span>="profile │ │ │ +0001a400: 2e64 6174 2671 756f 743b 3c2f 7370 616e .dat">
.
│ │ │ +0001a430: 2020 2020 2020 266c 743b 3c73 7061 6e20 <plot │ │ │ +0001a460: 3c73 7061 6e20 636c 6173 733d 226b 6579 fig │ │ │ +0001a480: 3d3c 7370 616e 2063 6c61 7373 3d22 7374 =&qu │ │ │ +0001a4a0: 6f74 3b35 2671 756f 743b 3c2f 7370 616e ot;5" fmt=& │ │ │ +0001a4f0: 7175 6f74 3b62 2671 756f 743b 3c2f 7370 quot;b" legend │ │ │ +0001a520: 3c2f 7370 616e 3e3d 3c73 7061 6e20 636c ="43 The │ │ │ +0001a550: 7461 2030 3526 7175 6f74 3b3c 2f73 7061 ta 05" markers │ │ │ +0001a580: 697a 653c 2f73 7061 6e3e 3d3c 7370 616e ize="5.5 │ │ │ +0001a5b0: 2671 756f 743b 3c2f 7370 616e 3e20 3c73 " xcol= │ │ │ +0001a5e0: 3c73 7061 6e20 636c 6173 733d 2273 7472 &quo │ │ │ +0001a600: 743b 3126 7175 6f74 3b3c 2f73 7061 6e3e t;1" │ │ │ +0001a610: 203c 7370 616e 2063 6c61 7373 3d22 6b65 ycol=& │ │ │ +0001a650: 7175 6f74 3b35 2671 756f 743b 3c2f 7370 quot;5"/>
.< │ │ │ +0001a670: 6469 7620 636c 6173 733d 226c 696e 6522 div class="line" │ │ │ +0001a680: 3e20 2020 2026 6c74 3b2f 3c73 7061 6e20 > </data& │ │ │ +0001a6b0: 6774 3b3c 2f64 6976 3e0a 3c64 6976 2063 gt;
.
< │ │ │ +0001a6d0: 2f3c 7370 616e 2063 6c61 7373 3d22 6b65 /case< │ │ │ +0001a6f0: 2f73 7061 6e3e 2667 743b 3c2f 6469 763e /span>>
│ │ │ +0001a700: 0a3c 6469 7620 636c 6173 733d 226c 696e .
.
< │ │ │ +0001a730: 3b3c 7370 616e 2063 6c61 7373 3d22 6b65 ;case< │ │ │ +0001a750: 2f73 7061 6e3e 203c 7370 616e 2063 6c61 /span> com │ │ │ +0001a770: 7075 7465 3c2f 7370 616e 3e3d 3c73 7061 pute="on │ │ │ +0001a7a0: 2671 756f 743b 3c2f 7370 616e 3e20 3c73 " label │ │ │ +0001a7d0: 3d3c 7370 616e 2063 6c61 7373 3d22 7374 =&qu │ │ │ +0001a7f0: 6f74 3b43 4f55 4554 5445 2671 756f 743b ot;COUETTE" │ │ │ +0001a800: 3c2f 7370 616e 3e20 3c73 7061 6e20 636c po │ │ │ +0001a820: 7374 3c2f 7370 616e 3e3d 3c73 7061 6e20 st="on&q │ │ │ +0001a850: 756f 743b 3c2f 7370 616e 3e20 3c73 7061 uot; run_id= │ │ │ +0001a880: 3c73 7061 6e20 636c 6173 733d 2273 7472 &quo │ │ │ +0001a8a0: 743b 3836 5f54 6865 7461 5f30 3235 2671 t;86_Theta_025&q │ │ │ +0001a8b0: 756f 743b 3c2f 7370 616e 3e20 3c73 7061 uot; status= │ │ │ +0001a8e0: 3c73 7061 6e20 636c 6173 733d 2273 7472 &quo │ │ │ +0001a900: 743b 6f6e 2671 756f 743b 3c2f 7370 616e t;on">
.
│ │ │ +0001a930: 2020 266c 743b 3c73 7061 6e20 636c 6173 < │ │ │ +0001a950: 7061 7261 6d65 7472 6963 3c2f 7370 616e parametric args= │ │ │ +0001a9a0: 2671 756f 743b 2d6d 2038 365f 5468 6574 "-m 86_Thet │ │ │ +0001a9b0: 615f 3032 352e 6d65 6420 2d6e 2031 3630 a_025.med -n 160 │ │ │ +0001a9c0: 3030 202d 6120 302e 3235 202d 7420 302e 00 -a 0.25 -t 0. │ │ │ +0001a9d0: 3030 3235 3620 2d75 2034 2671 756f 743b 00256 -u 4" │ │ │ +0001a9e0: 3c2f 7370 616e 3e2f 2667 743b 3c2f 6469 />.
<data dest="" file< │ │ │ +0001aaa0: 2f73 7061 6e3e 3d3c 7370 616e 2063 6c61 /span>="profile │ │ │ +0001aad0: 2e64 6174 2671 756f 743b 3c2f 7370 616e .dat">
.
│ │ │ +0001ab00: 2020 2020 2020 266c 743b 3c73 7061 6e20 <plot │ │ │ +0001ab30: 3c73 7061 6e20 636c 6173 733d 226b 6579 fig │ │ │ +0001ab50: 3d3c 7370 616e 2063 6c61 7373 3d22 7374 =&qu │ │ │ +0001ab70: 6f74 3b35 2671 756f 743b 3c2f 7370 616e ot;5" fmt=& │ │ │ +0001abc0: 7175 6f74 3b67 2671 756f 743b 3c2f 7370 quot;g" legend │ │ │ +0001abf0: 3c2f 7370 616e 3e3d 3c73 7061 6e20 636c ="86 The │ │ │ +0001ac20: 7461 2030 3235 2671 756f 743b 3c2f 7370 ta 025" marker │ │ │ +0001ac50: 7369 7a65 3c2f 7370 616e 3e3d 3c73 7061 size="5. │ │ │ +0001ac80: 3526 7175 6f74 3b3c 2f73 7061 6e3e 203c 5" < │ │ │ +0001ac90: 7370 616e 2063 6c61 7373 3d22 6b65 7977 span class="keyw │ │ │ +0001aca0: 6f72 6422 3e78 636f 6c3c 2f73 7061 6e3e ord">xcol │ │ │ +0001acb0: 3d3c 7370 616e 2063 6c61 7373 3d22 7374 =&qu │ │ │ +0001acd0: 6f74 3b31 2671 756f 743b 3c2f 7370 616e ot;1" ycol= │ │ │ +0001ad20: 2671 756f 743b 3526 7175 6f74 3b3c 2f73 "5"/>
. │ │ │ +0001ad40: 3c64 6976 2063 6c61 7373 3d22 6c69 6e65
</data │ │ │ +0001ad80: 2667 743b 3c2f 6469 763e 0a3c 6469 7620 >
.
< │ │ │ +0001ada0: 3b2f 3c73 7061 6e20 636c 6173 733d 226b ;/case │ │ │ +0001adc0: 3c2f 7370 616e 3e26 6774 3b3c 2f64 6976 >
.

Reca │ │ │ +0001adf0: 6c6c 2074 6861 7420 7468 6520 6361 7365 ll that the case │ │ │ +0001ae00: 2061 7474 7269 6275 7465 203c 636f 6465 attribute run_idshould be gi │ │ │ +0001ae30: 7665 6e20 6120 6469 6666 6572 656e 7420 ven a different │ │ │ +0001ae40: 7661 6c75 6520 666f 7220 6561 6368 2072 value for each r │ │ │ +0001ae50: 756e 2c20 7768 696c 6520 7468 653c 2f63 un, while thelabel` shoul │ │ │ +0001ae70: 6420 7374 6179 2074 6865 2073 616d 652e d stay the same. │ │ │ +0001ae80: 3c2f 703e 0a3c 6832 3e3c 6120 636c 6173

.

.How to conver │ │ │ +0001aec0: 7420 6465 7072 6563 6174 6564 2026 6c74 t deprecated < │ │ │ +0001aed0: 3b74 7426 6774 3b26 6c74 3b70 7265 7072 ;tt><prepr │ │ │ +0001aee0: 6f26 6774 3b26 6c74 3b2f 7474 2667 743b o></tt> │ │ │ +0001aef0: 2073 6372 6970 7473 2e3c 2f68 323e 0a3c scripts.

.< │ │ │ +0001af00: 703e 546f 2075 7064 6174 6520 6120 7365 p>To update a se │ │ │ +0001af10: 7475 7020 6261 7365 6420 6f6e 2061 2073 tup based on a s │ │ │ +0001af20: 6372 6970 7420 6361 6c6c 6564 2077 6974 cript called wit │ │ │ +0001af30: 6820 7468 6520 6465 7072 6563 6174 6564 h the deprecated │ │ │ +0001af40: 203c 636f 6465 3e26 6c74 3b70 7265 7072 <prepr │ │ │ +0001af50: 6f26 6774 3b3c 2f63 6f64 653e 2074 6167 o> tag │ │ │ +0001af60: 2c20 7369 6d70 6c79 2063 6f70 7920 7468 , simply copy th │ │ │ +0001af70: 6520 636f 6e74 656e 7473 206f 6620 7468 e contents of th │ │ │ +0001af80: 6174 2073 6372 6970 7420 696e 2074 6865 at script in the │ │ │ +0001af90: 2022 6c6f 6361 6c20 6675 6e63 7469 6f6e "local function │ │ │ +0001afa0: 7322 2073 6563 7469 6f6e 206f 6620 7468 s" section of th │ │ │ +0001afb0: 6520 6f70 7469 6f6e 616c 203c 636f 6465 e optional DATA/cs_user_sc │ │ │ +0001afd0: 7269 7074 732e 7079 3c2f 636f 6465 3e20 ripts.py │ │ │ +0001afe0: 7573 6572 2073 6372 6970 7473 2c20 7265 user scripts, re │ │ │ +0001aff0: 6e61 6d69 6e67 203c 636f 6465 3e6d 6169 naming mai │ │ │ +0001b000: 6e3c 2f63 6f64 653e 2074 6f20 616e 6f74 n to anot │ │ │ +0001b010: 6865 7220 6368 6f73 6520 6e61 6d65 2c20 her chose name, │ │ │ +0001b020: 666f 7220 6578 616d 706c 6520 3c63 6f64 for example prepro
. │ │ │ +0001b040: 3c2f 703e 0a3c 703e 5265 6d6f 7665 2074

.

Remove t │ │ │ +0001b050: 6865 2073 6563 7469 6f6e 2072 6573 656d he section resem │ │ │ +0001b060: 626c 696e 673a 3c2f 703e 0a3c 6469 7620 bling:

.
if< │ │ │ +0001b0b0: 2f73 7061 6e3e 205f 5f6e 616d 655f 5f20 /span> __name__ │ │ │ +0001b0c0: 3d3d 203c 7370 616e 2063 6c61 7373 3d22 == & │ │ │ +0001b0e0: 2333 393b 5f5f 6d61 696e 5f5f 2623 3339 #39;__main__' │ │ │ +0001b0f0: 3b3c 2f73 7061 6e3e 3a3c 2f64 6976 3e0a ;:
. │ │ │ +0001b100: 3c64 6976 2063 6c61 7373 3d22 6c69 6e65

and a │ │ │ +0001b1e0: 6464 2074 6865 2066 6f6c 6c6f 7769 6e67 dd the following │ │ │ +0001b1f0: 2073 6563 7469 6f6e 2069 6e20 7468 6520 section in the │ │ │ +0001b200: 3c63 6f64 653e 6465 6669 6e65 5f64 6f6d define_dom │ │ │ +0001b210: 6169 6e5f 7061 7261 6d65 7465 7273 3c2f ain_parameters function:< │ │ │ +0001b230: 2f70 3e0a 3c64 6976 2063 6c61 7373 3d22 /p>.

opti │ │ │ +0001b260: 6f6e 7320 3d20 7072 6f63 6573 735f 636d ons = process_cm │ │ │ +0001b270: 645f 6c69 6e65 2864 6f6d 6169 6e2e 6b77 d_line(domain.kw │ │ │ +0001b280: 5f61 7267 7329 3c2f 6469 763e 0a3c 6469 _args)
.p │ │ │ +0001b2a0: 7265 7072 6f28 6f70 7469 6f6e 7329 3c2f repro(options).

R │ │ │ +0001b2d0: 656d 656d 6265 7220 7468 6174 2077 6865 emember that whe │ │ │ +0001b2e0: 6e20 6d6f 6469 6679 696e 6720 6d65 7368 n modifying mesh │ │ │ +0001b2f0: 206f 7220 7265 7374 6172 7420 6669 6c65 or restart file │ │ │ +0001b300: 2073 656c 6563 7469 6f6e 732c 2074 6865 selections, the │ │ │ +0001b310: 206d 6174 6368 696e 6720 7661 6c75 6573 matching values │ │ │ +0001b320: 2068 6176 6520 616c 7265 6164 7920 6265 have already be │ │ │ +0001b330: 656e 2072 6561 6420 616e 6420 6173 7369 en read and assi │ │ │ +0001b340: 676e 6564 2074 6f20 3c63 6f64 653e 646f gned to do │ │ │ +0001b350: 6d61 696e 3c2f 636f 6465 3e20 6174 2074 main at t │ │ │ +0001b360: 6869 7320 706f 696e 742c 2073 6f20 7468 his point, so th │ │ │ +0001b370: 6520 6d61 7463 6869 6e67 203c 636f 6465 e matching domain e │ │ │ +0001b390: 6e74 7269 6573 2073 686f 756c 6420 6265 ntries should be │ │ │ +0001b3a0: 206d 6f64 6966 6965 6420 6469 7265 6374 modified direct │ │ │ +0001b3b0: 6c79 2c20 696e 7374 6561 6420 6f66 206d ly, instead of m │ │ │ +0001b3c0: 6f64 6966 7969 6e67 2074 6865 2058 4d4c odifying the XML │ │ │ +0001b3d0: 2066 696c 652e 3c2f 703e 0a3c 703e 416c file.

.

Al │ │ │ +0001b3e0: 736f 2077 6865 6e20 7265 6164 696e 6720 so when reading │ │ │ +0001b3f0: 6f72 2077 7269 7469 6e67 2061 2073 6574 or writing a set │ │ │ +0001b400: 7570 2058 4d4c 2066 696c 652c 2074 6865 up XML file, the │ │ │ +0001b410: 2070 6174 6820 746f 2074 6861 7420 6669 path to that fi │ │ │ +0001b420: 6c65 2073 686f 756c 6420 7369 6d70 6c79 le should simply │ │ │ +0001b430: 2062 6520 3c63 6f64 653e 7365 7475 702e be setup. │ │ │ +0001b440: 786d 6c3c 2f63 6f64 653e 206f 7220 3c63 xml or domain.param │ │ │ +0001b460: 3c2f 636f 6465 3e2c 2061 7320 7468 6973 , as this │ │ │ +0001b470: 2066 756e 6374 696f 6e20 6973 2063 616c function is cal │ │ │ +0001b480: 6c65 6420 6469 7265 6374 6c79 2066 726f led directly fro │ │ │ +0001b490: 6d20 7468 6520 6578 6563 7574 696f 6e20 m the execution │ │ │ +0001b4a0: 6469 7265 6374 6f72 792c 2061 6e64 2073 directory, and s │ │ │ +0001b4b0: 686f 756c 6420 6e6f 7420 6d6f 6469 6679 hould not modify │ │ │ +0001b4c0: 2074 6865 2075 7073 7472 6561 6d20 7365 the upstream se │ │ │ +0001b4d0: 7475 702e 3c2f 703e 0a3c 703e 496e 2074 tup.

.

In t │ │ │ +0001b4e0: 6865 2053 5455 4459 4d41 4e41 4745 5220 he STUDYMANAGER │ │ │ +0001b4f0: 584d 4c20 6669 6c65 2c20 3c63 6f64 653e XML file, │ │ │ +0001b500: 266c 743b 7072 6570 726f 2667 743b 3c2f <prepro> can then s │ │ │ +0001b520: 696d 706c 7920 6265 2072 6570 6c61 6365 imply be replace │ │ │ +0001b530: 6420 7769 7468 203c 636f 6465 3e26 6c74 d with < │ │ │ +0001b540: 3b6b 775f 6172 6773 2667 743b 3c2f 636f ;kw_args>. Only the args │ │ │ +0001b570: 6174 7472 6962 7574 6520 6973 2075 7365 attribute is use │ │ │ +0001b580: 642c 2073 6f20 6f74 6865 7220 6174 7472 d, so other attr │ │ │ +0001b590: 6962 7574 6573 2028 3c63 6f64 653e 6c61 ibutes (la │ │ │ +0001b5a0: 6265 6c3c 2f63 6f64 653e 2061 6e64 203c bel and < │ │ │ +0001b5b0: 636f 6465 3e73 7461 7475 733c 2f63 6f64 code>status) can be remov │ │ │ +0001b5d0: 6564 2e20 416c 736f 2c20 7468 6520 3c63 ed. Also, the -c or │ │ │ +0001b5f0: 203c 636f 6465 3e2d 2d63 6173 653c 2f63 --case arguments c │ │ │ +0001b610: 6f6d 6d6f 6e6c 7920 7573 6564 2074 6f20 ommonly used to │ │ │ +0001b620: 696e 6469 6361 7465 2074 6865 206d 6174 indicate the mat │ │ │ +0001b630: 6368 696e 6720 6361 7365 2061 7265 206e ching case are n │ │ │ +0001b640: 6f74 206e 6563 6573 7361 7279 2061 6e79 ot necessary any │ │ │ +0001b650: 6d6f 7265 2e3c 2f70 3e0a 3c70 3e4e 6f74 more.

.

Not │ │ │ +0001b660: 6520 616c 736f 2074 6861 7420 7573 696e e also that usin │ │ │ +0001b670: 6720 7468 6520 3c63 6f64 653e 266c 743b g the < │ │ │ +0001b680: 6e6f 7465 626f 6f6b 2667 743b 3c2f 636f notebook> and &l │ │ │ +0001b6a0: 743b 7061 7261 6d65 7472 6963 2667 743b t;parametric> │ │ │ +0001b6b0: 3c2f 636f 6465 3e20 7461 6773 2069 7320 tags is │ │ │ +0001b6c0: 7369 6d70 6c65 7220 666f 7220 6e6f 7465 simpler for note │ │ │ +0001b6d0: 626f 6f6b 2076 616c 7565 7320 6f72 206f book values or o │ │ │ +0001b6e0: 7074 696f 6e73 2061 6c72 6561 6479 2068 ptions already h │ │ │ +0001b6f0: 616e 646c 6564 2062 7920 7468 6520 3c63 andled by the cs_parametri │ │ │ +0001b710: 635f 7365 7475 702e 7079 3c2f 636f 6465 c_setup.py script, as the │ │ │ +0001b730: 7920 7265 7175 6972 6520 6e6f 2069 6e74 y require no int │ │ │ +0001b740: 6572 7665 6e74 696f 6e20 696e 203c 636f ervention in cs_user_scrip │ │ │ +0001b760: 7473 2e70 793c 2f63 6f64 653e 2e20 4173 ts.py. As │ │ │ +0001b770: 2075 7375 616c 2c20 7468 6520 6170 7072 usual, the appr │ │ │ +0001b780: 6f61 6368 6573 2063 616e 2062 6520 6d69 oaches can be mi │ │ │ +0001b790: 7865 642c 2073 6f20 6173 2074 6f20 6d69 xed, so as to mi │ │ │ +0001b7a0: 6e69 6d69 7a65 2074 6865 2073 697a 6520 nimize the size │ │ │ +0001b7b0: 6f66 2074 6865 2075 7365 7220 7363 7269 of the user scri │ │ │ +0001b7c0: 7074 732e 203c 2f70 3e0a 3c2f 6469 763e pts.

.
│ │ │ +0001b7d0: 3c2f 6469 763e 3c21 2d2d 2063 6f6e 7465
.
.< │ │ │ +0001b800: 2f64 6976 3e3c 212d 2d20 646f 632d 636f /div>..
.
    . │ │ │ +0001b890: 3c6c 6920 636c 6173 733d 2266 6f6f 7465
  • Generated on │ │ │ +0001b8b0: 5375 6e20 4e6f 7620 3134 2032 3032 3120 Sun Nov 14 2021 │ │ │ +0001b8c0: 3233 3a34 323a 3135 2066 6f72 2063 6f64 23:42:15 for cod │ │ │ +0001b8d0: 655f 7361 7475 726e 6520 6279 203c 6120 e_saturne by dox
│ │ │ +0001b950: 7967 656e 222f 3e3c 2f61 3e20 312e 392e  ygen 1.9. │ │ │ +0001b960: 3120 3c2f 6c69 3e0a 2020 3c2f 756c 3e0a 1
  • .
. │ │ │ +0001b970: 3c2f 6469 763e 0a3c 2f62 6f64 793e 0a3c
..< │ │ │ +0001b980: 2f68 746d 6c3e 0a /html>. │ │ │ ├── html2text {} │ │ │ │ @@ -752,18 +752,18 @@ │ │ │ │ │ │ │ │ /home/dupond/codesaturne/MyRepository │ │ │ │ /home/dupond/codesaturne/MyDestination │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ -KjÅR │ │ │ │ -u´îQðU │ │ │ │ -u´îQðU │ │ │ │ -KjÅRðU │ │ │ │ +µÛMÁU │ │ │ │ +³jÈÂsU │ │ │ │ +³jÈÂsU │ │ │ │ +µÛMÁsU │ │ │ │ --> │ │ │ │ │ │ │ │ HHooww ttoo aadddd tteexxtt iinn aa ffiigguurree?? │ │ │ │ It is possible to use raw commands: │ │ │ │ │ │ │ │ plt.text(-4.2, 0.113, 'jet')
name c │ │ │ +00018e40: 6861 7261 6374 6572 203c 2f74 683e 3c74 haracter
" < │ │ │ +00018e90: 2f74 643e 3c74 643e 646f 7562 6c65 2071 /td>double q │ │ │ +00018ea0: 756f 7461 7469 6f6e 206d 6172 6b20 3c2f uotation mark
& │ │ │ +00018ee0: 3b20 3c2f 7464 3e3c 7464 3e61 6d70 6572 ; amper │ │ │ +00018ef0: 7361 6e64 203c 2f74 643e 3c2f 7472 3e0a sand
a │ │ │ +00018f10: 706f 733c 2f63 6f64 653e 203c 2f74 643e pos ' a │ │ │ +00018f30: 706f 7374 726f 7068 6520 3c2f 7464 3e3c postrophe
lt < less-than s │ │ │ +00018f80: 6967 6e20 3c2f 7464 3e3c 2f74 723e 0a3c ign
gt │ │ │ +00018fa0: 3c2f 636f 6465 3e20 3c2f 7464 3e3c 7464 > g │ │ │ +00018fc0: 7265 6174 6572 2d74 6861 6e20 7369 676e reater-than sign │ │ │ +00018fd0: 203c 2f74 643e 3c2f 7472 3e0a 3c2f 7461