petsc-3.8.4 2018-03-24
Report Typos and Errors

DMSwarmViewFieldsXDMF

Write a selection of DMSwarm fields to an XDMF3 file

Synopsis

PETSC_EXTERN PetscErrorCode DMSwarmViewFieldsXDMF(DM dm,const char filename[],PetscInt nfields,const char *field_name_list[])
Collective on DM

Input parameters

dm - the DMSwarm
filename - the file name of the XDMF file (must have the extension .xmf)
nfields - the number of fields to write into the XDMF file
field_name_list - array of length nfields containing the textual name of fields to write

Notes

Only fields registered with data type PETSC_REAL can be written into the file

See Also

DMSwarmViewXDMF()

Level:beginner
Location:
src/dm/impls/swarm/swarmpic_view.c
Index of all DMSWARM routines
Table of Contents for all manual pages
Index of all manual pages