Home
last modified time | relevance | path

Searched refs:cSec (Results 1 – 5 of 5) sorted by relevance

/petsc/src/dm/tests/
H A Dex50.c53 PetscSection cSec; in test_3d() local
73 PetscCall(DMGetCoordinateSection(dm, &cSec)); in test_3d()
95 PetscCall(DMPlexVecGetClosure(dm, cSec, cv, i, NULL, &t)); in test_3d()
99 PetscCall(DMPlexVecRestoreClosure(dm, cSec, cv, i, NULL, &t)); in test_3d()
/petsc/src/dm/impls/plex/tests/
H A Dex3.c456 PetscSection cSec, section; in SetupSection() local
465 PetscCall(DMGetDefaultConstraints(dm, &cSec, &cMat, NULL)); in SetupSection()
466 PetscCall(PetscSectionGetChart(cSec, &cStart, &cEnd)); in SetupSection()
483 PetscCall(PetscSectionGetDof(cSec, c, &cDof)); in SetupSection()
484 PetscCall(PetscSectionGetOffset(cSec, c, &cOff)); in SetupSection()
/petsc/src/dm/impls/plex/
H A Dplextree.c1140 …ode DMPlexComputeAnchorMatrix_Tree_Direct(DM dm, PetscSection section, PetscSection cSec, Mat cMat) in DMPlexComputeAnchorMatrix_Tree_Direct() argument
1157 PetscCall(PetscSectionGetChart(cSec, &conStart, &conEnd)); in DMPlexComputeAnchorMatrix_Tree_Direct()
1250 PetscCall(PetscSectionGetFieldDof(cSec, p, f, &conDof)); in DMPlexComputeAnchorMatrix_Tree_Direct()
1252 PetscCall(PetscSectionGetDof(cSec, p, &conDof)); in DMPlexComputeAnchorMatrix_Tree_Direct()
1307 PetscCall(PetscSectionGetFieldDof(cSec, p, f, &conDof)); in DMPlexComputeAnchorMatrix_Tree_Direct()
1308 PetscCall(PetscSectionGetFieldOffset(cSec, p, f, &conOff)); in DMPlexComputeAnchorMatrix_Tree_Direct()
1310 PetscCall(PetscSectionGetDof(cSec, p, &conDof)); in DMPlexComputeAnchorMatrix_Tree_Direct()
1311 PetscCall(PetscSectionGetOffset(cSec, p, &conOff)); in DMPlexComputeAnchorMatrix_Tree_Direct()
2069 PetscSection aSec, cSec; in DMPlexComputeInterpolatorTree() local
2123 PetscCall(DMGetDefaultConstraints(coarse, &cSec, &cMat, NULL)); in DMPlexComputeInterpolatorTree()
[all …]
H A Dplex.c7790 …tscInt nPoints, const PetscInt pnts[], PetscSection section, PetscSection cSec, PetscInt tmpIndice… in DMPlexAnchorsGetSubMatIndices() argument
7797 PetscCall(PetscSectionGetChart(cSec, &cStart, &cEnd)); in DMPlexAnchorsGetSubMatIndices()
7806 if (b >= cStart && b < cEnd) PetscCall(PetscSectionGetDof(cSec, b, &cSecDof)); in DMPlexAnchorsGetSubMatIndices()
7807 indices_section = cSecDof > 0 ? cSec : section; in DMPlexAnchorsGetSubMatIndices()
7841 PetscSection aSec, cSec; in DMPlexAnchorsGetSubMatModification() local
7949 PetscCall(DMGetDefaultConstraints(dm, &cSec, &cMat, NULL)); in DMPlexAnchorsGetSubMatModification()
7950 PetscCall(PetscSectionGetChart(cSec, &cStart, &cEnd)); in DMPlexAnchorsGetSubMatModification()
7996 …PetscCall(DMPlexAnchorsGetSubMatIndices(numPoints, points, section, cSec, tmpIndices, oldOffsetsCo… in DMPlexAnchorsGetSubMatModification()
10670 …tscErrorCode DMPlexCreateConstraintSection_Anchors(DM dm, PetscSection section, PetscSection *cSec) in DMPlexCreateConstraintSection_Anchors() argument
10678 PetscCall(PetscSectionCreate(PETSC_COMM_SELF, cSec)); in DMPlexCreateConstraintSection_Anchors()
[all …]
/petsc/src/dm/interface/
H A Ddm.c2798 PetscSection section, cSec; in DMGlobalToLocalHook_Constraints() local
2805 PetscCall(DMGetDefaultConstraints(dm, &cSec, &cMat, &cBias)); in DMGlobalToLocalHook_Constraints()
2815 PetscCall(PetscSectionGetChart(cSec, &pStart, &pEnd)); in DMGlobalToLocalHook_Constraints()
2817 PetscCall(PetscSectionGetDof(cSec, p, &dof)); in DMGlobalToLocalHook_Constraints()
2820 PetscCall(VecGetValuesSection(cVec, cSec, p, &vals)); in DMGlobalToLocalHook_Constraints()
3017 PetscSection section, cSec; in DMLocalToGlobalHook_Constraints() local
3020 PetscCall(DMGetDefaultConstraints(dm, &cSec, &cMat, NULL)); in DMLocalToGlobalHook_Constraints()
3027 PetscCall(PetscSectionGetChart(cSec, &pStart, &pEnd)); in DMLocalToGlobalHook_Constraints()
3029 PetscCall(PetscSectionGetDof(cSec, p, &dof)); in DMLocalToGlobalHook_Constraints()
3034 PetscCall(VecSetValuesSection(cVec, cSec, p, vals, mode)); in DMLocalToGlobalHook_Constraints()