[petsc-users] DMPlex Filed data to VTK file

Jed Brown jedbrown at mcs.anl.gov
Wed Apr 17 20:54:08 CDT 2013


Dharmendar Reddy <dharmareddy84 at gmail.com> writes:

> I am using Fortran. Can i make this call from fortran ?
> PetscViewerCreate(PetscObjectComm((PetscObject)dm), viewer)

MPI_Comm comm

call PetscObjectGetComm(dm, comm, ierr)
call PetscViewerCreate(comm, viewer, ierr)

or use PETSC_COMM_WORLD if you never use subcommunicators.


More information about the petsc-users mailing list