[petsc-users] Creating a Vec with DMCreateGlobalVector from a	dmplex?
    aymeric aymeric 
    sickofcowboys at hotmail.com
       
    Wed Aug 13 02:48:21 CDT 2014
    
    
  
- I create a dmplex with DMPlexCreateHexBoxMesh- Distribute it with DMPlexDistribute- Create a Vec based on the distributed dmplex with DMCreateGlobalVector- But when I check the size of this Vec with VecGetOwnershipRange or VecGetSize, it is empty.
What am I missing? 
I know this is possible, because in SNES ex12.c a vector is created using this sequence of commands. Unfortunately, it some other commands are also used, but they are not all documented.
Thanks. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140813/d596bc94/attachment.html>
    
    
More information about the petsc-users
mailing list