PetscQuadratureGetNumComponents#

Return the number of components for functions to be integrated

Synopsis#

#include "petscdt.h" 
PetscErrorCode PetscQuadratureGetNumComponents(PetscQuadrature q, PetscInt *Nc)

Not Collective

Input Parameter#

Output Parameter#

  • Nc - The number of components

Note#

We are performing an integral f(x)w(x)dx\int f(x) w(x) dx, where both ff and ww (the weight) have Nc components.

See Also#

PetscQuadrature, PetscQuadratureSetNumComponents(), PetscQuadratureGetData(), PetscQuadratureSetData()

Level#

intermediate

Location#

src/dm/dt/interface/dt.c


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