Home
last modified time | relevance | path

Searched refs:gcdof (Results 1 – 3 of 3) sorted by relevance

/petsc/src/vec/is/sf/utils/
H A Dsfutils.c154 PetscInt gdof, gcdof; in PetscSFSetGraphSection() local
157 PetscCall(PetscSectionGetConstraintDof(globalSection, p, &gcdof)); in PetscSFSetGraphSection()
158gcdof <= (gdof < 0 ? -(gdof + 1) : gdof), PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Point %" Pet… in PetscSFSetGraphSection()
159 nleaves += gdof < 0 ? -(gdof + 1) - gcdof : gdof - gcdof; in PetscSFSetGraphSection()
165 PetscInt dof, cdof, off, gdof, gcdof, goff, gsize, d, c; in PetscSFSetGraphSection() local
172 PetscCall(PetscSectionGetConstraintDof(globalSection, p, &gcdof)); in PetscSFSetGraphSection()
175 gsize = gdof < 0 ? -(gdof + 1) - gcdof : gdof - gcdof; in PetscSFSetGraphSection()
/petsc/src/dm/interface/
H A Ddmi.c485 PetscInt gdof, gcdof, gtdof, d; in DMCreateSectionSuperDM() local
488 PetscCall(PetscSectionGetConstraintDof(sections[i], p, &gcdof)); in DMCreateSectionSuperDM()
489 gtdof = gdof - gcdof; in DMCreateSectionSuperDM()
H A Ddm.c3165 PetscInt dof, gdof, cdof, gcdof, off, goff, d, e; in DMLocalToGlobalBegin() local
3170 PetscCall(PetscSectionGetConstraintDof(gs, p, &gcdof)); in DMLocalToGlobalBegin()
3175 …gdof: %" PetscInt_FMT " cdof: %" PetscInt_FMT " gcdof: %" PetscInt_FMT, p, dof, gdof, cdof, gcdof); in DMLocalToGlobalBegin()
3177 if (!gcdof) { in DMLocalToGlobalBegin()
3180 } else if (cdof == gcdof) { in DMLocalToGlobalBegin()
3192 …gdof: %" PetscInt_FMT " cdof: %" PetscInt_FMT " gcdof: %" PetscInt_FMT, p, dof, gdof, cdof, gcdof); in DMLocalToGlobalBegin()
4579 PetscInt dof, cdof, off, gdof, gcdof, goff, gsize, d; in DMDefaultSectionCheckConsistency_Internal() local
4585 PetscCall(PetscSectionGetConstraintDof(globalSection, p, &gcdof)); in DMDefaultSectionCheckConsistency_Internal()
4592 if (gcdof && (gcdof != cdof)) { in DMDefaultSectionCheckConsistency_Internal()
4593 …oint %" PetscInt_FMT " not equal to local constraints %" PetscInt_FMT "\n", rank, gcdof, p, cdof)); in DMDefaultSectionCheckConsistency_Internal()
[all …]