DMNetworkComponentGenericDataType#

The integer-sized datatype used by DMNETWORK to store user-registered component data on the network

Note#

DMNetworkComponentGenericDataType is a typedef for PetscInt. The type is needed so that the buffer holding the component data can be communicated with PetscSF during DMNetwork distribution. User code obtains a pointer to the buffer with DMNetworkGetComponent() and must cast it to the appropriate user-defined component struct.

See Also#

Networks, DM, DMNETWORK, DMNetworkRegisterComponent(), DMNetworkGetComponent(), DMNetworkAddComponent()

Level#

developer

Location#

include/petscdmnetwork.h


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