#include "petscdmda.h" PetscErrorCode DMDAGetLogicalCoordinate(DM da,PetscScalar x,PetscScalar y,PetscScalar z,PetscInt *II,PetscInt *JJ,PetscInt *KK,PetscScalar *X,PetscScalar *Y,PetscScalar *Z)Collective on da
da | - the distributed array | |
x,y,z | - the physical coordinates |
II, JJ, KK | - the logical coordinate (-1 on processes that do not contain that point) | |
X, Y, Z, | - (optional) the coordinates of the located grid point |