PetscDSPermuteQuadPoint#
Permute a quadrature point index according to a cell orientation.
Synopsis#
#include "petscds.h"
PetscErrorCode PetscDSPermuteQuadPoint(PetscDS ds, PetscInt ornt, PetscInt field, PetscInt q, PetscInt *qperm)
Not Collective
Input Parameters#
ds - the
PetscDSornt - the cell orientation, in
[-Na, Na)whereNais half the number of arrangements for the cell typefield - the field number whose quadrature is used
q - the input quadrature point index in
[0, Nq)
Output Parameter#
qperm - the permuted quadrature point index
See Also#
PetscDS, PetscQuadrature, PetscQuadratureComputePermutations(), DMPolytopeTypeGetNumArrangements()
Level#
developer
Location#
Index of all DT routines
Table of Contents for all manual pages
Index of all manual pages