DASetVertexDivision

Sets the number of nodes in each direction on each process

Synopsis

#include "petscda.h"   
PetscErrorCode PETSCDM_DLLEXPORT DASetVertexDivision(DA da, const PetscInt lx[], const PetscInt ly[], const PetscInt lz[])
Not collective

Input Parameter

da - The DA
lx - array containing number of nodes in the X direction on each process, or PETSC_NULL. If non-null, must be of length da->m
ly - array containing number of nodes in the Y direction on each process, or PETSC_NULL. If non-null, must be of length da->n
lz - array containing number of nodes in the Z direction on each process, or PETSC_NULL. If non-null, must be of length da->p.

Keywords

distributed array

See Also

DACreate(), DADestroy(), DA

Level:intermediate
Location:
src/dm/da/src/da.c
Index of all DA routines
Table of Contents for all manual pages
Index of all manual pages