Home
last modified time | relevance | path

Searched refs:ms (Results 1 – 22 of 22) sorted by relevance

/petsc/src/snes/impls/ms/
H A Dms.c238 SNES_MS *ms = (SNES_MS *)snes->data; in SNESMSStep_3Sstar() local
239 SNESMSTableau t = ms->tableau; in SNESMSStep_3Sstar()
249 …a[0 * nstages + i] - 1, gamma[1 * nstages + i], gamma[2 * nstages + i], -betasub[i] * ms->damping}; in SNESMSStep_3Sstar()
266 SNES_MS *ms = (SNES_MS *)snes->data; in SNESMSStep_Basic() local
267 SNESMSTableau tab = ms->tableau; in SNESMSStep_Basic()
268 const PetscReal *alpha = tab->betasub, h = ms->damping; in SNESMSStep_Basic()
284 SNES_MS *ms = (SNES_MS *)snes->data; in SNESMSStep_Step() local
285 SNESMSTableau tab = ms->tableau; in SNESMSStep_Step()
365 SNES_MS *ms = (SNES_MS *)snes->data; in SNESSetUp_MS() local
366 SNESMSTableau tab = ms->tableau; in SNESSetUp_MS()
[all …]
/petsc/src/sys/classes/matlabengine/ftn-custom/
H A Dzmatlabf.c12 char *ms; in petscmatlabengineevaluate_() local
13 FIXCHAR(m, len, ms); in petscmatlabengineevaluate_()
14 *ierr = PetscMatlabEngineEvaluate(*e, ms); in petscmatlabengineevaluate_()
16 FREECHAR(m, ms); in petscmatlabengineevaluate_()
/petsc/src/mat/tests/
H A Dex97.c8 PetscInt i, ms, me; in AssembleMatrix() local
15 PetscCall(MatGetOwnershipRange(B, &ms, &me)); in AssembleMatrix()
16 for (i = ms; i < me; i++) PetscCall(MatSetValue(B, i, i, 1.0 * i, INSERT_VALUES)); in AssembleMatrix()
99 PetscInt ms, idxrow[3], idxcol[4]; in main() local
110 PetscCall(MatGetOwnershipRange(A, &ms, NULL)); in main()
112 idxrow[0] = ms + 1; in main()
113 idxrow[1] = ms + 2; in main()
114 idxrow[2] = ms + 4; in main()
117 idxcol[0] = ms + 1; in main()
118 idxcol[1] = ms + 2; in main()
[all …]
H A Dex99.c8 PetscInt i, ms, me; in AssembleMatrix() local
15 PetscCall(MatGetOwnershipRange(B, &ms, &me)); in AssembleMatrix()
16 for (i = ms; i < me; i++) PetscCall(MatSetValue(B, i, i, 1.0 * i, INSERT_VALUES)); in AssembleMatrix()
101 PetscInt ms, idxrow[3], idxcol[3]; in main() local
112 PetscCall(MatGetOwnershipRange(A, &ms, NULL)); in main()
114 idxrow[0] = ms + 1; in main()
115 idxrow[1] = ms + 2; in main()
116 idxrow[2] = ms + 4; in main()
119 idxcol[0] = ms + 1; in main()
120 idxcol[1] = ms + 2; in main()
[all …]
/petsc/src/tao/complementarity/tutorials/
H A Dblackscholes.c106 PetscInt ms, mt; /* Number of elements */ member
146 user.ms = 150; in main()
154 PetscCall(PetscOptionsGetInt(NULL, NULL, "-ms", &user.ms, &flg)); in main()
162 user.ms++; in main()
163 PetscCall(DMDACreate1d(PETSC_COMM_WORLD, DM_BOUNDARY_NONE, user.ms, 1, 1, NULL, &user.dm)); in main()
176 user.ds = user.es / (user.ms - 1); in main()
193 if (gxs + gxm == user.ms) user.Vt1[gxm - 1] = 0; in main()
263 PetscInt ms = user->ms; in ComputeVariableBounds() local
283 if (xs + xm == ms) { in ComputeVariableBounds()
310 PetscInt ms = user->ms; in FormConstraints() local
[all …]
/petsc/src/mat/graphops/color/impls/power/
H A Dpower.c5 Mat m = mc->mat, mp, ms; in MatColoringApply_Power() local
17 ms = mp; in MatColoringApply_Power()
18 PetscCall(MatMatMult(m, ms, MAT_INITIAL_MATRIX, 2.0, &mp)); in MatColoringApply_Power()
19 PetscCall(MatDestroy(&ms)); in MatColoringApply_Power()
/petsc/src/ts/tutorials/multirate/
H A Dfinitevolume1d.h68 …R, const PetscInt sm, const PetscInt mf, const PetscInt fm, const PetscInt ms, PetscInt n, PetscSc…
69 …R, const PetscInt sm, const PetscInt mf, const PetscInt fm, const PetscInt ms, PetscInt n, PetscSc…
70 …R, const PetscInt sm, const PetscInt mf, const PetscInt fm, const PetscInt ms, PetscInt n, PetscSc…
71 …R, const PetscInt sm, const PetscInt mf, const PetscInt fm, const PetscInt ms, PetscInt n, PetscSc…
72 …R, const PetscInt sm, const PetscInt mf, const PetscInt fm, const PetscInt ms, PetscInt n, PetscSc…
73 …R, const PetscInt sm, const PetscInt mf, const PetscInt fm, const PetscInt ms, PetscInt n, PetscSc…
74 …R, const PetscInt sm, const PetscInt mf, const PetscInt fm, const PetscInt ms, PetscInt n, PetscSc…
75 …R, const PetscInt sm, const PetscInt mf, const PetscInt fm, const PetscInt ms, PetscInt n, PetscSc…
129 …PetscInt sm, mf, fm, ms; /* positions (array index) for slow-medium, medium-fast, fast-medi… member
H A Dex8.c168 } else if (i < ctx->ms) { in FVSample_3WaySplit()
178 …mf - ctx->sm) * hm + (ctx->fm - ctx->mf) * hf + (ctx->ms - ctx->fm) * hm + 0.5 * hs + (i - ctx->ms in FVSample_3WaySplit()
210 if (i < ctx->sm || i > ctx->ms - 1) *nrm1 += hs * PetscAbs(ptr_X[i] - ptr_Y[i]); in SolutionErrorNorms_3WaySplit()
223 PetscInt i, j, k, Mx, dof, xs, xm, sm = ctx->sm, mf = ctx->mf, fm = ctx->fm, ms = ctx->ms; in FVRHSFunction_3WaySplit() local
278 (*ctx->limit3)(&info, cjmpL, cjmpR, ctx->sm, ctx->mf, ctx->fm, ctx->ms, i, ctx->cslope); in FVRHSFunction_3WaySplit()
291 if (i < sm || i > ms) { /* slow region */ in FVRHSFunction_3WaySplit()
315 } else if (i == ms) { /* interface between medium and slow regions */ in FVRHSFunction_3WaySplit()
397 …PetscInt i, j, k, Mx, dof, xs, xm, islow = 0, sm = ctx->sm, ms = ctx->ms, lsbwidth = ctx->lsbw… in FVRHSFunctionslow_3WaySplit() local
429 …if (i < sm - lsbwidth + 1 || i > ms + rsbwidth - 2) { /* slow components and the first and last fa… in FVRHSFunctionslow_3WaySplit()
450 (*ctx->limit3)(&info, cjmpL, cjmpR, ctx->sm, ctx->mf, ctx->fm, ctx->ms, i, ctx->cslope); in FVRHSFunctionslow_3WaySplit()
[all …]
H A Dfinitevolume1d.c283 …R, const PetscInt sm, const PetscInt mf, const PetscInt fm, const PetscInt ms, PetscInt n, PetscSc… in Limit3_Upwind() argument
288 …R, const PetscInt sm, const PetscInt mf, const PetscInt fm, const PetscInt ms, PetscInt n, PetscSc… in Limit3_LaxWendroff() argument
291 if (n < sm - 1 || n > ms) { /* slow components */ in Limit3_LaxWendroff()
293 } else if (n == sm - 1 || n == ms - 1) { /* slow component which is next to medium components */ in Limit3_LaxWendroff()
303 …R, const PetscInt sm, const PetscInt mf, const PetscInt fm, const PetscInt ms, PetscInt n, PetscSc… in Limit3_BeamWarming() argument
306 if (n < sm || n > ms) { in Limit3_BeamWarming()
308 } else if (n == sm || n == ms) { in Limit3_BeamWarming()
318 …R, const PetscInt sm, const PetscInt mf, const PetscInt fm, const PetscInt ms, PetscInt n, PetscSc… in Limit3_Fromm() argument
321 if (n < sm - 1 || n > ms) { in Limit3_Fromm()
327 } else if (n == ms - 1) { in Limit3_Fromm()
[all …]
/petsc/src/dm/impls/da/
H A Ddadd.c35 PetscInt ms = 0, ns = 0, ps = 0; in DMDACreatePatchIS() local
103 ms = 0; in DMDACreatePatchIS()
141 while (ii > me - 1 || ii < ms) { in DMDACreatePatchIS()
143 ms = 0; in DMDACreatePatchIS()
148 ms = me; in DMDACreatePatchIS()
177 xm = me - ms; in DMDACreatePatchIS()
180 base = ms * ym * zm + ns * M * zm + ps * M * N; in DMDACreatePatchIS()
182 si = ii - ms; in DMDACreatePatchIS()
198 PetscCall(DMDAGetCorners(da, &ms, &ns, &ps, &mw, &nw, &pw)); in DMDACreatePatchIS()
199 me = ms + mw; in DMDACreatePatchIS()
[all …]
/petsc/src/snes/tutorials/output/
H A Dex3_11.out6 SNES Type ms
/petsc/src/ts/tests/output/
H A Dex21_1_bdf_ngmres_fas_ms.out103 type: ms
137 type: ms
H A Dex21_2_bdf_ngmres_fas_ms.out131 type: ms
181 type: ms
/petsc/config/BuildSystem/
H A Dlogger.py383 for ms in clean_msg.splitlines():
384 f.write(ms[:self.linewidth])
/petsc/doc/install/
H A Dwindows.md155 $ cygpath -u `cygpath -ms '/cygdrive/c/Program Files (x86)/Microsoft SDKs/MPI'`
157 $ cygpath -u `cygpath -ms '/cygdrive/c/Program Files (x86)/IntelSWTools/compilers_and_libraries/win…
/petsc/lib/petsc/bin/maint/
H A Dxclude69 petsc-dist/config/cygwin-ms
/petsc/src/dm/impls/plex/
H A Dplexpartition.c1835 PetscInt base, ms; in DMPlexRebalanceSharedPoints() local
1837 PetscCall(MatGetSize(A, &ms, NULL)); in DMPlexRebalanceSharedPoints()
1838 ms -= size; in DMPlexRebalanceSharedPoints()
1839 base = PetscMax(base, ms); in DMPlexRebalanceSharedPoints()
H A Dplex.c4954 PetscInt p, d, c, m, ms; in DMPlexGetFullJoin() local
4965 PetscCall(DMPlexGetMaxSizes(dm, NULL, &ms)); in DMPlexGetFullJoin()
4966 maxSize = (ms > 1) ? ((PetscPowInt(ms, depth + 1) - 1) / (ms - 1)) : depth + 1; in DMPlexGetFullJoin()
5021 PetscCall(DMRestoreWorkArray(dm, ms, MPIU_INT, &join[1 - i])); in DMPlexGetFullJoin()
/petsc/systems/Apple/iOS/PETSc/PETSc.xcodeproj/
H A Dproject.pbxproj92 …D89D1CD5207AA1AB00FACC19 /* ms.c in Sources */ = {isa = PBXBuildFile; fileRef = D89D19ED207AA1A900…
844 …89D19ED207AA1A900FACC19 /* ms.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType …
1615 D89D19ED207AA1A900FACC19 /* ms.c */,
2630 D89D1CD5207AA1AB00FACC19 /* ms.c in Sources */,
/petsc/doc/community/meetings/2023/
H A Dindex.md794 (hong-zhang-ms)=
/petsc/doc/manual/
H A Dsnes.md337 - ``ms``
/petsc/share/petsc/datafiles/meshes/
H A Dtestcase3D.cas8757 (ms-levels/viscous-ta (#t #t #t #t))
8758 (ms-levels/dissipation-ta (#t #t #t #t))
8759 (ms-coefficients-ta (0.25 0.333333 0.5 1.))
8760 (ms-levels/viscous (#t #t #t #t #t))
8761 (ms-levels/dissipation (#t #t #t #t #t))
8762 (ms-coefficients (0.2075 0.5915 1.))