Lines Matching refs:field
42 PetscCall(PetscSectionArrayView_ASCII_Internal(s->field[f], array, PETSC_SCALAR, viewer)); in PetscSectionVecView()
130 PetscInt j = -1, field, i; in VecSetValuesSection() local
132 for (field = 0; field < s->numFields; ++field) { in VecSetValuesSection()
133 const PetscInt dim = s->field[field]->atlasDof[p]; /* PetscSectionGetFieldDof() */ in VecSetValuesSection()
170 PetscInt j = 0, field; in VecSetValuesSection() local
173 for (field = 0; field < s->numFields; ++field) { in VecSetValuesSection()
174 const PetscInt dim = s->field[field]->atlasDof[p]; /* PetscSectionGetFieldDof() */ in VecSetValuesSection()
175 … const PetscInt tDim = s->field[field]->bc->atlasDof[p]; /* PetscSectionGetFieldConstraintDof() */ in VecSetValuesSection()
195 …nternal(PetscSection section, PetscSection sectionGlobal, Vec v, PetscInt field, PetscInt pStart, … in PetscSectionGetField_Internal() argument
201 PetscCall(PetscSectionGetFieldComponents(section, field, &Nc)); in PetscSectionGetField_Internal()
206 if (gdof > 0) PetscCall(PetscSectionGetFieldDof(section, p, field, &fdof)); in PetscSectionGetField_Internal()
219 for (f2 = 0; f2 < field; ++f2) { in PetscSectionGetField_Internal()
223 PetscCall(PetscSectionGetFieldDof(section, p, field, &fdof)); in PetscSectionGetField_Internal()
233 …nternal(PetscSection section, PetscSection sectionGlobal, Vec v, PetscInt field, PetscInt pStart, … in PetscSectionRestoreField_Internal() argument