Dear Jean-Paul,

Thank you for your reply! As the examples you set, and an answer I 
found:  See "Use for serialization" in 
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.dealii.org_developer_doxygen_deal.II_classparallel-5F1-5F1distributed-5F1-5F1SolutionTransfer.html&d=DwIBaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw&m=88KR9zh1f_gaVgWHpZwwXXlaOCduKgZ1yzsuERztdmU&s=Q549G3WmW1DtS06Yq9GyH98gIg8Rl44Ezac7I1Fc1Tc&e=
 
<https://www.google.com/url?q=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttp-3A__www.dealii.org_developer_doxygen_deal.II_classparallel-5F1-5F1distributed-5F1-5F1SolutionTransfer.html%26d%3DDwIBaQ%26c%3DNgd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4%26r%3D4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw%26m%3D88KR9zh1f_gaVgWHpZwwXXlaOCduKgZ1yzsuERztdmU%26s%3DQ549G3WmW1DtS06Yq9GyH98gIg8Rl44Ezac7I1Fc1Tc%26e%3D&sa=D&sntz=1&usg=AFQjCNEbrj_lDgRe49WUmf2nR_x54AG2Bg>
 
these functions such as  ' Triangulation::save()', 'Triangulation::load()', 
void SolutionTransfer< dim, VectorType, DoFHandlerType 
>::prepare_serialization ( const VectorType & in ) 
 void SolutionTransfer< dim, VectorType, DoFHandlerType >::deserialize ( 
VectorType 
& in )
are all used in the parallel examples.
But my code is not use any class and headfile for parallel one. Shall I 
rewrite my code into a parallel one? Thank you very much!

Best,
Chucui   

在 2018年11月5日星期一 UTC+8下午5:01:06,Jean-Paul Pelteret写道:
>
> Dear Chucui,
>
> I don’t use this functionality myself, so I can only point you to the 
> test suite 
> <https://github.com/dealii/dealii/tree/master/tests/serialization> where 
> its functionality is tested. Here 
> <https://github.com/dealii/dealii/blob/master/tests/mpi/p4est_save_01.cc> is 
> one example where a distributed triangulation is saved and loaded, and 
> here 
> <https://github.com/dealii/dealii/blob/master/tests/mpi/p4est_save_04.cc> is 
> one where a distributed triangulation + solution is saved and loaded with a 
> different number of MPI processes.
>
> Best,
> Jean-Paul
>
>
>

-- 
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 dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to