Lines Matching refs:isCohesive

121   if (ds->isCohesive) PetscCall(PetscViewerASCIIPrintf(viewer, "  cohesive cell\n"));  in PetscDSView_Ascii()
510 if (prob->isCohesive && !prob->cohesive[f]) prob->totDim += Nb; in PetscDSSetUp()
870 PetscErrorCode PetscDSIsCohesive(PetscDS ds, PetscBool *isCohesive) in PetscDSIsCohesive() argument
874 PetscAssertPointer(isCohesive, 2); in PetscDSIsCohesive()
875 *isCohesive = ds->isCohesive; in PetscDSIsCohesive()
922 PetscErrorCode PetscDSGetCohesive(PetscDS ds, PetscInt f, PetscBool *isCohesive) in PetscDSGetCohesive() argument
926 PetscAssertPointer(isCohesive, 3); in PetscDSGetCohesive()
928 *isCohesive = ds->cohesive[f]; in PetscDSGetCohesive()
946 PetscErrorCode PetscDSSetCohesive(PetscDS ds, PetscInt f, PetscBool isCohesive) in PetscDSSetCohesive() argument
953 ds->cohesive[f] = isCohesive; in PetscDSSetCohesive()
954 ds->isCohesive = PETSC_FALSE; in PetscDSSetCohesive()
955 …for (i = 0; i < ds->Nf; ++i) ds->isCohesive = ds->isCohesive || ds->cohesive[f] ? PETSC_TRUE : PET… in PetscDSSetCohesive()
2913 …PetscCheck(ds->isCohesive, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONGSTATE, "Cohesive offsets are only v… in PetscDSGetComponentOffsetsCohesive()
2941 …PetscCheck(ds->isCohesive, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONGSTATE, "Cohesive offsets are only v… in PetscDSGetComponentDerivativeOffsetsCohesive()
3915 PetscBool isCohesive; in PetscDSCopy() local
3928 PetscCall(PetscDSGetCohesive(ds, f, &isCohesive)); in PetscDSCopy()
3929 PetscCall(PetscDSSetCohesive(dsNew, f, isCohesive)); in PetscDSCopy()