Hi there,
Have you seen the following methods?
void Vector< Number >::block_write (std::ostream &out) const
void Vector< Number >::block_read (std::istream &in)
If you are writing out the data to be read later on the same machine
these methods should be the ideal thing to use. The documentation
notes that it may not be transferable between machines though. I can't
provide any examples but presume that they work in a straight forward
manner.
Cheers,
Michael
On Tue, Jan 13, 2009 at 11:26 PM, Johan Lorentzon
<[email protected]> wrote:
> Greetings all,
>
> After finished my FSI solver i forgot to check one important thing, being
> able to read solution data in order to restart aborted calculation. The
> DataOut class handles output, but how to handle the reading solution
> vectors, i want to avoid detailed study of the format of the file so i am
> asking
>
> Q: Is there any convient way to save and read the solution vector from a
> run, like displacement and velocity of each grid.
>
> Examplification would be appriciated since the grauation is finished, i
> am finishing the documentation of the code and need to get a quick fix for
> this annoying problem.
>
> Sincerly
>
> Johan
>
>
> _______________________________________________
>
_______________________________________________