Home
last modified time | relevance | path

Searched refs:si (Results 1 – 21 of 21) sorted by relevance

/petsc/src/dm/dt/space/impls/tensor/
H A Dspacetensor.c45 PetscSpace si; in PetscSpaceSetFromOptions_Tensor() local
47 PetscCall(PetscSpaceTensorGetSubspace(sp, i, &si)); in PetscSpaceSetFromOptions_Tensor()
48 if (si != s0) { in PetscSpaceSetFromOptions_Tensor()
155 PetscSpace si; in PetscSpaceSetUp_Tensor() local
157 PetscCall(PetscSpaceTensorGetSubspace(sp, i, &si)); in PetscSpaceSetUp_Tensor()
158 if (si != s0) { in PetscSpaceSetUp_Tensor()
182 PetscSpace si = NULL; in PetscSpaceSetUp_Tensor() local
184 PetscCall(PetscSpaceTensorGetSubspace(sp, i, &si)); in PetscSpaceSetUp_Tensor()
185 if (!si) PetscCall(PetscSpaceTensorCreateSubspace(sp, 1, 1, &si)); in PetscSpaceSetUp_Tensor()
186 else PetscCall(PetscObjectReference((PetscObject)si)); in PetscSpaceSetUp_Tensor()
[all …]
/petsc/src/dm/tutorials/
H A Dswarm_ex3.c13 PetscInt p, n, bs, npoints, si, sj, milocal, mjlocal, mx, my; in _DMLocatePoints_DMDARegular_IS() local
28 PetscCall(DMDAGetCorners(dmregular, &si, &sj, NULL, &milocal, &mjlocal, NULL)); in _DMLocatePoints_DMDARegular_IS()
48 if ((mi >= si) && (mi < si + milocal)) cellidx[p] = (mi - si) + (mj - sj) * milocal; in _DMLocatePoints_DMDARegular_IS()
169 PetscInt si, sj, milocal, mjlocal; in ex3_1() local
174 PetscCall(DMDAGetCorners(dmregular, &si, &sj, NULL, &milocal, &mjlocal, NULL)); in ex3_1()
H A Dex15.c72 PetscInt i, j, k, l, si, sj, sk, ni, nj, nk, M, N, dof; in DMDAVecGenerateEntries() local
76 PetscCall(DMDAGetCorners(dm, &si, &sj, &sk, &ni, &nj, &nk)); in DMDAVecGenerateEntries()
80 for (i = si; i < si + ni; i++) { in DMDAVecGenerateEntries()
/petsc/src/ksp/ksp/tutorials/
H A Dex49.c266 PetscInt si, sj, nx, ny, i, j; in DMDACoordViewGnuplot2d() local
281 PetscCall(DMDAGetGhostCorners(cda, &si, &sj, 0, &nx, &ny, 0)); in DMDACoordViewGnuplot2d()
283 for (i = si; i < si + nx - 1; i++) { in DMDACoordViewGnuplot2d()
306 PetscInt si, sj, nx, ny, i, j; in DMDAViewGnuplot2d() local
328 PetscCall(DMDAGetGhostCorners(cda, &si, &sj, 0, &nx, &ny, 0)); in DMDAViewGnuplot2d()
336 for (i = si; i < si + nx; i++) { in DMDAViewGnuplot2d()
345 field_d = _fields[n_dofs * ((i - si) + (j - sj) * (nx)) + d]; in DMDAViewGnuplot2d()
368 PetscInt si, sj, nx, ny, i, j, p; in DMDAViewCoefficientsGnuplot2d() local
388 PetscCall(DMDAGetGhostCorners(cda, &si, &sj, 0, &nx, &ny, 0)); in DMDAViewCoefficientsGnuplot2d()
396 for (i = si; i < si + nx; i++) { in DMDAViewCoefficientsGnuplot2d()
[all …]
H A Dex43.c318 PetscInt si, sj, nx, ny, i, j; in DMDACoordViewGnuplot2d() local
334 PetscCall(DMDAGetGhostCorners(cda, &si, &sj, 0, &nx, &ny, 0)); in DMDACoordViewGnuplot2d()
336 for (i = si; i < si + nx - 1; i++) { in DMDACoordViewGnuplot2d()
358 PetscInt si, sj, nx, ny, i, j; in DMDAViewGnuplot2d() local
381 PetscCall(DMDAGetGhostCorners(cda, &si, &sj, 0, &nx, &ny, 0)); in DMDAViewGnuplot2d()
389 for (i = si; i < si + nx; i++) { in DMDAViewGnuplot2d()
398 field_d = _fields[n_dofs * ((i - si) + (j - sj) * (nx)) + d]; in DMDAViewGnuplot2d()
420 PetscInt si, sj, nx, ny, i, j, p; in DMDAViewCoefficientsGnuplot2d() local
441 PetscCall(DMDAGetGhostCorners(cda, &si, &sj, 0, &nx, &ny, 0)); in DMDAViewCoefficientsGnuplot2d()
449 for (i = si; i < si + nx; i++) { in DMDAViewCoefficientsGnuplot2d()
[all …]
H A Dex70.c1289 PetscInt si, sj, nx, ny, i, j; in BCApplyZero_EAST() local
1306 PetscCall(DMDAGetGhostCorners(cda, &si, &sj, 0, &nx, &ny, 0)); in BCApplyZero_EAST()
1327 if ((si + nx) == (M)) nbcs = ny; in BCApplyZero_EAST()
1347 PetscInt si, sj, nx, ny, i, j; in BCApplyZero_WEST() local
1364 PetscCall(DMDAGetGhostCorners(cda, &si, &sj, 0, &nx, &ny, 0)); in BCApplyZero_WEST()
1385 if (si == 0) nbcs = ny; in BCApplyZero_WEST()
1406 PetscInt si, sj, nx, ny, i, j; in BCApplyZero_NORTH() local
1423 PetscCall(DMDAGetGhostCorners(cda, &si, &sj, 0, &nx, &ny, 0)); in BCApplyZero_NORTH()
1464 PetscInt si, sj, nx, ny, i, j; in BCApplyZero_SOUTH() local
1481 PetscCall(DMDAGetGhostCorners(cda, &si, &sj, 0, &nx, &ny, 0)); in BCApplyZero_SOUTH()
H A Dex42.c1214 PetscInt si, sj, sk, ei, ej, ek, i, j, k; in DMDACreateManufacturedSolution() local
1234 PetscCall(DMDAGetCorners(da, &si, &sj, &sk, &ei, &ej, &ek)); in DMDACreateManufacturedSolution()
1237 for (i = si; i < si + ei; i++) { in DMDACreateManufacturedSolution()
1432 PetscInt si, sj, sk, nx, ny, nz, i; in DAView_3DVTK_StructuredGrid_appended() local
1454 PetscCall(DMDAGetGhostCorners(da, &si, &sj, &sk, &nx, &ny, &nz)); in DAView_3DVTK_StructuredGrid_appended()
1458 …scInt_FMT " %" PetscInt_FMT " %" PetscInt_FMT " %" PetscInt_FMT "\">\n", si, si + nx - 1, sj, sj +… in DAView_3DVTK_StructuredGrid_appended()
1459 …scInt_FMT " %" PetscInt_FMT " %" PetscInt_FMT " %" PetscInt_FMT "\">\n", si, si + nx - 1, sj, sj +… in DAView_3DVTK_StructuredGrid_appended()
1638 PetscInt M, N, P, si, sj, sk, nx, ny, nz; in DAView_3DVTK_PStructuredGrid() local
1661 PetscCall(DMDAGetGhostCorners(da, &si, &sj, &sk, &nx, &ny, &nz)); in DAView_3DVTK_PStructuredGrid()
H A Dex59.c458 PetscReal *M, si; in GLLStuffs() local
475 si = (PetscReal)(i + 1.0); in GLLStuffs()
476 M[i] = 0.5 * PetscSqrtReal(si * (si + 2.0) / ((si + 0.5) * (si + 1.5))); in GLLStuffs()
/petsc/share/petsc/matlab/
H A DPetscBinaryWrite.m73 si = imag(s); variable
75 s(2:2:2*ll) = si;
89 si = imag(A); variable
91 A(2:2:2*ll) = si;
/petsc/src/dm/dt/space/impls/sum/
H A Dspacesum.c297 PetscSpace si; in PetscSpaceSetUp_Sum() local
299 PetscCall(PetscSpaceSumGetSubspace(sp, i, &si)); in PetscSpaceSetUp_Sum()
300 if (si != s0) { in PetscSpaceSetUp_Sum()
311 PetscSpace si; in PetscSpaceSetUp_Sum() local
313 PetscCall(PetscSpaceSumGetSubspace(sp, i, &si)); in PetscSpaceSetUp_Sum()
314 PetscCall(PetscSpaceSetUp(si)); in PetscSpaceSetUp_Sum()
315 PetscCall(PetscSpaceGetNumVariables(si, &sNv)); in PetscSpaceSetUp_Sum()
317 PetscCall(PetscSpaceGetNumComponents(si, &sNc)); in PetscSpaceSetUp_Sum()
322 PetscCall(PetscSpaceSumGetSubspace(sp, i, &si)); in PetscSpaceSetUp_Sum()
323 PetscCall(PetscSpaceGetDegree(si, &iDeg, &iMaxDeg)); in PetscSpaceSetUp_Sum()
/petsc/src/sys/logging/handler/impls/perfstubs/
H A Dlogperfstubs.c98 PetscLogEvent si; in PetscLogHandlerPSUpdateStages() local
100 PetscCall(PetscMPIIntCast(i, &si)); in PetscLogHandlerPSUpdateStages()
101 PetscCall(PetscLogStateStageGetInfo(state, si, &stage_info)); in PetscLogHandlerPSUpdateStages()
/petsc/src/dm/impls/stag/
H A Dstagutils.c845 PetscInt si; in DMStagMigrateVec() local
846 for (si = 0; si < 2; ++si) { in DMStagMigrateVec()
847 b += stag->dof[si]; in DMStagMigrateVec()
848 bTo += stagTo->dof[si]; in DMStagMigrateVec()
863 PetscInt si; in DMStagMigrateVec() local
864 for (si = 0; si < 4; ++si) { in DMStagMigrateVec()
865 b += stag->dof[s[si]]; in DMStagMigrateVec()
866 bTo += stagTo->dof[s[si]]; in DMStagMigrateVec()
/petsc/src/dm/impls/da/
H A Ddadd.c40 PetscInt si, sj, sk; in DMDACreatePatchIS() local
182 si = ii - ms; in DMDACreatePatchIS()
186 indices[idx] = l + dof * (base + si + xm * sj + xm * ym * sk); in DMDACreatePatchIS()
240 si = i - ms; in DMDACreatePatchIS()
244 indices[idx] = l + dof * (base + si + xm * sj + xm * ym * sk); in DMDACreatePatchIS()
/petsc/src/ksp/pc/impls/telescope/
H A Dtelescope_dmda.c127 PetscInt i, j, si, sj, ni, nj, M, N, Ml, Nl, c, nidx; in PCTelescopeSetUp_dmda_repart_coors2d() local
146 PetscCall(DMDAGetCorners(subdm, &si, &sj, NULL, &ni, &nj, NULL)); in PCTelescopeSetUp_dmda_repart_coors2d()
150 si = sj = 0; in PCTelescopeSetUp_dmda_repart_coors2d()
159 for (i = si; i < si + ni; i++) { in PCTelescopeSetUp_dmda_repart_coors2d()
218 PetscInt i, j, k, si, sj, sk, ni, nj, nk, M, N, P, Ml, Nl, Pl, c, nidx; in PCTelescopeSetUp_dmda_repart_coors3d() local
239 PetscCall(DMDAGetCorners(subdm, &si, &sj, &sk, &ni, &nj, &nk)); in PCTelescopeSetUp_dmda_repart_coors3d()
244 si = sj = sk = 0; in PCTelescopeSetUp_dmda_repart_coors3d()
255 for (i = si; i < si + ni; i++) { in PCTelescopeSetUp_dmda_repart_coors3d()
/petsc/src/dm/dt/dualspace/impls/sum/
H A Ddualspacesum.c316 const PetscInt *si; in PetscDualSpaceSumCreateMatrix() local
334 PetscCall(MatSeqAIJGetCSRAndMemType(smat, &si, &sj, &sv, &memtype)); in PetscDualSpaceSumCreateMatrix()
336 snz = si[sNrows]; in PetscDualSpaceSumCreateMatrix()
359 for (PetscInt k = si[row]; k < si[row + 1]; k++, snz_actual++) { in PetscDualSpaceSumCreateMatrix()
782 PetscDualSpace si; in PetscDualSpaceSetUp_Sum() local
784 PetscCall(PetscDualSpaceSumGetSubspace(sp, i, &si)); in PetscDualSpaceSetUp_Sum()
785 PetscCall(PetscDualSpaceSetUp(si)); in PetscDualSpaceSetUp_Sum()
786 PetscCall(PetscDualSpaceGetNumComponents(si, &sNc)); in PetscDualSpaceSetUp_Sum()
791 PetscCall(PetscDualSpaceGetFormDegree(si, &formDegree)); in PetscDualSpaceSetUp_Sum()
/petsc/src/ksp/pc/impls/patch/
H A Dpcpatch.c35 PetscInt *star = NULL, si; in PCPatchConstruct_Star() local
43 for (si = 0; si < starSize * 2; si += 2) PetscCall(PetscHSetIAdd(ht, star[si])); in PCPatchConstruct_Star()
54 PetscInt cStart, cEnd, iStart, iEnd, si; in PCPatchConstruct_Vanka() local
68 for (si = 0; si < starSize * 2; si += 2) { in PCPatchConstruct_Vanka()
69 const PetscInt cell = star[si]; in PCPatchConstruct_Vanka()
141 PetscInt si; in PCPatchConstruct_Pardecomp() local
144 for (si = 0; si < starSize * 2; si += 2) { in PCPatchConstruct_Pardecomp()
145 const PetscInt starp = star[si]; in PCPatchConstruct_Pardecomp()
743 PetscInt ignoredim, iStart = 0, iEnd = -1, starSize, closureSize, si, ci; in PCPatchCompleteCellPatch() local
762 for (si = 0; si < starSize * 2; si += 2) { in PCPatchCompleteCellPatch()
[all …]
/petsc/src/sys/objects/
H A Dinit.c241 PetscReal si; in PetscOptionsCheckInitial_Private() local
669 PetscCall(PetscOptionsGetReal(NULL, NULL, "-petsc_sleep", &si, &flg1)); in PetscOptionsCheckInitial_Private()
670 if (flg1) PetscCall(PetscSleep(si)); in PetscOptionsCheckInitial_Private()
/petsc/src/dm/interface/
H A Ddmceed.c303 DMCeed si; in DMCeedCreateInfoFVM() local
309 PetscCall(PetscCalloc1(1, &si)); in DMCeedCreateInfoFVM()
321 *solinfo = si; in DMCeedCreateInfoFVM()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A Dpetscmat.pxi981 cdef Py_ssize_t si = PyArray_DIM(ai, 1)
986 (si*rbs * sj*cbs != sv)): raise ValueError(
998 <PetscInt>si, &i[k*si],
/petsc/doc/
H A Dindex.md4 pronounced PET-see ([/ˈpɛt-siː/](https://en.wikipedia.org/wiki/Help:IPA/English#Key)), is
/petsc/share/petsc/datafiles/meshes/
H A Dtestcase3D.cas719 (case-file-units "si")
2314 (dpm/spray-suite/ssd-x-si -0.1)
7228 (si/relative-solid-data ())
7229 (si/relative-mrf-data ())
7230 (si/relative-mgrid-data ())
7245 (nonconformal/auto-create/si-name-length 25)
7282 (si/enforce-cont-after-bc? #f)
7557 (parallel/si-cleanup-fraction-ratiog 1.2)
7558 (parallel/si-cleanup-fraction-local 1.)
7559 (parallel/si-cleanup-fraction 0.3)
[all …]