Lines Matching refs:sectionAdj

245 …PetscSection       section, sectionGlobal, leafSectionAdj, rootSectionAdj, sectionAdj, anchorSecti…  in DMPlexCreateAdjacencySection_Static()  local
567 PetscCall(PetscSectionCreate(comm, &sectionAdj)); in DMPlexCreateAdjacencySection_Static()
568 PetscCall(PetscSectionSetChart(sectionAdj, globalOffStart, globalOffEnd)); in DMPlexCreateAdjacencySection_Static()
590 PetscCall(PetscSectionSetDof(sectionAdj, goff + d, rdof)); in DMPlexCreateAdjacencySection_Static()
611 …for (d = goff; d < goff + dof - cdof; ++d) PetscCall(PetscSectionAddDof(sectionAdj, d, ndof - ncdo… in DMPlexCreateAdjacencySection_Static()
615 … for (d = goff; d < goff + dof - cdof; ++d) PetscCall(PetscSectionAddDof(sectionAdj, d, anDof)); in DMPlexCreateAdjacencySection_Static()
618 PetscCall(PetscSectionSetUp(sectionAdj)); in DMPlexCreateAdjacencySection_Static()
621 PetscCall(PetscSectionView(sectionAdj, NULL)); in DMPlexCreateAdjacencySection_Static()
624 PetscCall(PetscSectionGetStorageSize(sectionAdj, &numCols)); in DMPlexCreateAdjacencySection_Static()
644 PetscCall(PetscSectionGetOffset(sectionAdj, goff + d, &aoff)); in DMPlexCreateAdjacencySection_Static()
659 PetscCall(PetscSectionGetDof(sectionAdj, d, &adof)); in DMPlexCreateAdjacencySection_Static()
660 PetscCall(PetscSectionGetOffset(sectionAdj, d, &aoff)); in DMPlexCreateAdjacencySection_Static()
693 PetscCall(PetscSectionArrayView(sectionAdj, cols, PETSC_INT, NULL)); in DMPlexCreateAdjacencySection_Static()
696 *sA = sectionAdj; in DMPlexCreateAdjacencySection_Static()
701 …atic(DM dm, PetscLayout rLayout, PetscInt bs, PetscInt f, PetscSection sectionAdj, const PetscInt … in DMPlexUpdateAllocation_Static() argument
720 PetscCall(PetscSectionGetDof(sectionAdj, r, &numCols)); in DMPlexUpdateAllocation_Static()
721 PetscCall(PetscSectionGetOffset(sectionAdj, r, &cStart)); in DMPlexUpdateAllocation_Static()
739 PetscCall(PetscSectionGetDof(sectionAdj, row, &numCols)); in DMPlexUpdateAllocation_Static()
740 PetscCall(PetscSectionGetOffset(sectionAdj, row, &cStart)); in DMPlexUpdateAllocation_Static()
761 …atic(DM dm, PetscLayout rLayout, PetscInt bs, PetscInt f, PetscSection sectionAdj, const PetscInt … in DMPlexFillMatrix_Static() argument
770 PetscCall(PetscSectionGetDof(sectionAdj, r, &len)); in DMPlexFillMatrix_Static()
784 PetscCall(PetscSectionGetDof(sectionAdj, r, &numCols)); in DMPlexFillMatrix_Static()
785 PetscCall(PetscSectionGetOffset(sectionAdj, r, &cStart)); in DMPlexFillMatrix_Static()
793 PetscCall(PetscSectionGetDof(sectionAdj, r, &numCols)); in DMPlexFillMatrix_Static()
794 PetscCall(PetscSectionGetOffset(sectionAdj, r, &cStart)); in DMPlexFillMatrix_Static()
831 PetscSection sectionAdj[4] = {NULL, NULL, NULL, NULL}; in DMPlexPreallocateOperator() local
883 …jacencySection_Static(dm, bs, sfDof, useCone, useClosure, PETSC_TRUE, &sectionAdj[idx], &cols[idx]… in DMPlexPreallocateOperator()
884 …PetscCall(DMPlexUpdateAllocation_Static(dm, rLayout, bs, -1, sectionAdj[idx], cols[idx], dnz, onz,… in DMPlexPreallocateOperator()
889 …if (!sectionAdj[idx]) PetscCall(DMPlexCreateAdjacencySection_Static(dm, bs, sfDof, useCone, useClo… in DMPlexPreallocateOperator()
890 …PetscCall(DMPlexUpdateAllocation_Static(dm, rLayout, bs, f, sectionAdj[idx], cols[idx], dnz, onz, … in DMPlexPreallocateOperator()
908 PetscCall(DMPlexFillMatrix_Static(dm, rLayout, bs, -1, sectionAdj[idx], cols[idx], A)); in DMPlexPreallocateOperator()
913 PetscCall(DMPlexFillMatrix_Static(dm, rLayout, bs, f, sectionAdj[idx], cols[idx], A)); in DMPlexPreallocateOperator()
921 PetscCall(PetscSectionDestroy(&sectionAdj[idx])); in DMPlexPreallocateOperator()