Lines Matching refs:secNew
529 PetscSection secNew; in AnchorsFlatten() local
537 PetscCall(PetscSectionCreate(PetscObjectComm((PetscObject)section), &secNew)); in AnchorsFlatten()
538 PetscCall(PetscSectionSetChart(secNew, pStart, pEnd)); in AnchorsFlatten()
548 PetscCall(PetscSectionSetUp(secNew)); in AnchorsFlatten()
563 if (qDof) PetscCall(PetscSectionAddDof(secNew, p, qDof)); in AnchorsFlatten()
564 else PetscCall(PetscSectionAddDof(secNew, p, 1)); in AnchorsFlatten()
567 PetscCall(PetscSectionSetUp(secNew)); in AnchorsFlatten()
568 PetscCall(PetscSectionGetStorageSize(secNew, &sizeNew)); in AnchorsFlatten()
576 PetscCall(PetscSectionGetDof(secNew, p, &dofNew)); in AnchorsFlatten()
577 PetscCall(PetscSectionGetOffset(secNew, p, &offNew)); in AnchorsFlatten()
607 PetscCall(PetscSectionSetDof(secNew, p, count)); in AnchorsFlatten()
613 …U_Allreduce(&anyNew, &globalAnyNew, 1, MPI_C_BOOL, MPI_LOR, PetscObjectComm((PetscObject)secNew))); in AnchorsFlatten()
615 PetscCall(PetscSectionDestroy(&secNew)); in AnchorsFlatten()
628 PetscCall(PetscSectionGetDof(secNew, p, &dof)); in AnchorsFlatten()
637 PetscCall(PetscSectionGetDof(secNew, p, &dof)); in AnchorsFlatten()
638 PetscCall(PetscSectionGetOffset(secNew, p, &off)); in AnchorsFlatten()
642 PetscCall(PetscSectionDestroy(&secNew)); in AnchorsFlatten()
643 secNew = secComp; in AnchorsFlatten()