petsc-3.13.6 2020-09-29
Report Typos and Errors

DMNetworkSetComponentNumVariables

Sets the number of variables for a component

Synopsis

#include "petscdmnetwork.h"  
PetscErrorCode DMNetworkSetComponentNumVariables(DM dm, PetscInt p,PetscInt compnum,PetscInt nvar)
Not Collective

Input Parameters

dm - The DMNetwork object
p - vertex/edge point
compnum - component number (First component added = 0, second = 1, ...)
nvar - number of variables for the component

See Also

DMNetworkAddComponent(), DMNetworkGetNumComponents(),DMNetworkRegisterComponent()

Level

beginner

Location

src/dm/impls/network/network.c
Index of all DMNetwork routines
Table of Contents for all manual pages
Index of all manual pages