DMPrintCellVector#

Print a scalar array representing a per-cell vector to PETSC_COMM_SELF

Synopsis#

#include "petscdm.h"          
#include "petscdmlabel.h"     
#include "petscds.h"     
PetscErrorCode DMPrintCellVector(PetscInt c, const char name[], PetscInt len, const PetscScalar x[])

Not Collective

Input Parameters#

  • c - the cell number

  • name - the label to print with the cell (typically the element or field name)

  • len - the length of x

  • x - the array of PetscScalar values

Note#

Only the real part of each entry is printed.

See Also#

DM Basics, DM, DMPrintCellIndices(), DMPrintCellVectorReal(), DMPrintCellMatrix(), DMPrintLocalVec()

Level#

developer

Location#

src/dm/interface/dm.c


Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages