#include "petscdm.h" #include "petscdmlabel.h" PetscErrorCode DMLocalToGlobalHookAdd(DM dm,PetscErrorCode (*beginhook)(DM,Vec,InsertMode,Vec,void*),PetscErrorCode (*endhook)(DM,Vec,InsertMode,Vec,void*),void *ctx)Logically Collective Many br
| dm | - the DM Many br | |
| beginhook | - function to run at the beginning of DMLocalToGlobalBegin() Many br | |
| endhook | - function to run after DMLocalToGlobalEnd() has completed Many br | |
| ctx | - [optional] user-defined context for provide data for the hooks (may be NULL) Many br |
beginhook(DM fine,Vec l,InsertMode mode,Vec g,void *ctx)
| dm | - global DM Many br | |
| l | - local vector Many br | |
| mode | - mode Many br | |
| g | - global vector Many br | |
| ctx | - optional user-defined function context Many br |
endhook(DM fine,Vec l,InsertMode mode,Vec g,void *ctx)
| global | - global DM Many br | |
| l | - local vector Many br | |
| mode | - mode Many br | |
| g | - global vector Many br | |
| ctx | - optional user-defined function context Many br |
Many br
Level:advanced
Location:src/dm/interface/dm.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages