Home
last modified time | relevance | path

Searched refs:numFieldComponents (Results 1 – 4 of 4) sorted by relevance

/petsc/include/petsc/private/
H A Dsectionimpl.h44 PetscInt *numFieldComponents; /* The number of components in each field */ member
/petsc/src/vec/is/section/interface/
H A Dsection.c387 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 …]
/petsc/src/vec/vec/utils/
H A Dvsection.c40 …er, " field %" PetscInt_FMT " with %" PetscInt_FMT " components\n", f, s->numFieldComponents[f])); in PetscSectionVecView()
/petsc/src/vec/is/sf/utils/
H A Dsfutils.c282 for (c = 0; c < rootSection->numFieldComponents[f]; ++c) { in PetscSFDistributeSection()