#include "petscdmcomposite.h" PetscErrorCode DMCompositeSetCoupling(DM dm,PetscErrorCode (*FormCoupleLocations)(DM,Mat,PetscInt*,PetscInt*,PetscInt,PetscInt,PetscInt,PetscInt))
Logically Collective on MPI_Comm
dm | - the composite object | |
formcouplelocations | - routine to set the nonzero locations in the matrix |
Not available from Fortran
Notes: See DMSetApplicationContext() and DMGetApplicationContext() for how to get user information into this routine