Skip to main content
`Ctrl`+`K`

# DMSwarmDataField

Opaque handle to a single named field of particle data stored inside a `DMSwarmDataBucket`

## Synopsis

    typedef struct _p_DMSwarmDataField *DMSwarmDataField;

## Note

Each `DMSwarmDataField` records the field name, the per-particle data type and a contiguous storage block whose length matches the number of particles in the parent `DMSwarmDataBucket`.

## See Also

`DMSWARM`, `DMSwarmDataBucket`, `DMSwarmDataBucketGetDMSwarmDataFieldByName()`, `DMSwarmDataFieldGetEntries()`

## Level

developer

## Location

include/petscdmswarm.h

## Implementations

_p_DMSwarmDataField in src/dm/impls/swarm/data_bucket.h

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