Re: [petsc-users] VTK Output / no file

2015-03-05 Thread Grischa Jacobs
Gesendet: Dienstag, 03. März 2015 um 23:49 Uhr Von: "Jed Brown" An: "Grischa Jacobs" , petsc-users@mcs.anl.gov Betreff: Re: [petsc-users] VTK Output / no file Grischa Jacobs writes: > Dear, > > I used to save my Vec results to vts files. Unfortunately this is not wo

Re: [petsc-users] VTK Output / no file

2015-03-04 Thread Grischa Jacobs
Hi Jed,   I'm not getting any error! There just no file comming. I tried it on serveral machienes. Using PetscViewerASCIIOpen it works fine. My Petsc source is from Dezember 2014.   Thanks   Gesendet: Dienstag, 03. März 2015 um 23:49 Uhr Von: "Jed Brown" An: "Grischa J

[petsc-users] VTK Output / no file

2015-03-03 Thread Grischa Jacobs
Dear,   I used to save my Vec results to vts files. Unfortunately this is not working anymore. My Code: // Creating 3DDM before ierr = DMDACreateNaturalVector(dynamic_Maxwell, &dynamic_fields_global);CHKERRQ(ierr); ierr = VecSet(dynamic_fields_global,some_number);CHKERRQ(ierr); PetscViewer vie

[petsc-users] Get a single value from a global Vec in petsc

2015-01-21 Thread Grischa Jacobs
Hi, I don't understand the concept with local and global vec's in petsc when it come to DMDAVecGetArray and VecGetValues. I'm creating some DMDA Vec in parallel which works well. Now I want to access certain non local values of my Vec without receiving the whole global array (will not fit into my