petsc-3.8.4 2018-03-24
Report Typos and Errors

DMSwarmFinalizeFieldRegister

Finalizes the registration of fields to a DMSwarm

Synopsis

#include "petscdmswarm.h"   
PETSC_EXTERN PetscErrorCode DMSwarmFinalizeFieldRegister(DM dm)
Collective on DM

Input parameter

dm -a DMSwarm

Notes

After DMSwarmFinalizeFieldRegister() has been called, no new fields can be defined on the DMSwarm.

See Also

DMSwarmInitializeFieldRegister(), DMSwarmRegisterPetscDatatypeField(),
DMSwarmRegisterUserStructField(), DMSwarmRegisterUserDatatypeField()

Level:beginner
Location:
src/dm/impls/swarm/swarm.c
Index of all DMSWARM routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/dm/examples/tutorials/swarm_ex1.c.html