#include "petscdmplex.h" PetscErrorCode DMPlexCreateSection(DM dm, PetscInt dim, PetscInt numFields,const PetscInt numComp[],const PetscInt numDof[], PetscInt numBC,const PetscInt bcField[], const IS bcComps[], const IS bcPoints[], IS perm, PetscSection *section)Not Collective
dm | - The DMPlex object | |
dim | - The spatial dimension of the problem | |
numFields | - The number of fields in the problem | |
numComp | - An array of size numFields that holds the number of components for each field | |
numDof | - An array of size numFields*(dim+1) which holds the number of dof for each field on a mesh piece of dimension d | |
numBC | - The number of boundary conditions | |
bcField | - An array of size numBC giving the field number for each boundry condition | |
bcComps | - [Optional] An array of size numBC giving an IS holding the field components to which each boundary condition applies | |
bcPoints | - An array of size numBC giving an IS holding the Plex points to which each boundary condition applies | |
perm | - Optional permutation of the chart, or NULL |
The chart permutation is the same one set using PetscSectionSetPermutation()