petsc-3.14.6 2021-03-30
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