Hi Ehsan,

On Wednesday, June 29, 2016 at 3:28:40 PM UTC-4, Ehsan Esfahani wrote:
>
> Dear users,
>
> I'm asking my question here because I think it's somehow related to this 
> post, and I don't think it would be necessary to open a new topic. Could 
> you please tell me what are differences between these two public functions:
>
> void reinit 
> <https://www.dealii.org/8.4.0/doxygen/deal.II/classPETScWrappers_1_1MPI_1_1Vector.html#a9124190f6bd3c47f78cbbc7b4083467e>
>  
> (const IndexSet 
> <https://www.dealii.org/8.4.0/doxygen/deal.II/classIndexSet.html> &local, 
> const IndexSet 
> <https://www.dealii.org/8.4.0/doxygen/deal.II/classIndexSet.html> &ghost, 
> const MPI_Comm &communicator 
> <https://www.dealii.org/8.4.0/doxygen/deal.II/classPETScWrappers_1_1MPI_1_1Vector.html#a8bb29704b2ee7f8e0f888201bcd71c62>
> )
> void reinit 
> <https://www.dealii.org/8.4.0/doxygen/deal.II/classPETScWrappers_1_1MPI_1_1Vector.html#a664db0ae6a04decb80e1dc92fb933fed>
>  
> (const IndexSet 
> <https://www.dealii.org/8.4.0/doxygen/deal.II/classIndexSet.html> &local, 
> const MPI_Comm &communicator 
> <https://www.dealii.org/8.4.0/doxygen/deal.II/classPETScWrappers_1_1MPI_1_1Vector.html#a8bb29704b2ee7f8e0f888201bcd71c62>
> )
>
> for both, there are the same definitions on the doxygen 
> <https://www.dealii.org/8.4.0/doxygen/deal.II/classPETScWrappers_1_1MPI_1_1Vector.html#pub-methods>
> .
> I've found out from examples that the first one make my vector ghosted but 
> the second one make it non-ghosted. Am I right?
>

Yes, you are right.
 

>
> Thanks in advance for you responses.
> Ehsan
>

-- 
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