DMProductGetDimensionIndex#

Get which dimension idx of the sub-DM coordinates will be used associated with the DMPRODUCT dimension slot

Synopsis#

#include "petsc/private/dmproductimpl.h"    
PetscErrorCode DMProductGetDimensionIndex(DM dm, PetscInt slot, PetscInt *idx)

Not Collective

Input Parameters#

  • dm - the DMPRODUCT

  • slot - which dimension, in the range 0 to \(dim-1\) of dm

Output Parameter#

  • idx - the dimension of the sub-DM

See Also#

DMPRODUCT, DMProductGetDM(), DMProductSetDimensionIndex()

Level#

advanced

Location#

src/dm/impls/product/productutils.c


Index of all DMPRODUCT routines
Table of Contents for all manual pages
Index of all manual pages