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 PetscDS

  • ornt - the cell orientation, in [-Na, Na) where Na is half the number of arrangements for the cell type

  • field - 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#

src/dm/dt/interface/dtds.c


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