DMPlexMatGetClosureIndicesRefined#

Compute the fine-row and coarse-column global indices associated with the refined closure of a coarse point

Synopsis#

#include "petscdmplex.h"   
PetscErrorCode DMPlexMatGetClosureIndicesRefined(DM dmf, PetscSection fsection, PetscSection globalFSection, DM dmc, PetscSection csection, PetscSection globalCSection, PetscInt point, PetscInt cindices[], PetscInt findices[])

Not Collective

Input Parameters#

Output Parameters#

  • cindices - Global column indices for the coarse closure (caller-provided buffer of the correct size)

  • findices - Global row indices for the fine closure across all subcells produced by uniformly refining point

Note#

This companion to DMPlexMatSetClosureRefined() returns the index sets without inserting values, allowing callers to build sparsity patterns or perform their own MatSetValues() calls.

See Also#

DMPlex: Unstructured Grids, DM, DMPLEX, DMPlexMatSetClosureRefined(), DMPlexGetClosureIndices(), DMPlexTransformCellTransform()

Level#

developer

Location#

src/dm/impls/plex/plex.c


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