Home
last modified time | relevance | path

Searched refs:PetscSectionAddDof (Results 1 – 23 of 23) sorted by relevance

/petsc/src/dm/impls/plex/
H A Dplexpreallocate.c36 PetscCall(PetscSectionAddDof(inverseSec, a, 1)); in DMPlexComputeAnchorAdjacencies()
100 PetscCall(PetscSectionAddDof(adjSec, p, iNew)); in DMPlexComputeAnchorAdjacencies()
314 PetscCall(PetscSectionAddDof(myRankPairSection, index, 1)); in DMPlexCreateAdjacencySection_Static()
369 … for (d = off; d < off + dof; ++d) PetscCall(PetscSectionAddDof(leafSectionAdj, d, ndof - ncdof)); in DMPlexCreateAdjacencySection_Static()
373 for (d = off; d < off + dof; ++d) PetscCall(PetscSectionAddDof(leafSectionAdj, d, anDof)); in DMPlexCreateAdjacencySection_Static()
408 … for (d = off; d < off + dof; ++d) PetscCall(PetscSectionAddDof(rootSectionAdj, d, ndof - ncdof)); in DMPlexCreateAdjacencySection_Static()
412 for (d = off; d < off + dof; ++d) PetscCall(PetscSectionAddDof(rootSectionAdj, d, anDof)); 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()
H A Dplexsection.c159 PetscCall(PetscSectionAddDof(section, point, dof)); in DMPlexCreateSectionDof()
182 PetscCall(PetscSectionAddDof(section, p, dof)); in DMPlexCreateSectionDof()
H A Dplexpartition.c228 PetscCall(PetscSectionAddDof(section, p, 1)); in DMPlexCreatePartitionerGraph_Native()
238 PetscCall(PetscSectionAddDof(section, p, 1)); in DMPlexCreatePartitionerGraph_Native()
252 PetscCall(PetscSectionAddDof(section, p, 1)); in DMPlexCreatePartitionerGraph_Native()
1275 PetscCall(PetscSectionAddDof(rootSection, neighbors[n], numPoints)); in DMPlexPartitionLabelInvert()
H A Dplextree.c500 PetscCall(PetscSectionAddDof(childSec, par, 1)); in DMPlexTreeSymmetrize()
563 if (qDof) PetscCall(PetscSectionAddDof(secNew, p, qDof)); in AnchorsFlatten()
564 else PetscCall(PetscSectionAddDof(secNew, p, 1)); in AnchorsFlatten()
810 PetscCall(PetscSectionAddDof(newSupportSection, p, dof)); in DMPlexTreeExchangeSupports()
817 PetscCall(PetscSectionAddDof(newSupportSection, p, qdof)); in DMPlexTreeExchangeSupports()
818 PetscCall(PetscSectionAddDof(newSupportSection, q, dof)); in DMPlexTreeExchangeSupports()
H A Dplexinterpolate.c1157 PetscCall(PetscSectionAddDof(candidateSection, p, coneSize + 1)); in DMPlexAddSharedFace_Private()
H A Dplexgeometry.c3298 if (cell >= cStart && cell < cEndInterior) PetscCall(PetscSectionAddDof(neighSec, cell, 1)); in BuildGradientReconstruction_Internal_Tree()
H A Dplex.c4402 …for (c = off; c < off + dof; ++c) PetscCall(PetscSectionAddDof(mesh->supportSection, mesh->cones[c… in DMPlexSymmetrize()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A Dpetscsec.pxi25 PetscErrorCode PetscSectionAddDof(PetscSection, PetscInt, PetscInt)
H A DSection.pyx368 setDof, getDof, petsc.PetscSectionAddDof
373 CHKERR(PetscSectionAddDof(self.sec, cpoint, cnumDof))
/petsc/src/dm/partitioner/impls/chaco/
H A Dpartchaco.c137 for (v = 0; v < nvtxs; ++v) PetscCall(PetscSectionAddDof(partSection, assignment[v], 1)); in PetscPartitionerPartition_Chaco()
/petsc/src/dm/partitioner/impls/matpart/
H A Dpartmatpart.c164 …for (v = 0; v < numVertices; ++v) PetscCall(PetscSectionAddDof(partSection, assignment_arr[v], 1)); in PetscPartitionerPartition_MatPartitioning()
/petsc/include/
H A Dpetscsection.h38 PETSC_EXTERN PetscErrorCode PetscSectionAddDof(PetscSection, PetscInt, PetscInt);
/petsc/src/dm/partitioner/impls/parmetis/
H A Dpartparmetis.c213 for (v = 0; v < nvtxs; ++v) PetscCall(PetscSectionAddDof(partSection, assignment[v], 1)); in PetscPartitionerPartition_ParMetis()
/petsc/src/dm/partitioner/impls/simple/
H A Dpartsimple.c181 …for (j = 0; j < numVertices; ++j) PetscCall(PetscSectionAddDof(partSection, PetscRealPart(array[j]… in PetscPartitionerPartition_Simple()
/petsc/src/dm/partitioner/impls/ptscotch/
H A Dpartptscotch.c290 for (v = 0; v < nvtxs; ++v) PetscCall(PetscSectionAddDof(partSection, assignment[v], 1)); in PetscPartitionerPartition_PTScotch()
/petsc/src/dm/impls/network/
H A Dnetwork.c630 PetscCall(PetscSectionAddDof(network->DataSection, p, network->header[p].hsize)); in DMNetworkInitializeNonTopological()
1373 PetscCall(PetscSectionAddDof(network->DofSection, p, nvar)); in DMNetworkAddComponent()
1422 PetscCall(PetscSectionAddDof(network->DataSection, p, additional_size)); in DMNetworkAddComponent()
1430 PetscCall(PetscSectionAddDof(network->DataSection, p, component->size)); in DMNetworkAddComponent()
/petsc/src/ksp/pc/impls/patch/
H A Dpcpatch.c1033 PetscCall(PetscSectionAddDof(intFacetCounts, v, 1)); in PCPatchCreateCellPatches()
1035 PetscCall(PetscSectionAddDof(extFacetCounts, v, 1)); in PCPatchCreateCellPatches()
1039 if (pdof) PetscCall(PetscSectionAddDof(pointCounts, v, 1)); in PCPatchCreateCellPatches()
1040 if (point >= cStart && point < cEnd) PetscCall(PetscSectionAddDof(cellCounts, v, 1)); in PCPatchCreateCellPatches()
1667 PetscCall(PetscSectionAddDof(patch->patchSection, p, fdof)); in PCPatchCreateCellPatchDiscretisationInfo()
/petsc/src/vec/is/section/interface/
H A Dsection.c995 PetscErrorCode PetscSectionAddDof(PetscSection s, PetscInt point, PetscInt numDof) in PetscSectionAddDof() function
1099 PetscCall(PetscSectionAddDof(s->field[field], point, numDof)); in PetscSectionAddFieldDof()
1174 PetscCall(PetscSectionAddDof(s->bc, point, numDof)); in PetscSectionAddConstraintDof()
/petsc/src/dm/label/
H A Ddmlabel.c1928 …for (l = 0; l < label->stratumSizes[s]; l++) PetscCall(PetscSectionAddDof(rootSection, points[l], … in DMLabelDistribute_Internal()
/petsc/src/dm/impls/plex/transform/interface/
H A Dplextransform.c2045 for (n = 0; n < Nct; ++n) PetscCall(PetscSectionAddDof(s, p, rsize[n])); in DMPlexTransformCreateSF()
/petsc/src/dm/impls/forest/p4est/
H A Dpforest.h1544 if (cellVert == v) PetscCall(PetscSectionAddDof(ctt, v, 1)); in DMPlexCreateConnectivity_pforest()
1575 if (cellEdge == e) PetscCall(PetscSectionAddDof(ett, e, 1)); in DMPlexCreateConnectivity_pforest()
/petsc/src/dm/interface/
H A Ddm.c2708 PetscCall(PetscSectionAddDof(ts, p, PetscSqr(cdim))); in DMConstructBasisTransform_Internal()
/petsc/src/ksp/pc/impls/bddc/
H A Dbddcprivate.c2453 PetscCall(PetscSectionAddDof(section, p, 1)); in PCBDDCDetectDisconnectedComponents()