<html><body><div style="font-family: trebuchet ms,sans-serif; font-size: 12pt; color: #000066"><div>Hi Michael,<br></div><div><br></div><div>Thanks a lot !</div><div>I think these files would be perfect in the tutorials folder !<br data-mce-bogus="1"></div><div>Cheers,<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div data-marker="__SIG_PRE__"><div> <span data-mce-style="font-family: 'trebuchet ms',sans-serif; color: #000080;" style="font-family: "trebuchet ms",sans-serif; color: rgb(0, 0, 128);"> Gilles<br></span></div><div><span data-mce-style="font-family: 'trebuchet ms',sans-serif; color: #000080;" style="font-family: "trebuchet ms",sans-serif; color: rgb(0, 0, 128);"><br data-mce-bogus="1"></span></div></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><blockquote style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>De: </b>"michael asam" <michael.asam@infineon.com><br><b>À: </b>quemener@lpccaen.in2p3.fr<br><b>Cc: </b>getdp@geuz.org<br><b>Envoyé: </b>Mardi 24 Mai 2016 16:24:58<br><b>Objet: </b>RE: Evaluate a scalar field at some points, print values on terminal and use them in PostOperation<br></blockquote></div><div data-marker="__QUOTED_TEXT__"><blockquote style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><div class="WordSection1"><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">Hi Gilles, </span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"> </span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">your firewall blocks zip-files. Therefore I renamed it to .txt.</span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">Please rename it back and unzip it.</span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"> </span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">Cheers,</span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">Michael</span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"> </span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"> </span></p><div><div style="border: none; border-top: solid #B5C4DF 1.0pt; padding: 3.0pt 0cm 0cm 0cm;" data-mce-style="border: none; border-top: solid #B5C4DF 1.0pt; padding: 3.0pt 0cm 0cm 0cm;"><p class="MsoNormal"><b><span style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif';" data-mce-style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif';" lang="DE">From:</span></b><span style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif';" data-mce-style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif';" lang="DE"> Asam Michael (IFAG ATV BP D PD DES1) <br> <b>Sent:</b> Tuesday, May 24, 2016 4:23 PM<br> <b>To:</b> 'gilles quemener'<br> <b>Cc:</b> getdp@geuz.org<br> <b>Subject:</b> RE: Evaluate a scalar field at some points, print values on terminal and use them in PostOperation</span></p></div></div><p class="MsoNormal"> </p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">Hi Gilles,</span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"> </span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">in the attachments you’ll find a simple example which I had at hand for calculating an electrostatic potential. There I implemented</span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">the evaluation of the potential at a certain point and the evaluation of the maximum potential. The last one is just for demonstration,</span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">because the maximum voltage is given by the Dirichlet boundary condition. The results are displayed in Gmsh’s</span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">sidebar.</span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"> </span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">Regarding the benchmark folder: I just saw that it is obviously not in the ziped file which you can download from the homepage.</span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">But you can find it here online: <a href="https://onelab.info/trac/getdp/browser/trunk/benchmarks" target="_blank" data-mce-href="https://onelab.info/trac/getdp/browser/trunk/benchmarks">https://onelab.info/trac/getdp/browser/trunk/benchmarks</a> There are many nice examples.</span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">Also on the onelab homepage you can find good and well documented examples: <a href="http://onelab.info/wiki/GetDP" target="_blank" data-mce-href="http://onelab.info/wiki/GetDP">http://onelab.info/wiki/GetDP</a></span><br data-mce-bogus="1"></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"> </span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">Have a nice day!</span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">Michael</span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"> </span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"> </span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"> </span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"> </span></p><div><div style="border: none; border-top: solid #B5C4DF 1.0pt; padding: 3.0pt 0cm 0cm 0cm;" data-mce-style="border: none; border-top: solid #B5C4DF 1.0pt; padding: 3.0pt 0cm 0cm 0cm;"><p class="MsoNormal"><b><span style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif';" data-mce-style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif';" lang="DE">From:</span></b><span style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif';" data-mce-style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif';" lang="DE"> gilles quemener [<a href="mailto:quemener@lpccaen.in2p3.fr" target="_blank" data-mce-href="mailto:quemener@lpccaen.in2p3.fr">mailto:quemener@lpccaen.in2p3.fr</a>] <br> <b>Sent:</b> Tuesday, May 24, 2016 2:59 PM<br> <b>To:</b> Asam Michael (IFAG ATV BP D PD DES1)<br> <b>Cc:</b> <a href="mailto:getdp@onelab.info" target="_blank" data-mce-href="mailto:getdp@onelab.info">getdp@onelab.info</a><br> <b>Subject:</b> Re: Evaluate a scalar field at some points, print values on terminal and use them in PostOperation</span></p></div></div><p class="MsoNormal"> </p><div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;">Hi Michael,<br> <br> Thanks a lot for your answer, it helped me a bit but I still have some problems using registers.<br> In the GetDP, Gmsh and Onelab sources, I could not find any folder named "benchmarks".<br> However, I looked at the GetDP manual as well as at the different examples in the "models" </span></p></div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;">folder but still I could not figured out how to use registers in Print and Echo commands.<br> In the following code snippet you will find among other things I have tested what fails at parsing </span></p></div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;">time.<br> <br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;">//Post Operation</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;">//==============</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;">PostOperation{</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> {Name Map_u; NameOfPostProcessing CubicCavity;</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> Operation{</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> <br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> // Stores in register #1 the scalar potential value evaluated at point {0, 0, 0.5}:</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> Print [ utotm, OnPoint {0, 0, 0.5}, StoreInRegister 1, Format SimpleTable, File "Result_Dummy.txt" ]; // WORKS !!!</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> <br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> // Stores in register #2 the minimum value of the scalar potential over region GammaInner:</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> Print [ utotm, OnElementsOf GammaInner, StoreMinInRegister 2, Format SimpleTable, File "Result_Dummy.txt" ]; // WORKS !!!</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> Echo [ Sprintf("Min = %g", #1) ]; // FAILS !!!!</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> <br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> // Stores in register #3 the maximum value of the scalar potential over region GammaInner:</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> Print [ utotm, OnElementsOf GammaInner, StoreMaxInRegister 3, Format SimpleTable, File "Result_Dummy.txt" ]; // WORKS !!!</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> Echo [ Sprintf("Max = %g", #2) ]; // FAILS !!!!</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"></span></p></div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"> </span></p></div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"> // Tentative to retrieve iso-contour points for the potential utotm = (utotmMin + utotmMax) / 2 :<br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> Print [ utotm, OnElementsOf GammaInner, Iso { 0.5 * (#2 + #3) }, Sort Position, Format SimpleTable, File "out1.txt" ]; // FAILS !!!!</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> Print [ utotm, OnElementsOf GammaInner, Iso { Evaluate[ 0.5 * (#2 + #3)] }, Sort Position, Format SimpleTable, File "out2.txt" ]; // FAILS !!!!</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> }</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> }</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;">}</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"></span></p></div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"> </span></p></div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;">Thanks a lot for any help,</span></p></div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"> </span></p></div><div><div><p class="MsoNormal" style="margin-bottom: 12.0pt;" data-mce-style="margin-bottom: 12.0pt;"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"> </span><span style="font-family: 'Trebuchet MS','sans-serif'; color: navy;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: navy;"> Gilles</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"></span></p></div></div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"> </span></p><div class="MsoNormal" style="text-align: center;" data-mce-style="text-align: center;" align="center"><hr width="100%" align="center" size="2"></div><div><blockquote style="border: none; border-left: solid #1010FF 1.5pt; padding: 0cm 0cm 0cm 4.0pt; margin-left: 3.75pt; margin-top: 5.0pt; margin-bottom: 5.0pt;" data-mce-style="border: none; border-left: solid #1010FF 1.5pt; padding: 0cm 0cm 0cm 4.0pt; margin-left: 3.75pt; margin-top: 5.0pt; margin-bottom: 5.0pt;"><p class="MsoNormal"><b><span style="font-family: 'Helvetica','sans-serif'; color: black;" data-mce-style="font-family: 'Helvetica','sans-serif'; color: black;">De: </span></b><span style="font-family: 'Helvetica','sans-serif'; color: black;" data-mce-style="font-family: 'Helvetica','sans-serif'; color: black;">"michael asam" <<a href="mailto:michael.asam@infineon.com" target="_blank" data-mce-href="mailto:michael.asam@infineon.com">michael.asam@infineon.com</a>><br> <b>À: </b><a href="mailto:quemener@lpccaen.in2p3.fr" target="_blank" data-mce-href="mailto:quemener@lpccaen.in2p3.fr">quemener@lpccaen.in2p3.fr</a><br> <b>Cc: </b><a href="mailto:getdp@geuz.org" target="_blank" data-mce-href="mailto:getdp@geuz.org">getdp@geuz.org</a><br> <b>Envoyé: </b>Mardi 24 Mai 2016 09:53:54<br> <b>Objet: </b>RE: Evaluate a scalar field at some points, print values on terminal and use them in PostOperation</span></p></blockquote></div><div><blockquote style="border: none; border-left: solid #1010FF 1.5pt; padding: 0cm 0cm 0cm 4.0pt; margin-left: 3.75pt; margin-top: 5.0pt; margin-bottom: 5.0pt;" data-mce-style="border: none; border-left: solid #1010FF 1.5pt; padding: 0cm 0cm 0cm 4.0pt; margin-left: 3.75pt; margin-top: 5.0pt; margin-bottom: 5.0pt;"><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">Hi Gilles,</span><span style="color: black;" data-mce-style="color: black;"></span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"> </span><span style="color: black;" data-mce-style="color: black;"></span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">you can evaluate the value at a specified point in a PostOperation like this:</span><span style="color: black;" data-mce-style="color: black;"></span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">Print[ u, OnPoint {xp, yp, zp} , File "MyResult" , Format SimpleTable];</span><span style="color: black;" data-mce-style="color: black;"></span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"> </span><span style="color: black;" data-mce-style="color: black;"></span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">You can also find the min/max value and/or the corresponding coordinates and store them</span><span style="color: black;" data-mce-style="color: black;"></span></p><p class="MsoNormal" style="layout-grid-mode: char; text-autospace: none;" data-mce-style="layout-grid-mode: char; text-autospace: none;"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">in a register for later use in another PostProcessing (search in the manual for StoreMinInRegister </span><span style="color: black;" data-mce-style="color: black;"></span></p><p class="MsoNormal" style="layout-grid-mode: char; text-autospace: none;" data-mce-style="layout-grid-mode: char; text-autospace: none;"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">and StoreMinXinRegister):</span><span style="color: black;" data-mce-style="color: black;"></span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">Print[ u, OnElementsOf TotalDomain, StoreMaxInRegister 1, Format SimpleTable, File "Result_Dummy.txt"];</span><span style="color: black;" data-mce-style="color: black;"></span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"> </span><span style="color: black;" data-mce-style="color: black;"></span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">There are various examples in the folder benchmarks in the source code showing the usage</span><span style="color: black;" data-mce-style="color: black;"></span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">of registers and how to print number results directly in Gmsh’s sidebar.</span><span style="color: black;" data-mce-style="color: black;"></span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"> </span><span style="color: black;" data-mce-style="color: black;"></span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">Cheers,</span><span style="color: black;" data-mce-style="color: black;"></span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">Michael</span><span style="color: black;" data-mce-style="color: black;"></span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"> </span><span style="color: black;" data-mce-style="color: black;"></span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"> </span><span style="color: black;" data-mce-style="color: black;"></span></p><p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"> </span><span style="color: black;" data-mce-style="color: black;"></span></p><div><div style="border: none; border-top: solid #B5C4DF 1.0pt; padding: 3.0pt 0cm 0cm 0cm;" data-mce-style="border: none; border-top: solid #B5C4DF 1.0pt; padding: 3.0pt 0cm 0cm 0cm;"><p class="MsoNormal"><b><span style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif'; color: black;" data-mce-style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif'; color: black;" lang="DE">From:</span></b><span style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif'; color: black;" data-mce-style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif'; color: black;" lang="DE"> getdp [<a href="mailto:getdp-bounces@ace20.montefiore.ulg.ac.be" target="_blank" data-mce-href="mailto:getdp-bounces@ace20.montefiore.ulg.ac.be">mailto:getdp-bounces@ace20.montefiore.ulg.ac.be</a>] <b>On Behalf Of </b>gilles quemener<br> <b>Sent:</b> Monday, May 23, 2016 2:30 PM<br> <b>To:</b> <a href="mailto:getdp@onelab.info" target="_blank" data-mce-href="mailto:getdp@onelab.info">getdp@onelab.info</a><br> <b>Subject:</b> [Getdp] Evaluate a scalar field at some points, print values on terminal and use them in PostOperation</span><span style="color: black;" data-mce-style="color: black;"></span></p></div></div><p class="MsoNormal"><span style="color: black;" data-mce-style="color: black;"> </span></p><div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;">Hi,</span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"> </span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;">Currently I am trying to evaluate a scalar field solution at some given points</span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;">and to evaluate the min and max of this scalar field. Once this is done I would </span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;">like to print these quantities on the terminal window as well as to use them for</span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;">further PostOperation.</span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"> </span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;">Assume GetDP has solved my problem and is able to compute scalar fieldsu</span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;">and utotm as described in the GetDP script below.</span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"> </span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;">How can I get the following quantities at Point {xp, yp, zp}:</span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;">u1 = u(xp, yp, zp) </span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;">u2 = utotm(xp, yp, zp)</span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;">and:</span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;">umin = min(u) over a region</span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;">umax = max(u) over a region</span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;">utotmmin = min(utotm) over a region</span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;">utotmmax = max(utotm) over a region</span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"> </span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;">I have tried several syntaxes for the different quantities above, but none passed the parsing phase w/o error.</span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;">Therefore if someone has clues or a solution, it would be very helpful !</span><span style="color: black;" data-mce-style="color: black;"></span></p></div></div></div></div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;">//Post Processing</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;">//===============</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> <br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;">PostProcessing{</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> {Name CubicCavity; NameOfFormulation CubicCavity;</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> Quantity{</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> {Name u; Value {Local{[{u}]; In TotalDomain; Jacobian JVol;}}}</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> {Name utotm; Value {Local{[{u}-scalpot[]]; In TotalDomain; Jacobian JVol;}}}</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> }</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> }</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;">}</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> <br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;">//Post Operation</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;">//==============</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> <br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;">PostOperation{</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> {Name Map_u; NameOfPostProcessing CubicCavity;</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> Operation{</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> Print [ u, OnElementsOf GammaInner, File "uIIsur_3D.pos" ];// works !</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> Print [ utotm, OnElementsOf GammaInner, File "uIImuI_3D.pos" ];// works !</span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><div><div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> Print [ utotm, OnElementsOf GammaInner, Iso {0.65}, Sort Position, Format SimpleTable, File "out.txt" ];// works !</span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"> </span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><p class="MsoNormal"><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> // Note: Be carefull, in order to visualize the .pos file below in Gmsh, it does not work w/ option "Iso-values"</span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><p class="MsoNormal"><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> // even if it is a single iso-contour/iso-value, I have to use option "Continuous Map" (?!?!)</span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><p class="MsoNormal"><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> Print [ utotm, OnElementsOf GammaInner, Iso {0.65}, Format Gmsh, File "toto.pos" ];// works !</span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"> </span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><p class="MsoNormal"><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> // How to print the value of scalar field u or utotm at a specific point (e.g. (0,0,1.3)) on terminal ?</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> Printf [ "U=%g", u(0, 0, 1.3) ];</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> Printf [ "Utotm=%g", utotm(0, 0, 1.3) ];</span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"> </span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><p class="MsoNormal" style="margin-bottom: 12.0pt;" data-mce-style="margin-bottom: 12.0pt;"><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> // How to get min and max values on some region and use them in other PostOperation ?</span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><p class="MsoNormal" style="margin-bottom: 12.0pt;" data-mce-style="margin-bottom: 12.0pt;"><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> umin = Min(u[]) OnElementsOf GammaInner;<br> umax = Max(u[]) OnElementsOf GammaInner;</span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><p class="MsoNormal"><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> N = 10;</span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><p class="MsoNormal"><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> du = (umax - umin) / N;</span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><p class="MsoNormal"><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> For i In (1, N)</span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><p class="MsoNormal" style="margin-bottom: 12.0pt;" data-mce-style="margin-bottom: 12.0pt;"><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> uval = umin + (i - 0.5) * du;</span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><div><p class="MsoNormal"><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> Print[ utotm, OnElementsOf GammaInner, Iso { uval }, Sort Position, Format SimpleTable, File >> "out.txt" ];</span><span style="color: black;" data-mce-style="color: black;"></span></p></div></div><div><p class="MsoNormal"><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> EndFor</span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><p class="MsoNormal"><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> }</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;"> }</span><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"><br> </span><span style="font-family: 'Courier New'; color: #000066;" data-mce-style="font-family: 'Courier New'; color: #000066;">}</span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"> </span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;">Thanks a lot for any help,</span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"> </span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"> Gilles </span><span style="color: black;" data-mce-style="color: black;"></span></p></div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"> </span><span style="color: black;" data-mce-style="color: black;"></span></p></div></div></div><div><p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;" data-mce-style="font-family: 'Trebuchet MS','sans-serif'; color: #000066;"> </span><span style="color: black;" data-mce-style="color: black;"></span></p></div></div></div></div><p class="MsoNormal"><span style="font-family: 'Helvetica','sans-serif'; color: black;" data-mce-style="font-family: 'Helvetica','sans-serif'; color: black;"> </span></p></blockquote></div></div></div><br></blockquote></div></div></body></html>