Sorry Stephane, another thought about the question of my last e-mail.
In a forward time dependent scheme, is it possible to play with the size of
the time step to improve accuracy?
Thank you again!
Emilio
2007/2/16, Emilio Melero García <[EMAIL PROTECTED]>:
Hello Stephane
First of all thanks for your mail!!. I have just recompiled the latest CVS
version of 1pre9 and tried the smesh utility. Everything works wonderfully,
Thanks!!
About the ofstreams that is great!. I had however gone around the problem
using awk. It is amazingly powerful and very easy to learn and use. You can
pipe (not for windows users i am afraid) the printing to console of ff3d to
awk and then, with 3 or 4 lines of code you can sort out an enormous amount
of things. I will try to give a try to the ofstream utility later.
The variables are local now. So far i have not tried to refine the mesh so
it is not clear to me now how this should be done... How does it help the
variables being local??
And i would like to take the opportunity to raise a question...What is the
best approach to improve the numerical accuracy of ff3d computations?. Is it
always to use a finer mesh (larger computing cost)?
As always thanks for your support and help.
Emilio
2007/2/15, Stephane Del Pino <[EMAIL PROTECTED]>:
>
> Le lundi 5 février 2007 10:18, Emilio Melero García a écrit:
> > Now everything runs smoothly (except for the smesh command that makes
> the
> > program exit with bus error, probably the bug you mentioned you saw in
>
> > 1.0-pre09).
> Hello Emilio.
>
> I think I have good news:
> - I fixed this bus error bug
> - It is now possible to create 'ofstream's
> ofstream fout = ofstream("filename");
> fout << "write something\n";
> fout = ofstream("anotherfile");
> - Variables are now local: this means that variables leave between '{'
> and '}'
> so refinement should work well
> function un = 0;
> do {
> mesh m = ...
> femfunction u(m) = ...
> // ...
> un = u;
> } while (...);
> // 'u' and 'm' variables are destroyed at each iteration but
> there values are
> // stored trough 'un'
>
> This is provided in the cvs release.
>
> Best regards,
> Stéphane.
>
>
>
> _______________________________________________
> ff3d-users mailing list
> [email protected]
> http://lists.nongnu.org/mailman/listinfo/ff3d-users
>
--
###############################################
Dr. Emilio Melero García
Laboratorio de Estudios Cristalográficos, IACT
Instituto de parasitología Lopez Neyra,
P.T. Ciencias de la Salud, E-18100 Armilla,
Granada, España
Correo elec. :emilio_arroba_lec_._csic_._es
Tfno: 958181621, lab 107
###############################################
--
###############################################
Dr. Emilio Melero García
Laboratorio de Estudios Cristalográficos, IACT
Instituto de parasitología Lopez Neyra,
P.T. Ciencias de la Salud, E-18100 Armilla,
Granada, España
Correo elec. :emilio_arroba_lec_._csic_._es
Tfno: 958181621, lab 107
###############################################
_______________________________________________
ff3d-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/ff3d-users