Author |
Message |
Alex Shulgin (alex2000)
New member Username: alex2000
Post Number: 2 Registered: 10-2007
| Posted on Friday, December 14, 2007 - 01:57 am: | |
I have the time-dependent problem and use the HALT globalmax(variable) > max_value statement for stop the computation. How can I do TRANSFER(variable) only at the end of computation? In other words, if globalmax(variable) > max_value I need TRANSFER(variable) and then HALT. How can I do this? |
Marek Nelson (mgnelson)
Moderator Username: mgnelson
Post Number: 9 Registered: 07-2007
| Posted on Friday, December 14, 2007 - 03:55 pm: | |
In the plots section you can use "for t=endtime transfer(variable)" to transfer only at the end of computation. In order to get the last set of plots with a halt condition, you will need to download a pre-release of version 5.0.20 (see forum post www.pdesolutions.com/cgi-bin/discus/show.cgi?4/3847 ). To do this, go to www.pdesolutions.com , click on the 'Download' button, then click the link 'see known bugs' under the 'Current Version' heading.
|
|