<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Thank you marco.<br></div><div><br data-mce-bogus="1"></div><div>So you mean if my problem is for 100 time steps and if i declare a variable like below<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div> real dum(100)<br> save dum<br><br> and if i write </div><div><br data-mce-bogus="1"></div><div> dum(istep)= dragy(1) # I have one object<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>I could store all the dragy coefficient into this array permenently?<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Because I just want to use the previous values that means (dum(istep-1)) in some other functions.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Thanks with regards<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Sijo GEORGE<br data-mce-bogus="1"></div><div><br></div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>De: </b>"nek5000-users" <nek5000-users@lists.mcs.anl.gov><br><b>À: </b>"nek5000-users" <nek5000-users@lists.mcs.anl.gov><br><b>Envoyé: </b>Mercredi 22 Novembre 2017 16:58:15<br><b>Objet: </b>Re: [Nek5000-users] Storing dragy coefficient<br></div><div><br></div><div data-marker="__QUOTED_TEXT__">
if I correctly understand your problem, you will need to look into common block or save data that are Fortran capabilities.
<div class=""><br class="">
</div>
<div class="">Marco</div>
<div class=""><br class="">
<div class="">
<div>
<blockquote class="">
<div class="">On Nov 22, 2017, at 10:49 AM, <a href="mailto:nek5000-users@lists.mcs.anl.gov" class="" target="_blank">
nek5000-users@lists.mcs.anl.gov</a> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">
<div style="font-family: arial, helvetica, sans-serif; font-size: 12pt;" class="">
<div class="">Hi,<br class="">
</div>
<div class=""><br class="">
</div>
<div class="">I was working on storing dragy coefficient on an array. But its not getting permanently stored in the varibale after the next time step. That means I could not access the previous stored value from the array. Is there any way to store and access
dragy of different time steps?<br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Thanks<br class="">
</div>
<div class=""><br class="">
</div>
<div class="">with regards<br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Sijo GEORGE<br class="">
</div>
</div>
</div>
_______________________________________________<br class="">
Nek5000-users mailing list<br class="">
<a href="mailto:Nek5000-users@lists.mcs.anl.gov" class="" target="_blank">Nek5000-users@lists.mcs.anl.gov</a><br class="">
https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
<br>_______________________________________________<br>Nek5000-users mailing list<br>Nek5000-users@lists.mcs.anl.gov<br>https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users<br></div></div></body></html>