Lines Matching refs:fld
5984 PetscInt *fld, nf;
5989 PetscCall(PetscMalloc1(nf, &fld));
5991 if (!dm->fields[f].label) fld[nf++] = f;
5995 PetscCall(ISGeneralSetIndices(fields, nf, fld, PETSC_OWN_POINTER));
6061 PetscInt *fld, nf;
6066 PetscCall(PetscMalloc1(nf, &fld));
6068 if (label == dm->fields[f].label || !dm->fields[f].label) fld[nf++] = f;
6072 PetscCall(ISGeneralSetIndices(fields, nf, fld, PETSC_OWN_POINTER));
6123 const PetscInt *fld;
6130 PetscCall(ISGetIndices(fields, &fld));
6132 PetscObject disc = dm->fields[fld[f]].disc;
6157 PetscCall(ISRestoreIndices(fields, &fld));