Home
last modified time | relevance | path

Searched refs:sm (Results 1 – 10 of 10) sorted by relevance

/petsc/src/ts/tutorials/multirate/
H A Dfinitevolume1d.h68 void Limit3_Upwind(LimitInfo info, const PetscScalar *jL, const PetscScalar *jR, const PetscInt sm,…
69 …mitInfo info, const PetscScalar *jL, const PetscScalar *jR, const PetscInt sm, const PetscInt mf, …
70 …mitInfo info, const PetscScalar *jL, const PetscScalar *jR, const PetscInt sm, const PetscInt mf, …
71 void Limit3_Fromm(LimitInfo info, const PetscScalar *jL, const PetscScalar *jR, const PetscInt sm, …
72 void Limit3_Minmod(LimitInfo info, const PetscScalar *jL, const PetscScalar *jR, const PetscInt sm,…
73 …mitInfo info, const PetscScalar *jL, const PetscScalar *jR, const PetscInt sm, const PetscInt mf, …
74 void Limit3_MC(LimitInfo info, const PetscScalar *jL, const PetscScalar *jR, const PetscInt sm, con…
75 void Limit3_Koren3(LimitInfo info, const PetscScalar *jL, const PetscScalar *jR, const PetscInt sm,…
129 …PetscInt sm, mf, fm, ms; /* positions (array index) for slow-medium, medium-fast, fast-medi… member
H A Dex8.c137 hs = (ctx->xmax - ctx->xmin) / 8.0 / ctx->sm; in FVSample_3WaySplit()
138 hm = (ctx->xmax - ctx->xmin) / 4.0 / (ctx->mf - ctx->sm); in FVSample_3WaySplit()
141 if (i < ctx->sm) { in FVSample_3WaySplit()
151 xi = ctx->xmin + ctx->sm * hs + 0.5 * hm + (i - ctx->sm) * hm; in FVSample_3WaySplit()
160 xi = ctx->xmin + ctx->sm * hs + (ctx->mf - ctx->sm) * hm + 0.5 * hf + (i - ctx->mf) * hf; in FVSample_3WaySplit()
169 …xi = ctx->xmin + ctx->sm * hs + (ctx->mf - ctx->sm) * hm + (ctx->fm - ctx->mf) * hf + 0.5 * hm + (… in FVSample_3WaySplit()
178 …xi = ctx->xmin + ctx->sm * hs + (ctx->mf - ctx->sm) * hm + (ctx->fm - ctx->mf) * hf + (ctx->ms - c… in FVSample_3WaySplit()
202 hs = (ctx->xmax - ctx->xmin) / 8.0 / ctx->sm; in SolutionErrorNorms_3WaySplit()
203 hm = (ctx->xmax - ctx->xmin) / 4.0 / (ctx->mf - ctx->sm); in SolutionErrorNorms_3WaySplit()
210 if (i < ctx->sm || i > ctx->ms - 1) *nrm1 += hs * PetscAbs(ptr_X[i] - ptr_Y[i]); in SolutionErrorNorms_3WaySplit()
[all …]
H A Dfinitevolume1d.c283 void Limit3_Upwind(LimitInfo info, const PetscScalar *jL, const PetscScalar *jR, const PetscInt sm,… in Limit3_Upwind() argument
288 …mitInfo info, const PetscScalar *jL, const PetscScalar *jR, const PetscInt sm, const PetscInt mf, … 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 …mitInfo info, const PetscScalar *jL, const PetscScalar *jR, const PetscInt sm, const PetscInt mf, … in Limit3_BeamWarming() argument
306 if (n < sm || n > ms) { in Limit3_BeamWarming()
308 } else if (n == sm || n == ms) { in Limit3_BeamWarming()
318 void Limit3_Fromm(LimitInfo info, const PetscScalar *jL, const PetscScalar *jR, const PetscInt sm, … in Limit3_Fromm() argument
321 if (n < sm - 1 || n > ms) { in Limit3_Fromm()
323 } else if (n == sm - 1) { in Limit3_Fromm()
[all …]
/petsc/src/ksp/ksp/tutorials/
H A Dex54f.F90311 PetscReal s, t, xsj, xsj1, sh, th, sp, tp, sm
320 sm = 0.5 - sh
322 shp(3, 1) = sm*tm
325 shp(3, 4) = sm*tp
359 ysm = ys*sm
363 xsm = xs*sm
/petsc/src/tao/leastsquares/impls/pounders/
H A Dgqt.c8 PetscReal e, temp, w, wm, ynorm, znorm, s, sm; in estsv() local
41 sm = PetscAbs(e + z[i]); in estsv()
42 for (j = i + 1; j < n; j++) sm += PetscAbs(z[j] + wm * r[i + ldr * j]); in estsv()
48 if (s < sm) { in estsv()
/petsc/src/tao/leastsquares/tutorials/matlab/more_wild_probs/
H A Dperf_profile.m80 sl = mod(s-1,3) + 1; sc = mod(s-1,7) + 1; sm = mod(s-1,12) + 1;
81 option1 = [char(lines(sl)) colors(sc) markers(sm)];
/petsc/src/vec/vec/impls/nest/
H A Dvecnest.c544 PetscInt j, sm; in VecGetArray_Nest() local
547 PetscCall(VecGetLocalSize(subvec, &sm)); in VecGetArray_Nest()
550 for (j = 0; j < sm; j++) { in VecGetArray_Nest()
572 PetscInt j, sm; in VecRestoreArray_Nest() local
575 PetscCall(VecGetLocalSize(subvec, &sm)); in VecRestoreArray_Nest()
578 for (j = 0; j < sm; j++) { in VecRestoreArray_Nest()
/petsc/config/BuildSystem/config/packages/
H A DCUDA.py367 sm = out[-3:]
368 self.cudaArch = str(int(10*float(sm)))
/petsc/src/mat/impls/nest/
H A Dmatnest.c21 PetscInt sm, sM; in MatNestGetSizes_Private() local
22 PetscCall(ISGetLocalSize(bA->isglobal.row[i], &sm)); in MatNestGetSizes_Private()
24 *m += sm; in MatNestGetSizes_Private()
/petsc/share/petsc/datafiles/meshes/
H A Dtestcase3D.cas4426 (mp/visc-disp/pow-sm 2.)
4427 (mp/visc-disp/sm-relax 1.)