Lines Matching refs:cdof
1128 PetscInt bdof, cdof, dof, off, c, cind;
1132 PetscCall(PetscSectionGetConstraintDof(section, p, &cdof));
1136 bdof = cdof && (dof - cdof) ? 1 : dof;
1140 if (cind < cdof && c == cdofs[cind]) {
3165 PetscInt dof, gdof, cdof, gcdof, off, goff, d, e;
3169 PetscCall(PetscSectionGetConstraintDof(s, p, &cdof));
3175 PetscCheck(dof == gdof, PETSC_COMM_SELF, PETSC_ERR_ARG_SIZ, "Inconsistent sizes, p: %" PetscInt_FMT " dof: %" PetscInt_FMT " gdof: %" PetscInt_FMT " cdof: %" PetscInt_FMT " gcdof: %" PetscInt_FMT, p, dof, gdof, cdof, gcdof);
3180 } else if (cdof == gcdof) {
3186 if ((cind < cdof) && (d == cdofs[cind])) {
3192 } else SETERRQ(PETSC_COMM_SELF, PETSC_ERR_ARG_SIZ, "Inconsistent sizes, p: %" PetscInt_FMT " dof: %" PetscInt_FMT " gdof: %" PetscInt_FMT " cdof: %" PetscInt_FMT " gcdof: %" PetscInt_FMT, p, dof, gdof, cdof, gcdof);
4579 PetscInt dof, cdof, off, gdof, gcdof, goff, gsize, d;
4583 PetscCall(PetscSectionGetConstraintDof(localSection, p, &cdof));
4592 if (gcdof && (gcdof != cdof)) {
4593 PetscCall(PetscSynchronizedPrintf(comm, "[%d]Global constraints %" PetscInt_FMT " for point %" PetscInt_FMT " not equal to local constraints %" PetscInt_FMT "\n", rank, gcdof, p, cdof));