Lines Matching refs:numComp
4 static PetscErrorCode DMPlexCreateSectionFields(DM dm, const PetscInt numComp[], PetscSection *sect… in DMPlexCreateSectionFields() argument
31 if (numComp) { in DMPlexCreateSectionFields()
33 PetscCall(PetscSectionSetFieldComponents(*section, f, numComp[f])); in DMPlexCreateSectionFields()
427 PetscErrorCode DMPlexCreateSection(DM dm, DMLabel label[], const PetscInt numComp[], const PetscInt… in DMPlexCreateSection() argument
432 PetscCall(DMPlexCreateSectionFields(dm, numComp, section)); in DMPlexCreateSection()
454 PetscInt *bcFields, *numComp, *numDof; in DMCreateLocalSection_Plex() local
587 PetscCall(PetscCalloc3(Nf, &labels, Nf, &numComp, Nf * (dim + 1), &numDof)); in DMCreateLocalSection_Plex()
595 PetscCall(PetscFEGetNumComponents(fe, &numComp[f])); in DMCreateLocalSection_Plex()
602 PetscCall(PetscFVGetNumComponents(fv, &numComp[f])); in DMCreateLocalSection_Plex()
603 numDof[f * (dim + 1) + dim] = numComp[f]; in DMCreateLocalSection_Plex()
612 …PetscCall(DMPlexCreateSection(dm, labels, numComp, numDof, numBC, bcFields, bcComps, bcPoints, per… in DMCreateLocalSection_Plex()
631 PetscCall(PetscFree3(labels, numComp, numDof)); in DMCreateLocalSection_Plex()