PetscSectionGetChart#

Returns the range [pStart, pEnd) in which points (indices) lie for this PetscSection on this MPI process

Synopsis#

#include "petscsection.h"   
PetscErrorCode PetscSectionGetChart(PetscSection s, PetscInt *pStart, PetscInt *pEnd)

Not Collective

Input Parameter#

Output Parameters#

  • pStart - the first point

  • pEnd - one past the last point

Note#

The chart may be thought of as the bounds on the points (indices) one may use to index into numerical data that is associated with the PetscSection data layout.

See Also#

PetscSection, PetscSection, PetscSectionSetChart(), PetscSectionCreate()

Level#

intermediate

Location#

src/vec/is/section/interface/section.c

Examples#

src/ts/tutorials/ex18.c


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