Home
last modified time | relevance | path

Searched refs:l1 (Results 1 – 25 of 25) sorted by relevance

/petsc/src/dm/impls/stag/tests/
H A Dex53.c10 Vec g, l1, l2; in main() local
29 PetscCall(DMCreateLocalVector(dm, &l1)); in main()
30 PetscCall(VecDuplicate(l1, &l2)); in main()
32 PetscCall(VecSet(l1, 0.0)); in main()
44 PetscCall(DMGlobalToLocalBegin(dm, g, INSERT_VALUES, l1)); in main()
45 PetscCall(DMGlobalToLocalEnd(dm, g, INSERT_VALUES, l1)); in main()
47 PetscCall(DMLocalToLocalBegin(dm, l1, INSERT_VALUES, l2)); in main()
48 PetscCall(DMLocalToLocalEnd(dm, l1, INSERT_VALUES, l2)); in main()
51 PetscCall(VecAXPY(l2, -1.0, l1)); in main()
57 PetscCall(VecDestroy(&l1)); in main()
/petsc/src/dm/label/tutorials/output/
H A Dex1_0_nsize-1.out102 …el0" with "label1": Stratum values in DMLabel l0 "label0" are different than in DMLabel l1 "label1"
103 …h "label3": Default value of DMLabel l0 "label1" = 333 != -1 = Default value of DMLabel l1 "label3"
104 …el1" with "label3": Stratum values in DMLabel l0 "label1" are different than in DMLabel l1 "label3"
105 …": Stratum #0 with value 2 contains different points in DMLabel l0 "label1" and DMLabel l1 "label3"
107 …el2" with "label2": Stratum values in DMLabel l0 "label2" are different than in DMLabel l1 "label2"
108 …and "plex1" differ: Stratum values in DMLabel l0 "label2" are different than in DMLabel l1 "label2"
H A Dex1_0_nsize-2.out137 …el0" with "label1": Stratum values in DMLabel l0 "label0" are different than in DMLabel l1 "label1"
138 …h "label3": Default value of DMLabel l0 "label1" = 333 != -1 = Default value of DMLabel l1 "label3"
139 …el1" with "label3": Stratum values in DMLabel l0 "label1" are different than in DMLabel l1 "label3"
140 …": Stratum #0 with value 2 contains different points in DMLabel l0 "label1" and DMLabel l1 "label3"
142 …el2" with "label2": Stratum values in DMLabel l0 "label2" are different than in DMLabel l1 "label2"
143 …and "plex1" differ: Stratum values in DMLabel l0 "label2" are different than in DMLabel l1 "label2"
/petsc/src/sys/utils/
H A Dsortso.c222 PetscInt l1, l2, diff1, diff2; in PetscTimSortMergeLo_Private() local
226 …PetscCall(PetscGallopSearchLeft_Private(tarr, size, cmp, ctx, i, llen - 1, arr + (j * size), &l1)); in PetscTimSortMergeLo_Private()
227 diff1 = l1 - i; in PetscTimSortMergeLo_Private()
230 i = l1; in PetscTimSortMergeLo_Private()
246 PetscInt l1, l2, diff1, diff2; in PetscTimSortMergeLo_Private() local
256 …PetscCall(PetscGallopSearchLeft_Private(tarr, size, cmp, ctx, i, llen - 1, arr + (j * size), &l1)); in PetscTimSortMergeLo_Private()
257 diff1 = l1 - i; in PetscTimSortMergeLo_Private()
260 i = l1; in PetscTimSortMergeLo_Private()
284 PetscInt l1, l2, diff1, diff2; in PetscTimSortMergeLoWithArray_Private() local
288 …scCall(PetscGallopSearchLeft_Private(atarr, asize, cmp, ctx, i, llen - 1, arr + (j * asize), &l1)); in PetscTimSortMergeLoWithArray_Private()
[all …]
H A Dstr.c550 size_t l, l1, l2, l3; in PetscStrreplace() local
600 PetscCall(PetscStrlen(b, &l1)); in PetscStrreplace()
603 …PetscCheck(l1 + l2 + l3 < len, PETSC_COMM_SELF, PETSC_ERR_ARG_SIZ, "b len is not long enough to ho… in PetscStrreplace()
/petsc/src/sys/classes/bag/ftn-custom/
H A Dzbagf90.c12 …FORTRAN_CHARLEN_T pl, PETSC_FORTRAN_CHARLEN_T cl1, PETSC_FORTRAN_CHARLEN_T l1, PETSC_FORTRAN_CHARL… in petscbagregisterstring_() argument
15 FIXCHAR(s1, l1, t1); in petscbagregisterstring_()
/petsc/src/dm/tutorials/
H A Dex22.c35 const PetscInt *l1, *l2; /* 3D DMDA layout */ in main() local
148 PetscCall(DMDAGetOwnershipRanges(da3D, NULL, &l1, &l2)); in main()
154 PetscCall(DMDAGetOwnershipRanges(da3D, &l1, NULL, &l2)); in main()
160 PetscCall(DMDAGetOwnershipRanges(da3D, &l1, &l2, NULL)); in main()
176 …comm, DM_BOUNDARY_NONE, DM_BOUNDARY_NONE, DMDA_STENCIL_STAR, M1, M2, m1, m2, 1, 1, l1, l2, &da2D)); in main()
/petsc/src/sys/fileio/
H A Dfdir.c19 size_t l1, l2; in PetscPathJoin() local
22 PetscCall(PetscStrlen(dname, &l1)); in PetscPathJoin()
24 …PetscCheck((l1 + l2 + 2) <= n, PETSC_COMM_SELF, PETSC_ERR_ARG_SIZ, "Path length is greater than bu… in PetscPathJoin()
/petsc/src/ksp/ksp/tests/
H A Dex10.c171 PetscInt l1, l2, row, col; in AddElement() local
173 for (l1 = 0; l1 < 3; l1++) { in AddElement()
179 if (K[h1 + l1][h2 + l2] != 0.0) { in AddElement()
180 row = r1 + l1; in AddElement()
182 val = K[h1 + l1][h2 + l2]; in AddElement()
185 col = r1 + l1; in AddElement()
/petsc/src/ksp/ksp/tutorials/
H A Dex72.c223 Vec max, min, l1; in main() local
229 PetscCall(VecDuplicate(x, &l1)); in main()
232 PetscCall(MatGetRowSumAbs(A, l1)); in main()
241 PetscCall(VecView(l1, viewer)); in main()
260 PetscCall(VecMax(l1, &idx, &val)); in main()
264 PetscCall(VecDestroy(&l1)); in main()
/petsc/src/sys/classes/draw/interface/
H A Ddsave.c53 size_t l1 = 0, l2 = 0; in PetscDrawSetSave() local
54 PetscCall(PetscStrlen(filename, &l1)); in PetscDrawSetSave()
57 buf[l1 - l2 + 1] = '\0'; in PetscDrawSetSave()
/petsc/src/sys/classes/viewer/interface/
H A Dviewreg.c67 size_t l1, l2; in PetscOptionsHelpPrintedCheck() local
74 PetscCall(PetscStrlen(pre, &l1)); in PetscOptionsHelpPrintedCheck()
76 if (l1 + l2 == 0) { in PetscOptionsHelpPrintedCheck()
81 size_t lboth = l1 + l2 + 1; in PetscOptionsHelpPrintedCheck()
84 PetscCall(PetscStrncpy(both + l1, name, l2 + 1)); in PetscOptionsHelpPrintedCheck()
/petsc/src/ksp/ksp/tutorials/output/
H A Dex56_baij.out10 type ROWL1 (l1-norm off-diagonal scaling 5.000000e-01)
H A Dex72_xxt.out6 Largest l1 row element 10.6667 at row 34
H A Dex56_nsize-1_rap_bs_hip.out59 type ROWL1 (l1-norm off-diagonal scaling 5.000000e-01)
H A Dex56_nsize-1_rap_bs_cuda.out59 type ROWL1 (l1-norm off-diagonal scaling 5.000000e-01)
H A Dex56_nsize-8_rap_bs_cuda.out56 type ROWL1 (l1-norm off-diagonal scaling 5.000000e-01)
H A Dex56_nsize-8_rap_bs_hip.out56 type ROWL1 (l1-norm off-diagonal scaling 5.000000e-01)
H A Dex56_latebs.out150 type ROWL1 (l1-norm off-diagonal scaling 2.500000e-01)
315 type ROWL1 (l1-norm off-diagonal scaling 2.500000e-01)
480 type ROWL1 (l1-norm off-diagonal scaling 2.500000e-01)
/petsc/src/snes/impls/vi/rs/
H A Dvirs.c631 long long int l1 = 0, l2 = 0, ls = 0; in SNESVIRedundancyCheck_Matlab() local
645 PetscCall(PetscArraycpy(&l1, &is_act, 1)); in SNESVIRedundancyCheck_Matlab()
648 prhs[1] = mxCreateDoubleScalar((double)l1); in SNESVIRedundancyCheck_Matlab()
/petsc/doc/changes/
H A D321.md120 - Add `PC_JACOBI_ROWL1` to `PCJacobiType` to use (scaled) l1 row norms for diagonal approximation w…
121 …`-pc_jacobi_rowl1_scale scale` to access new scale member of PC_Jacobi class, for new row l1 Jacobi
/petsc/src/dm/label/
H A Ddmlabel.c661 PetscErrorCode DMLabelCompare(MPI_Comm comm, DMLabel l0, DMLabel l1, PetscBool *equal, char **messa… in DMLabelCompare() argument
670 PetscValidHeaderSpecific(l1, DMLABEL_CLASSID, 3); in DMLabelCompare()
675 PetscCall(PetscObjectGetName((PetscObject)l1, &name1)); in DMLabelCompare()
680 PetscCall(DMLabelGetDefaultValue(l1, &v1)); in DMLabelCompare()
690 PetscCall(DMLabelGetNonEmptyStratumValuesIS(l1, &is1)); in DMLabelCompare()
710 PetscCall(DMLabelGetStratumIS(l1, v, &is1)); in DMLabelCompare()
/petsc/src/mat/impls/is/
H A Dmatis.c860 PetscInt l1, l2, lb1, lb2, ij = i * nc + j; in MatConvert_Nest_IS() local
885 PetscCall(MatGetSize(snest[ij], &l1, &l2)); in MatConvert_Nest_IS()
887 if (!l1 || !l2) continue; in MatConvert_Nest_IS()
888l1 == lr[i], PETSC_COMM_SELF, PETSC_ERR_SUP, "Cannot convert from MATNEST to MATIS! Matrix block (… in MatConvert_Nest_IS()
890 lr[i] = l1; in MatConvert_Nest_IS()
/petsc/doc/manual/
H A Dvec.md830 DMLocalToLocalBegin(DM dm, Vec l1, InsertMode iora, Vec l2);
831 DMLocalToLocalEnd(DM dm, Vec l1, InsertMode iora, Vec l2);
834 Since both local vectors, `l1` and `l2`, must be compatible with `da`, they should be generated by
/petsc/src/dm/interface/
H A Ddm.c7702 DMLabel l0, l1; in DMCompareLabels() local
7709 PetscCall(DMGetLabel(dm1, name, &l1)); in DMCompareLabels()
7710 if (!l1) { in DMCompareLabels()
7715 PetscCall(DMLabelCompare(comm, l0, l1, &eq, &msgInner)); in DMCompareLabels()