[petsc-users] DMCreateXXXVector vs VecDuplicate
Phil Tooley
phil.tooley at sheffield.ac.uk
Mon Sep 24 07:57:33 CDT 2018
Hi all,
Can I get come clarification regarding DMCreateXXXVector vs
VecDuplicate. The manual says that I can obtain additional vectors with
the latter, does this mean that I *must* only call DMCreateXXXVector
once each for global and local?
I ask because I want multiple instances of an image class all with the
same distributed layout. It makes life much tidier if I can just pass
the DMDA rather than also having to pass vectors to be copied.
Cheers
Phil
--
Phil Tooley
Research Software Engineering
University of Sheffield
More information about the petsc-users
mailing list