DMSwarmDataBucketQueryDMSwarmDataFieldByName#
Test whether a DMSwarmDataBucket contains a DMSwarmDataField with the given name.
Synopsis#
PetscErrorCode DMSwarmDataBucketQueryDMSwarmDataFieldByName(DMSwarmDataBucket db, const char name[], PetscBool *found)
Not Collective
Input Parameters#
db - the
DMSwarmDataBucketname - the field name to look up
Output Parameter#
found -
PETSC_TRUEif a field with the given name is registered, otherwisePETSC_FALSE
See Also#
DMSwarmDataBucket, DMSwarmDataField, DMSwarmDataBucketGetDMSwarmDataFieldByName(), DMSwarmDataBucketGetDMSwarmDataFieldIdByName()
Level#
developer
Location#
src/dm/impls/swarm/data_bucket.c
Index of all DMSwarm routines
Table of Contents for all manual pages
Index of all manual pages