[Getdp] Options for Print[ ] command (Resolution block) not working ?

DILASSER Guillaume Guillaume.DILASSER at cea.fr
Mon Feb 1 13:05:01 CET 2016


Hello everyone,

I might have come across a bug with GetDP, yet I want to be sure it is not a mistake of mine before I open a ticket.

I am running GetDP 2.6.1 on Windows 8.1 64 bits and I encounter a problem with the Print[ ] command inside of the Resolution definition block. Basically, I want to output the residue of my equation ($Res) and the number of non-linear iterations of the solver ($NlIter) in a log file. I tried the Print[ {expression-list}  <, File expression>  <, Format expression> ] command inside the resolution block to do that, like this : Print[ { $Res , $NlIter } , File "myfile.txt" , Format "%14.12e %3.0f " ]. With no options or just one from the two available (either File or Format) it works fine but with both the functions doesn't work : it still creates the output file if it does not exist but it writes nothing inside of it. Note that for Format option I have tried %f, %e, %g and various other codes, none of them working.

Can someone confirm that this is a bug ?

Guillaume DILASSER
Doctorant SACM / LEAS
CEA - Centre de Saclay - Bât.123 - PC 319c
91191 Gif sur Yvette Cedex - France -

guillaume.dilasser at cea.fr<mailto:guillaume.dilasser at cea.fr>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/getdp/attachments/20160201/17360d6e/attachment.html>


More information about the getdp mailing list