Lines Matching refs:numFieldComponents

387   PetscCall(PetscMalloc1(s->numFields, &s->numFieldComponents));  in PetscSectionSetNumFields()
394 s->numFieldComponents[f] = 1; in PetscSectionSetNumFields()
400 PetscCall(PetscMalloc1(s->numFieldComponents[f], &s->compNames[f])); in PetscSectionSetNumFields()
493 PetscSectionCheckValidFieldComponent(comp, s->numFieldComponents[field]); in PetscSectionGetComponentName()
526 PetscSectionCheckValidFieldComponent(comp, s->numFieldComponents[field]); in PetscSectionSetComponentName()
558 *numComp = s->numFieldComponents[field]; in PetscSectionGetFieldComponents()
596 for (c = 0; c < s->numFieldComponents[field]; ++c) PetscCall(PetscFree(s->compNames[field][c])); in PetscSectionSetFieldComponents()
600 s->numFieldComponents[field] = numComp; in PetscSectionSetFieldComponents()
2049 for (c = 0; c < s->numFieldComponents[fields[f]]; ++c) { in PetscSectionCreateSubsection()
2225 for (ci = 0; ci < s[i]->numFieldComponents[fi]; ++ci) { in PetscSectionCreateSupersection()
2315 for (c = 0; c < s->numFieldComponents[f]; ++c) { in PetscSectionCreateSubplexSection_Private()
2552 …FMT " \"%s\" with %" PetscInt_FMT " components\n", f, s->fieldNames[f], s->numFieldComponents[f])); in PetscSectionView()
2729 …er, " field %" PetscInt_FMT " with %" PetscInt_FMT " components\n", f, s->numFieldComponents[f])); in PetscSectionArrayView()
2785 for (c = 0; c < s->numFieldComponents[f]; ++c) PetscCall(PetscFree(s->compNames[f][c])); in PetscSectionReset()
2788 PetscCall(PetscFree(s->numFieldComponents)); in PetscSectionReset()
3111 for (c = 0; c < s->numFieldComponents[f]; ++c) { in PetscSectionPermute()