Lines Matching refs:cohesive
497 prob->offCohesive[0][f + 1] = (prob->cohesive[f] ? Nc : Nc * 2) + prob->offCohesive[0][f]; in PetscDSSetUp()
498 …prob->offDerCohesive[0][f + 1] = (prob->cohesive[f] ? Nc : Nc * 2) * dimEmbed + prob->offDerCohesi… in PetscDSSetUp()
499 prob->offCohesive[1][f] = (prob->cohesive[f] ? 0 : Nc) + prob->offCohesive[0][f]; in PetscDSSetUp()
500 …prob->offDerCohesive[1][f] = (prob->cohesive[f] ? 0 : Nc) * dimEmbed + prob->offDerCohesive[0]… in PetscDSSetUp()
501 prob->offCohesive[2][f + 1] = (prob->cohesive[f] ? Nc : Nc * 2) + prob->offCohesive[2][f]; in PetscDSSetUp()
502 …prob->offDerCohesive[2][f + 1] = (prob->cohesive[f] ? Nc : Nc * 2) * dimEmbed + prob->offDerCohesi… in PetscDSSetUp()
510 if (prob->isCohesive && !prob->cohesive[f]) prob->totDim += Nb; in PetscDSSetUp()
558 tmpc[f] = prob->cohesive[f]; in PetscDSEnlarge_Static()
566 PetscCall(PetscFree4(prob->disc, prob->implicit, prob->cohesive, prob->jetDegree)); in PetscDSEnlarge_Static()
571 prob->cohesive = tmpc; in PetscDSEnlarge_Static()
646 PetscCall(PetscFree4((*ds)->disc, (*ds)->implicit, (*ds)->cohesive, (*ds)->jetDegree)); in PetscDSDestroy()
902 for (f = 0; f < ds->Nf; ++f) *numCohesive += ds->cohesive[f] ? 1 : 0; in PetscDSGetNumCohesive()
928 *isCohesive = ds->cohesive[f]; in PetscDSGetCohesive()
953 ds->cohesive[f] = isCohesive; in PetscDSSetCohesive()
955 …for (i = 0; i < ds->Nf; ++i) ds->isCohesive = ds->isCohesive || ds->cohesive[f] ? PETSC_TRUE : PET… in PetscDSSetCohesive()
2756 PetscBool cohesive; in PetscDSGetFieldOffsetCohesive() local
2758 PetscCall(PetscDSGetCohesive(ds, g, &cohesive)); in PetscDSGetFieldOffsetCohesive()
2760 *off += cohesive ? size : size * 2; in PetscDSGetFieldOffsetCohesive()