petsc-3.8.4 2018-03-24
Report Typos and Errors

PetscSpaceGetNumComponents

Return the number of components for this space

Synopsis

#include "petscfe.h" 
PetscErrorCode PetscSpaceGetNumComponents(PetscSpace sp, PetscInt *Nc)

Input Parameter

sp -The PetscSpace

Output Parameter

Nc -The number of components

Note: A vector space, for example, will have d components, where d is the spatial dimension

See Also

PetscSpaceSetNumComponents(), PetscSpaceGetDimension(), PetscSpaceCreate(), PetscSpace

Level:intermediate
Location:
src/dm/dt/interface/dtfe.c
Index of all DT routines
Table of Contents for all manual pages
Index of all manual pages