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


Adds a new viewer to monitor


#include "petscdmnetwork.h"  
PetscErrorCode DMNetworkMonitorAdd(DMNetworkMonitor monitor,const char *name,PetscInt element,PetscInt nodes,PetscInt start,PetscInt blocksize,PetscReal ymin,PetscReal ymax,PetscBool hold)
Collective on DMNetworkMonitor

Input Parameters

monitor - the monitor
name - name of viewer
element - vertex / edge number
nodes - number of nodes
start - variable starting offset
blocksize - variable blocksize
ymin - ymin for viewer
ymax - ymax for viewer
hold - determines if plot limits should be held


This is written to be independent of the semantics associated to the variables at a given network vertex / edge.

Precisely, the parameters nodes, start and blocksize allow you to select a general strided subarray of the variables to monitor.

See Also

DMNetworkMonitorCreate(), DMNetworkMonitorDestroy()

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