DMDAGetCellPoint#

Get the DM point corresponding to the tuple (i, j, k) in the DMDA

Synopsis#

#include "petscdmda.h"   
PetscErrorCode DMDAGetCellPoint(DM dm, PetscInt i, PetscInt j, PetscInt k, PetscInt *point)

Input Parameters#

  • dm - The DMDA object

  • i,j,k - The global indices for the cell

Output Parameter#

  • point - The local DM point

See Also#

DM, DMDA, DMDAGetNumCells()

Level#

developer

Location#

src/dm/impls/da/dalocal.c


Edit on GitLab

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