Home
last modified time | relevance | path

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

/petsc/src/dm/label/
H A Ddmlabel.c2676 PetscSectionSym_Label *sl = (PetscSectionSym_Label *)sym->data; in PetscSectionSymLabelReset() local
2679 for (i = 0; i <= sl->numStrata; i++) { in PetscSectionSymLabelReset()
2680 if (sl->modes[i] == PETSC_OWN_POINTER || sl->modes[i] == PETSC_COPY_VALUES) { in PetscSectionSymLabelReset()
2681 for (j = sl->minMaxOrients[i][0]; j < sl->minMaxOrients[i][1]; j++) { in PetscSectionSymLabelReset()
2682 if (sl->perms[i]) PetscCall(PetscFree(sl->perms[i][j])); in PetscSectionSymLabelReset()
2683 if (sl->rots[i]) PetscCall(PetscFree(sl->rots[i][j])); in PetscSectionSymLabelReset()
2685 if (sl->perms[i]) { in PetscSectionSymLabelReset()
2686 const PetscInt **perms = &sl->perms[i][sl->minMaxOrients[i][0]]; in PetscSectionSymLabelReset()
2690 if (sl->rots[i]) { in PetscSectionSymLabelReset()
2691 const PetscScalar **rots = &sl->rots[i][sl->minMaxOrients[i][0]]; in PetscSectionSymLabelReset()
[all …]
/petsc/src/ksp/ksp/impls/tcqmr/
H A Dtcqmr.c13 PetscScalar theta, ep, cl1, sl1, cl, sl, sprod, tau_n1, f; in KSPSolve_TCQMR() local
44 sl = 0.0; in KSPSolve_TCQMR()
107 ep = -cl * eptmp + sl * alpha; in KSPSolve_TCQMR()
108 deltmp = -sl * eptmp - cl * alpha; in KSPSolve_TCQMR()
129 sl1 = sl; in KSPSolve_TCQMR()
131 sl = s; in KSPSolve_TCQMR()
/petsc/config/
H A Dtestparse.py353 sl = shlex.shlex()
354 sl.whitespace_split = True # only split at whitespace
355 sl.commenters = ''
356 sl.push_source(striptest)
357 last_pos = sl.instream.tell()
359 last_token = sl.read_token()
365 new_pos = sl.instream.tell()
383 last_token = sl.read_token()
/petsc/src/ts/tests/output/
H A Dex5_3.out7 type: sl
/petsc/src/snes/tutorials/
H A Dex33.c15 PetscReal sl, vl, pl; member
86 f[i].s = u[i].s - user->sl; in FormFunctionLocal()
143 user.sl = 1.0; in main()
/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; variable
81 option1 = [char(lines(sl)) colors(sc) markers(sm)];
/petsc/src/dm/impls/plex/
H A Dplexsubmesh.c3713 …PetscInt numRoots, numLeaves, numSubpoints = 0, numSubroots, numSubleaves = 0, l, sl = 0… in DMPlexCreateSubmeshGeneric_Interpolated() local
3857 … if (newLocalPoints[point - pStart].rank >= 0 && newLocalPoints[point - pStart].rank != rank) ++sl; in DMPlexCreateSubmeshGeneric_Interpolated()
3859 PetscCall(PetscMalloc1(sl, &slocalPoints)); in DMPlexCreateSubmeshGeneric_Interpolated()
3860 PetscCall(PetscMalloc1(sl, &sremotePoints)); in DMPlexCreateSubmeshGeneric_Interpolated()
3861 for (p = 0, sl = 0; p < numSubpoints; ++p) { in DMPlexCreateSubmeshGeneric_Interpolated()
3865 slocalPoints[sl] = p; in DMPlexCreateSubmeshGeneric_Interpolated()
3866 sremotePoints[sl].rank = newLocalPoints[point - pStart].rank; in DMPlexCreateSubmeshGeneric_Interpolated()
3867 sremotePoints[sl].index = newLocalPoints[point - pStart].index; in DMPlexCreateSubmeshGeneric_Interpolated()
3868 … PetscCheck(sremotePoints[sl].rank >= 0, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Invalid remote rank"); in DMPlexCreateSubmeshGeneric_Interpolated()
3869 …PetscCheck(sremotePoints[sl].index >= 0, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Invalid remote subpoint… in DMPlexCreateSubmeshGeneric_Interpolated()
[all …]
/petsc/src/mat/impls/sbaij/mpi/
H A Dmpisbaij.c2656 PetscScalar *sl, scale = (omega - 2.0) / omega; in MatSOR_MPISBAIJ() local
2684 PetscCall(VecGetArray(mat->slvec1a, &sl)); in MatSOR_MPISBAIJ()
2690 for (i = 0; i < n; i++) sl[i] = b[i] - diag[i] * x[i]; in MatSOR_MPISBAIJ()
2693 for (i = 0; i < n; i++) sl[i] = b[i] + scale * diag[i] * x[i]; in MatSOR_MPISBAIJ()
2696 PetscCall(VecRestoreArray(mat->slvec1a, &sl)); in MatSOR_MPISBAIJ()
/petsc/share/petsc/datafiles/meshes/
H A Dtestcase3D.cas437 (ecfm-sigma/min-destruction-sl 0.001)
438 (ecfm-sigma/min-production-sl 0.001)
3181 (prepdf/write-sl-to-file? #f)
3182 (prepdf/calc-sl-free? #f)
3363 (pdf/fla-sl-nspe 1)
3364 (pdf/fla-sl-nf 1)
3365 (pdf/fla-sl-nh 1)
3366 (pdf/fla-sl-available? #f)
/petsc/doc/manual/
H A Dsnes.md1255 - ``sl``