Home
last modified time | relevance | path

Searched refs:PetscSectionGetOffset (Results 1 – 25 of 68) sorted by relevance

123

/petsc/src/dm/impls/plex/
H A Dplexpreallocate.c47 PetscCall(PetscSectionGetOffset(aSec, p, &off)); in DMPlexComputeAnchorAdjacencies()
53 PetscCall(PetscSectionGetOffset(inverseSec, a, &iOff)); in DMPlexComputeAnchorAdjacencies()
82 PetscCall(PetscSectionGetOffset(inverseSec, p, &iOff)); in DMPlexComputeAnchorAdjacencies()
113 PetscCall(PetscSectionGetOffset(inverseSec, p, &iOff)); in DMPlexComputeAnchorAdjacencies()
116 PetscCall(PetscSectionGetOffset(adjSec, p, &aOff)); in DMPlexComputeAnchorAdjacencies()
132 PetscCall(PetscSectionGetOffset(sectionGlobal, qAdj, &qAdjOff)); in DMPlexComputeAnchorAdjacencies()
220 PetscCall(PetscSectionGetOffset(myRankPairSection, root_index, &offset)); in AdjancencyContainsLeafRootPair()
360 PetscCall(PetscSectionGetOffset(section, p, &off)); in DMPlexCreateAdjacencySection_Static()
396 PetscCall(PetscSectionGetOffset(section, p, &off)); in DMPlexCreateAdjacencySection_Static()
438 PetscCall(PetscSectionGetOffset(section, p, &off)); in DMPlexCreateAdjacencySection_Static()
[all …]
H A Dplextree.c266 PetscCall(PetscSectionGetOffset(unionSection, cStart - pStart, &cOff)); in DMPlexCreateReferenceTree_Union()
269 PetscCall(PetscSectionGetOffset(unionSection, cStart - pStart, &cOff2)); in DMPlexCreateReferenceTree_Union()
282 PetscCall(PetscSectionGetOffset(unionSection, p - pStart, &uOff)); in DMPlexCreateReferenceTree_Union()
291 PetscCall(PetscSectionGetOffset(unionSection, p - pRefStart + (pEnd - pStart), &uOff)); in DMPlexCreateReferenceTree_Union()
308 PetscCall(PetscSectionGetOffset(unionSection, p - pStart, &uOff)); in DMPlexCreateReferenceTree_Union()
309 PetscCall(PetscSectionGetOffset(unionConeSection, uOff, &cOff)); in DMPlexCreateReferenceTree_Union()
313 PetscCall(PetscSectionGetOffset(unionSection, e - pStart, &eOff)); in DMPlexCreateReferenceTree_Union()
326 PetscCall(PetscSectionGetOffset(unionSection, p - pRefStart + (pEnd - pStart), &uOff)); in DMPlexCreateReferenceTree_Union()
328 PetscCall(PetscSectionGetOffset(unionConeSection, uOff, &cOff)); in DMPlexCreateReferenceTree_Union()
335 PetscCall(PetscSectionGetOffset(unionSection, e - pRefStart + (pEnd - pStart), &eOff)); in DMPlexCreateReferenceTree_Union()
[all …]
H A Dplexreorder.c218 PetscCall(PetscSectionGetOffset(cs, p, &off)); in DMPlexRemapCoordinates_Private()
219 PetscCall(PetscSectionGetOffset(*csNew, pperm[p], &offNew)); in DMPlexRemapCoordinates_Private()
313 PetscCall(PetscSectionGetOffset(plex->coneSection, p, &off)); in DMPlexPermute()
314 PetscCall(PetscSectionGetOffset(plexNew->coneSection, pperm[p], &offNew)); in DMPlexPermute()
329 PetscCall(PetscSectionGetOffset(plex->supportSection, p, &off)); in DMPlexPermute()
330 PetscCall(PetscSectionGetOffset(plexNew->supportSection, pperm[p], &offNew)); in DMPlexPermute()
H A Dplexvtu.c471 PetscCall(PetscSectionGetOffset(coordSection, closure[v], &off)); in DMPlexVTKWriteAll_VTU()
486 PetscCall(PetscSectionGetOffset(cellCoordSection, c, &off)); in DMPlexVTKWriteAll_VTU()
593 PetscCall(PetscSectionGetOffset(section, c, &off)); in DMPlexVTKWriteAll_VTU()
618 PetscCall(PetscSectionGetOffset(section, c, &off)); in DMPlexVTKWriteAll_VTU()
671 PetscCall(PetscSectionGetOffset(section, v, &off)); in DMPlexVTKWriteAll_VTU()
691 PetscCall(PetscSectionGetOffset(section, closure[v], &voff)); in DMPlexVTKWriteAll_VTU()
717 PetscCall(PetscSectionGetOffset(section, v, &off)); in DMPlexVTKWriteAll_VTU()
736 PetscCall(PetscSectionGetOffset(section, closure[v], &voff)); in DMPlexVTKWriteAll_VTU()
H A Dplexindices.c54 PetscCall(PetscSectionGetOffset(closureSection, point, &cloff)); in DMPlexCreateClosureIndex()
H A Dplex.c944 PetscCall(PetscSectionGetOffset(coordSection, point, &off)); in DMPlexView_Ascii_Geometry()
1048 PetscCall(PetscSectionGetOffset(mesh->supportSection, p, &off)); in DMPlexView_Ascii()
1058 PetscCall(PetscSectionGetOffset(mesh->coneSection, p, &off)); in DMPlexView_Ascii()
1093 PetscCall(PetscSectionGetOffset(coordSection, p, &off)); in DMPlexView_Ascii()
1102 PetscCall(PetscSectionGetOffset(coordSectionCell, p, &off)); in DMPlexView_Ascii()
1274 PetscCall(PetscSectionGetOffset(coordSection, v, &off)); in DMPlexView_Ascii()
1323 PetscCall(PetscSectionGetOffset(coordSection, cone[0], &offA)); in DMPlexView_Ascii()
1324 PetscCall(PetscSectionGetOffset(coordSection, cone[1], &offB)); in DMPlexView_Ascii()
2949 PetscCall(PetscSectionGetOffset(sectionGlobal, p, &offset)); in DMCreateMatrix_Plex()
3211 PetscCall(PetscSectionGetOffset(mesh->coneSection, p, &off)); in DMPlexGetCone()
[all …]
H A Dplexnatural.c121 PetscCall(PetscSectionGetOffset(gSection, p, &off)); in DMPlexCreateGlobalToNaturalSF()
134 PetscCall(PetscSectionGetOffset(gSection, p, &off)); in DMPlexCreateGlobalToNaturalSF()
H A Dplexsubmesh.c683 PetscCall(PetscSectionGetOffset(coordSection, c, &off)); in DMPlexShiftCoordinates_Internal()
684 PetscCall(PetscSectionGetOffset(newCoordSection, cNew, &noff)); in DMPlexShiftCoordinates_Internal()
692 PetscCall(PetscSectionGetOffset(coordSection, v, &off)); in DMPlexShiftCoordinates_Internal()
693 …PetscCall(PetscSectionGetOffset(newCoordSection, DMPlexShiftPoint_Internal(v, depth, depthShift), … in DMPlexShiftCoordinates_Internal()
901 PetscCall(PetscSectionGetOffset(pSec, p, &off)); in DMPlexShiftTree_Internal()
902 PetscCall(PetscSectionGetOffset(pSecShifted, pNew, &offNew)); in DMPlexShiftTree_Internal()
1866 PetscCall(PetscSectionGetOffset(coordSection, newp, &off)); in DMPlexConstructCohesiveCells_Internal()
1867 PetscCall(PetscSectionGetOffset(coordSection, splitp, &soff)); in DMPlexConstructCohesiveCells_Internal()
3113 PetscCall(PetscSectionGetOffset(submesh->coneSection, f, &off)); in DMPlexInsertFace_Internal()
3273 PetscCall(PetscSectionGetOffset(coordSection, vertex, &off)); in DMPlexCreateSubmesh_Uninterpolated()
[all …]
/petsc/src/ksp/pc/impls/patch/
H A Dpcpatch.c800 if (off) PetscCall(PetscSectionGetOffset(dofSection[0], p, off)); in PCPatchGetGlobalDofs()
820 PetscCall(PetscSectionGetOffset(dofSection[g], p, &fdof)); in PCPatchGetGlobalDofs()
826 if (off) PetscCall(PetscSectionGetOffset(dofSection[f], p, off)); in PCPatchGetGlobalDofs()
1067 PetscCall(PetscSectionGetOffset(pointCounts, v, &off)); in PCPatchCreateCellPatches()
1069 PetscCall(PetscSectionGetOffset(cellCounts, v, &coff)); in PCPatchCreateCellPatches()
1071 PetscCall(PetscSectionGetOffset(intFacetCounts, v, &ifoff)); in PCPatchCreateCellPatches()
1073 PetscCall(PetscSectionGetOffset(extFacetCounts, v, &efoff)); in PCPatchCreateCellPatches()
1301 PetscCall(PetscSectionGetOffset(cellCounts, v, &off)); in PCPatchCreateCellPatchDiscretisationInfo()
1381 PetscCall(PetscSectionGetOffset(cellNumbering, c, &cell)); in PCPatchCreateCellPatchDiscretisationInfo()
1480 PetscCall(PetscSectionGetOffset(cellCounts, v, &off)); in PCPatchCreateCellPatchDiscretisationInfo()
[all …]
/petsc/src/snes/tutorials/
H A Dex7.c240 PetscCall(PetscSectionGetOffset(s, v, &xoff)); in ComputeResidualLocal()
250 PetscCall(PetscSectionGetOffset(s, cone[0], &yoff)); in ComputeResidualLocal()
251 PetscCall(PetscSectionGetOffset(sGauge, supp[2 * d + 0], &goff)); in ComputeResidualLocal()
255 PetscCall(PetscSectionGetOffset(s, cone[1], &yoff)); in ComputeResidualLocal()
256 PetscCall(PetscSectionGetOffset(sGauge, supp[2 * d + 1], &goff)); in ComputeResidualLocal()
461 PetscCall(PetscSectionGetOffset(s, v, &off)); in TestFreeField()
H A Dex13.c139 PetscCall(PetscSectionGetOffset(coordSection, v, &off)); in CreateSpectralPlanes()
291 PetscCall(PetscSectionGetOffset(coordSection, points[i], &off)); in ComputeSpectral()
292 PetscCall(PetscSectionGetOffset(section, points[i], &offu)); in ComputeSpectral()
/petsc/src/dm/impls/plex/tests/
H A Dex36.c76 PetscCall(PetscSectionGetOffset(cell_section, c, &offset)); in dm_view_geometry()
92 PetscCall(PetscSectionGetOffset(face_section, f, &offset)); in dm_view_geometry()
H A Dex75.c51 PetscCall(PetscSectionGetOffset(coordSec, c, &offset)); in main()
H A Dex3.c254 PetscCall(PetscSectionGetOffset(coordSection, v, &off)); in TransformCoordinates()
282 PetscCall(PetscSectionGetOffset(coordSection, v, &off)); in TransformCoordinates()
479 PetscCall(PetscSectionGetOffset(aSec, c, &cOff)); in SetupSection()
484 PetscCall(PetscSectionGetOffset(cSec, c, &cOff)); in SetupSection()
488 PetscCall(PetscSectionGetOffset(section, a, &aOff)); in SetupSection()
H A Dex64.c233 PetscCall(PetscSectionGetOffset(sectionUA, p, &offUA)); in main()
329 PetscCall(PetscSectionGetOffset(sectionUA, p, &offUA)); in main()
/petsc/src/dm/impls/network/
H A Dnetwork.c1094 PetscCall(PetscSectionGetOffset(network->DataSection, p, &offsetp)); in DMNetworkGetIndex()
1112 PetscCall(PetscSectionGetOffset(network->DataSection, p, &offsetp)); in DMNetworkGetSubnetID()
1187 PetscCall(PetscSectionGetOffset(network->DataSection, p, &offset)); in DMNetworkGetNumComponents()
1226 PetscCall(PetscSectionGetOffset(network->plex->localSection, p, &offsetp)); in DMNetworkGetLocalVecOffset()
1232 PetscCall(PetscSectionGetOffset(network->DataSection, p, &offsetd)); in DMNetworkGetLocalVecOffset()
1270 PetscCall(PetscSectionGetOffset(network->plex->globalSection, p, &offsetp)); in DMNetworkGetGlobalVecOffset()
1277 PetscCall(PetscSectionGetOffset(network->DataSection, p, &offsetd)); in DMNetworkGetGlobalVecOffset()
1304 PetscCall(PetscSectionGetOffset(network->edge.DofSection, p, offset)); in DMNetworkGetEdgeOffset()
1330 PetscCall(PetscSectionGetOffset(network->vertex.DofSection, p, offset)); in DMNetworkGetVertexOffset()
1474 PetscCall(PetscSectionGetOffset(network->DataSection, p, &offset)); in DMNetworkGetComponent()
[all …]
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A Dpetscsec.pxi42 PetscErrorCode PetscSectionGetOffset(PetscSection, PetscInt, PetscInt*)
/petsc/include/petsc/private/
H A Ddmimpl.h434 PetscCall(PetscSectionGetOffset(dm->localSection, point, start)); in DMGetLocalOffset_Private()
479 PetscCall(PetscSectionGetOffset(dm->globalSection, point, start)); in DMGetGlobalOffset_Private()
505 PetscCall(PetscSectionGetOffset(dm->globalSection, point, start)); in DMGetGlobalFieldOffset_Private()
506 PetscCall(PetscSectionGetOffset(dm->localSection, point, &loff)); in DMGetGlobalFieldOffset_Private()
/petsc/src/dm/impls/plex/adaptors/parmmg/
H A Dparmmgadapt.c125 PetscCall(PetscSectionGetOffset(coordSection, v + vStart, &off)); in DMAdaptMetric_ParMmg_Plex()
264 PetscCall(PetscSectionGetOffset(rankSection, k, &offset)); in DMAdaptMetric_ParMmg_Plex()
296 PetscCall(PetscSectionGetOffset(rankSection, v, &offset)); in DMAdaptMetric_ParMmg_Plex()
319 PetscCall(PetscSectionGetOffset(rankSection, v, &offset)); in DMAdaptMetric_ParMmg_Plex()
/petsc/src/dm/impls/plex/tutorials/
H A Dex20.c79 PetscCall(PetscSectionGetOffset(coordSection, v, &cOff)); in main()
80 PetscCall(PetscSectionGetOffset(s, v, &sOff)); in main()
/petsc/src/dm/impls/plex/hdf5/
H A Dplexhdf5xdmf.c47 PetscCall(PetscSectionGetOffset(cs, p, &o)); in DMPlexInvertCells_XDMF_Private()
/petsc/src/dm/impls/plex/generators/triangle/
H A Dtrigenerate.c104 PetscCall(PetscSectionGetOffset(coordSection, v, &off)); in DMPlexGenerate_Triangle()
268 PetscCall(PetscSectionGetOffset(coordSection, v, &off)); in DMPlexRefine_Triangle()
/petsc/src/vec/is/section/interface/
H A Dsection.c153 PetscCall(PetscSectionGetOffset(section, p, &off)); in PetscSectionCopy_Internal()
282 PetscCall(PetscSectionGetOffset(s1, p, &n1)); in PetscSectionCompare()
283 PetscCall(PetscSectionGetOffset(s2, p, &n2)); in PetscSectionCompare()
1569 PetscCall(PetscSectionGetOffset(gs, p, &off)); in PetscSectionCreateGlobalSection()
1827 PetscErrorCode PetscSectionGetOffset(PetscSection s, PetscInt point, PetscInt *offset) in PetscSectionGetOffset() function
1891 PetscCall(PetscSectionGetOffset(s->field[field], point, offset)); in PetscSectionGetFieldOffset()
1959 PetscCall(PetscSectionGetOffset(s, point, &off)); in PetscSectionGetFieldPointOffset()
1960 PetscCall(PetscSectionGetOffset(s->field[field], point, &foff)); in PetscSectionGetFieldPointOffset()
2374 PetscCall(PetscSectionGetOffset(s, p, &off)); in PetscSectionCreateSubplexSection_Private()
4000 PetscCall(PetscSectionGetOffset(origSection, points_[i], &o0)); \
[all …]
/petsc/include/
H A Dpetscsection.h58 PETSC_EXTERN PetscErrorCode PetscSectionGetOffset(PetscSection, PetscInt, PetscInt *);
/petsc/src/vec/vec/utils/
H A Dvsection.c217 PetscCall(PetscSectionGetOffset(sectionGlobal, p, &goff)); in PetscSectionGetField_Internal()

123