Hi Shiva,

I do believe that the serialize() 
<https://www.dealii.org/8.4.0/doxygen/deal.II/classSubscriptor.html#a68efd17a8330ab676d9cd711029b0f38>
 
function is the one that you're looking for. Its a function thats inherited 
from the Subscriptor base class.

J-P

On Thursday, June 2, 2016 at 12:14:30 AM UTC+2, Shiva Rudraraju wrote:
>
> Hi,
>
> Wondering if there is any existing implementation for reading and writing 
> PETScWrappers::MPI::Vector to files, essentially to get a restart 
> capability in time stepping computations. 
> PETScWrappers::VectorBase::write_ascii() provides the equivalent of 
>  VecView. But looking for something which is the equivalent of Petsc 
> VecLoad and which works in parallel. 
>
> If not, I can give a try to implement a new method 
> PETScWrappers::VectorBase::read_ascii(). 
>
> Thanks,
> Shiva 
>
> Shiva Rudraraju
> Asst. Research Scientist, Mechanical Engineering
> University of Michigan Ann Arbor.
>
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to