#include "petscdmswarm.h" PETSC_EXTERN PetscErrorCode DMSwarmSetLocalSizes(DM dm,PetscInt nlocal,PetscInt buffer)Not collective
dm | - a DMSwarm | |
nlocal | - the length of each registered field | |
buffer | - the length of the buffer used to efficient dynamic re-sizing |