Searched refs:numFieldComponents (Results 1 – 4 of 4) sorted by relevance
44 PetscInt *numFieldComponents; /* The number of components in each field */ member
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()[all …]
40 …er, " field %" PetscInt_FMT " with %" PetscInt_FMT " components\n", f, s->numFieldComponents[f])); in PetscSectionVecView()
282 for (c = 0; c < rootSection->numFieldComponents[f]; ++c) { in PetscSFDistributeSection()