Home
last modified time | relevance | path

Searched refs:js (Results 1 – 18 of 18) sorted by relevance

/petsc/lib/petsc/bin/
H A Dpetscnagfor118 js = [x for x in i.split(' ') if not x == '-Bstatic' and not x == '-Bdynamic'] variable
123 last = js[-2][5:]
125 last = js[-1][5:]
130 js[-2] = last
132 js[-1] = last
134 if verbose: print(' '.join(js))
135 (suboutput,error,status) = runnagfor(js)
136 if js[0].endswith('forcomp'):
164 js = i.strip().split(' ') variable
168 for x in js:
[all …]
/petsc/src/dm/tests/
H A Dex24.c8 PetscInt M = 6, N = 5, m = PETSC_DECIDE, n = PETSC_DECIDE, i, j, is, js, in, jen; in main() local
22 PetscCall(DMDAGetCorners(da, &is, &js, 0, &in, &jen, 0)); in main()
25 for (j = js; j < js + jen; j++) { in main()
H A Dex25.c8 …= 5, P = 4, m = PETSC_DECIDE, n = PETSC_DECIDE, p = PETSC_DECIDE, i, j, k, is, js, ks, in, jen, kn; in main() local
22 PetscCall(DMDAGetCorners(da, &is, &js, &ks, &in, &jen, &kn)); in main()
25 for (j = js; j < js + jen; j++) { in main()
/petsc/src/mat/tests/
H A Dex65.c8 PetscInt m = 100, n = 11, js[11], i, j, cnt; in main() local
21 for (j = 0; j < n; j += 2) js[cnt++] = j; in main()
23 PetscCall(MatSetValues(A, 1, &i, cnt, js, values, INSERT_VALUES)); in main()
/petsc/src/dm/impls/stag/tests/
H A Dex12.c10 …PetscInt startx, starty, nx, ny, i, j, d, is, js, dof0, dof1, dof2, dofTotal, stencilWidth, … in main() local
45 for (js = -stencilWidth; js <= stencilWidth; ++js) a2[j][i][d] += a1[j + js][i][d]; in main()
H A Dex9.c10 …PetscInt startx, starty, startz, nx, ny, nz, i, j, k, d, is, js, ks, dof0, dof1, dof2, dof3,… in main() local
48 for (js = -stencilWidth; js <= stencilWidth; ++js) a2[k][j][i][d] += a1[k][j + js][i][d]; in main()
H A Dex10.c10 …PetscInt startx, starty, nx, ny, i, j, d, is, js, dof0, dof1, dof2, dofTotal, stencilWidth, … in main() local
45 for (js = -stencilWidth; js <= stencilWidth; ++js) { in main()
46 for (is = -stencilWidth; is <= stencilWidth; ++is) a2[j][i][d] += a1[j + js][i + is][d]; in main()
H A Dex7.c10 …PetscInt startx, starty, startz, nx, ny, nz, i, j, k, d, is, js, ks, dof0, dof1, dof2, dof3,… in main() local
48 for (js = -stencilWidth; js <= stencilWidth; ++js) { in main()
49 …for (is = -stencilWidth; is <= stencilWidth; ++is) a2[k][j][i][d] += a1[k + ks][j + js][i + is][d]; in main()
/petsc/src/dm/tutorials/
H A Dswarm_ex1.c181 PetscInt is, js, ni, nj, overlap; in ex1_3() local
192 PetscCall(DMDAGetCorners(dmcell, &is, &js, NULL, &ni, &nj, NULL)); in ex1_3()
222 for (j = js; j < js + nj; j++) { in ex1_3()
344 PetscInt is, js, ni, nj, overlap, nn; in ex1_4() local
359 PetscCall(DMDAGetCorners(dmcell, &is, &js, NULL, &ni, &nj, NULL)); in ex1_4()
388 for (j = js; j < js + nj; j++) { in ex1_4()
/petsc/src/ts/characteristic/interface/
H A Dcharacteristic.c340 PetscInt n, is, ie, js, je, comp; in CharacteristicSolve() local
353 js = info.ys; in CharacteristicSolve()
378 for (Qi.j = js; Qi.j < je; Qi.j++) { in CharacteristicSolve()
519 …PetscCheck((im >= (PetscScalar)is - 1.) && (im <= (PetscScalar)ie) && (jm >= (PetscScalar)js - 1.)… in CharacteristicSolve()
784 PetscReal is, ie, js, je; in DMDAGetNeighborRelative() local
789 js = (PetscReal)info.ys - 0.5; in DMDAGetNeighborRelative()
793 if (jr >= js && jr <= je) return 0; in DMDAGetNeighborRelative()
794 else if (jr < js) return 7; in DMDAGetNeighborRelative()
797 if (jr >= js && jr <= je) return 1; in DMDAGetNeighborRelative()
798 else if (jr < js) return 8; in DMDAGetNeighborRelative()
[all …]
/petsc/share/petsc/saws/
H A Ddocumentation46 Folder "js" contains all the Javascript code.
53 Javascript variables declared outside functions in the js files will be visible from any other js f…
66 The webpage is heavily event-based. Main.js simply triggers a few elements to set the defaults and …
/petsc/src/ksp/ksp/tutorials/
H A Dex45f.F90107 PetscInt is, js, iw, jw
125 PetscCallA(DMDAGetCorners(dm, is, js, PETSC_NULL_INTEGER, iw, jw, PETSC_NULL_INTEGER, ierr))
/petsc/src/snes/tutorials/
H A Dex30.c965 PetscInt i, j, is, js, im, jm; in Initialize() local
975 PetscCall(DMDAGetCorners(da, &is, &js, NULL, &im, &jm, NULL)); in Initialize()
979 for (j = js; j < js + jm; j++) { in Initialize()
1100 PetscInt i, j, is, js, im, jm, ilim, jlim, ivt; in ViscosityField() local
1122 PetscCall(DMDAGetCorners(da, &is, &js, NULL, &im, &jm, NULL)); in ViscosityField()
1123 for (j = js; j < js + jm; j++) { in ViscosityField()
1154 PetscInt i, j, is, js, im, jm; in StressField() local
1162 PetscCall(DMDAGetCorners(da, &is, &js, NULL, &im, &jm, NULL)); in StressField()
1171 for (j = js; j < js + jm; j++) { in StressField()
1295 PetscInt is, ie, js, je, ibound; /* ,ivisc */ in FormFunctionLocal() local
[all …]
/petsc/src/ts/tests/
H A Dex3.c498 PetscInt i, j, js, je, jj; in rhs() local
513 js = 0; in rhs()
514 if (i == 0) js = 1; in rhs()
518 for (jj = js; jj <= je; jj++) { in rhs()
/petsc/src/tao/pde_constrained/tutorials/
H A Delliptic.c539 PetscInt m, n, i, j, k, l, linear_index, is, js, ks, ls, istart, iend, iblock; in EllipticInitialize() local
704 for (js = 0; js < 2; js++) { in EllipticInitialize()
706 ls = is * 4 + js * 2 + ks; in EllipticInitialize()
719 … PETSC_PI * (vx + 0.25 * is)) * PetscSinScalar(2 * PETSC_PI * (vy + 0.25 * js)) * PetscSinScalar(2… in EllipticInitialize()
/petsc/lib/petsc/conf/
H A Drules259 …SAFE_HEAP=1 -s STACK_OVERFLOW_CHECK=1 -s ALLOW_MEMORY_GROWTH $(EXEFLAGS) -o $@.js $@.o $(PETSC_LIB)
260 …-@printf '#!/usr/bin/env sh\nnode --redirect-warnings=/dev/null $@.js $$* | grep -v "Heap resize c…
/petsc/
H A Dgmakefile.test271 …SAFE_HEAP=1 -s STACK_OVERFLOW_CHECK=1 -s ALLOW_MEMORY_GROWTH $(EXEFLAGS) -o $@.js $@.o $(PETSC_LIB)
272 …-@printf '#!/usr/bin/env sh\nnode --redirect-warnings=/dev/null $$0.js $$* | grep -v "Heap resize …
/petsc/doc/manual/
H A Dother.md391 javascript files (they much be in `rootdirectory/js`).