Home
last modified time | relevance | path

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

12

/petsc/src/mat/impls/sbaij/mpi/
H A Dmpiaijsbaij.c15 PetscInt m, n, lm, ln, bs = A->rmap->bs; in MatConvert_MPIAIJ_MPISBAIJ() local
23 PetscCall(MatGetLocalSize(A, &lm, &ln)); in MatConvert_MPIAIJ_MPISBAIJ()
27 PetscCall(MatSetSizes(M, lm, ln, m, n)); in MatConvert_MPIAIJ_MPISBAIJ()
58 PetscInt m, n, lm, ln; in MatConvert_MPIBAIJ_MPISBAIJ() local
68 PetscCall(MatGetLocalSize(A, &lm, &ln)); in MatConvert_MPIBAIJ_MPISBAIJ()
69 PetscCall(PetscMalloc2(lm / bs, &d_nnz, lm / bs, &o_nnz)); in MatConvert_MPIBAIJ_MPISBAIJ()
72 for (i = 0; i < lm / bs; i++) { in MatConvert_MPIBAIJ_MPISBAIJ()
78 PetscCall(MatSetSizes(M, lm, ln, m, n)); in MatConvert_MPIBAIJ_MPISBAIJ()
/petsc/src/tao/unconstrained/impls/lmvm/
H A Dlmvm.c186 TAO_LMVM *lm = (TAO_LMVM *)tao->data; in TaoSetFromOptions_LMVM() local
190 …ycling of the BFGS matrix between subsequent TaoSolve() calls", "", lm->recycle, &lm->recycle, NUL… in TaoSetFromOptions_LMVM()
192 PetscCall(MatSetFromOptions(lm->M)); in TaoSetFromOptions_LMVM()
199 TAO_LMVM *lm = (TAO_LMVM *)tao->data; in TaoView_LMVM() local
207 PetscCall(PetscViewerASCIIPrintf(viewer, "Gradient steps: %" PetscInt_FMT "\n", lm->grad)); in TaoView_LMVM()
208 if (lm->recycle) { in TaoView_LMVM()
210 recycled_its = lm->bfgs + lm->grad; in TaoView_LMVM()
215 PetscCall(MatView(lm->M, viewer)); in TaoView_LMVM()
/petsc/src/mat/graphops/color/utils/
H A Dweights.c37 PetscInt j, i, s, e, n, ln, lm, degree, bidx, idx, dist; in MatColoringGetDegrees() local
60 PetscCall(MatGetSize(lG, &ln, &lm)); in MatColoringGetDegrees()
64 PetscCall(PetscMalloc3(lm, &seen, lm, &idxbuf, lm, &distbuf)); in MatColoringGetDegrees()
138 …PetscInt j, i, s, e, n, ln, lm, degree, maxdegree = 0, bidx, idx, dist, distance = mc->dist; in MatColoringCreateSmallestLastWeights() local
164 PetscCall(MatGetSize(lG, &ln, &lm)); in MatColoringCreateSmallestLastWeights()
168 PetscCall(PetscMalloc3(lm, &seen, lm, &idxbuf, lm, &distbuf)); in MatColoringCreateSmallestLastWeights()
169 PetscCall(PetscMalloc1(lm, &degrees)); in MatColoringCreateSmallestLastWeights()
170 PetscCall(PetscMalloc1(lm, &lweights)); in MatColoringCreateSmallestLastWeights()
219 PetscCall(PetscSortRealWithPermutation(lm, lweights, rperm)); in MatColoringCreateSmallestLastWeights()
294 for (i = 0; i < lm; i++) { in MatColoringCreateSmallestLastWeights()
/petsc/src/mat/impls/baij/mpi/
H A Dmpiaijbaij.c13 PetscInt m, n, lm, ln, bs = A->rmap->bs; in MatConvert_MPIAIJ_MPIBAIJ() local
21 PetscCall(MatGetLocalSize(A, &lm, &ln)); in MatConvert_MPIAIJ_MPIBAIJ()
25 PetscCall(MatSetSizes(M, lm, ln, m, n)); in MatConvert_MPIAIJ_MPIBAIJ()
/petsc/src/mat/utils/
H A Dconvert.c27 PetscInt m, n, lm, ln; in MatConvert_Basic() local
29 PetscCall(MatGetLocalSize(mat, &lm, &ln)); in MatConvert_Basic()
31 PetscCall(MatSetSizes(M, lm, ln, m, n)); in MatConvert_Basic()
/petsc/src/mat/tests/
H A Dex23.c24 PetscInt n, m, i, lm, ln; in main() local
99 PetscCall(ISLocalToGlobalMappingGetSize(rmap, &lm)); in main()
101 for (i = 0; i < lm; i++) { in main()
172 for (i = 0; i < lm; i++) { in main()
401 PetscCall(ISCreateStride(PETSC_COMM_SELF, lm / 2 + lm % 2, 0, 2, &reven)); in main()
402 PetscCall(ISComplement(reven, 0, lm, &rodd)); in main()
409 for (i = 0; i < lm; i++) { in main()
583 PetscCall(ISLocalToGlobalMappingGetSize(rmap, &lm)); in main()
584 PetscCall(ISCreateStride(PETSC_COMM_WORLD, lm ? 1 : 0, 0, 1, &lis)); in main()
896 PetscCall(PetscMalloc1(lm * ln, &vals)); in main()
[all …]
/petsc/src/tao/unconstrained/impls/owlqn/
H A Dowlqn.c272 TAO_OWLQN *lm = (TAO_OWLQN *)tao->data; in TaoView_OWLQN() local
279 PetscCall(PetscViewerASCIIPrintf(viewer, "BFGS steps: %" PetscInt_FMT "\n", lm->bfgs)); in TaoView_OWLQN()
280 …PetscCall(PetscViewerASCIIPrintf(viewer, "Scaled gradient steps: %" PetscInt_FMT "\n", lm->sgrad)); in TaoView_OWLQN()
281 PetscCall(PetscViewerASCIIPrintf(viewer, "Gradient steps: %" PetscInt_FMT "\n", lm->grad)); in TaoView_OWLQN()
/petsc/share/petsc/
H A DMakefile.user56 LDLIBS := $(shell pkg-config --libs-only-l $(PACKAGES)) -lm
/petsc/src/snes/tutorials/output/
H A Dex19_tut_6.out142 … -lparmetis -lmetis -ltriangle -lm -lctetgen -lpthread -lyaml -lstdc++ -ldl -lmpifort -lmpi -lgfor…
H A Dex19_tut_4.out137 … -lparmetis -lmetis -ltriangle -lm -lctetgen -lpthread -lyaml -lstdc++ -ldl -lmpifort -lmpi -lgfor…
H A Dex19_tut_5.out146 … -lparmetis -lmetis -ltriangle -lm -lctetgen -lpthread -lyaml -lstdc++ -ldl -lmpifort -lmpi -lgfor…
H A Dex19_tut_7.out155 … -lparmetis -lmetis -ltriangle -lm -lctetgen -lpthread -lyaml -lstdc++ -ldl -lmpifort -lmpi -lgfor…
/petsc/src/ksp/ksp/tests/benchmarkscatters/
H A DBaseline-Intel-821lm -Wl,-rpath,/home/bsmith/petsc/arch-opt/lib -L/home/bsmith/petsc/arch-opt/lib -lhwloc -lssl -lcr…
H A DBaseline-Intel-1621lm -Wl,-rpath,/home/bsmith/petsc/arch-opt/lib -L/home/bsmith/petsc/arch-opt/lib -lhwloc -lssl -lcr…
H A DBaseline-MPICH-821 …_libraries_2016.0.109/linux/compiler/lib/intel64_lin -lmpifort -lgfortran -lm -lmpicxx -lstdc++ -W…
H A DBaseline-MPICH-1621 …_libraries_2016.0.109/linux/compiler/lib/intel64_lin -lmpifort -lgfortran -lm -lmpicxx -lstdc++ -W…
/petsc/src/tao/leastsquares/tutorials/output/
H A Dcs1_view_lm.out4 BRGN Regularization Type: lm
/petsc/lib/petsc/bin/maint/
H A Dtoclapack.sh591 on Linux or Unix systems, link with .../path/to/libf2c.a -lm
592 or, if you install libf2c.a in a standard place, with -lf2c -lm
594 cc *.o -lf2c -lm
2581 on Linux or Unix systems, link with .../path/to/libf2c.a -lm
2582 or, if you install libf2c.a in a standard place, with -lf2c -lm
2584 cc *.o -lf2c -lm
4788 on Linux or Unix systems, link with .../path/to/libf2c.a -lm
4789 or, if you install libf2c.a in a standard place, with -lf2c -lm
4791 cc *.o -lf2c -lm
/petsc/src/mat/impls/sell/mpi/
H A Dmpisell.c1681 …PetscInt i, d_nz = 0, o_nz = 0, m = A->rmap->N, n = A->cmap->N, lm = A->rmap->n, ln = A->cmap->… in MatConvert_MPIAIJ_MPISELL() local
1683 PetscCall(PetscMalloc2(lm, &d_nnz, lm, &o_nnz)); in MatConvert_MPIAIJ_MPISELL()
1684 for (i = 0; i < lm; i++) { in MatConvert_MPIAIJ_MPISELL()
1692 PetscCall(MatSetSizes(B, lm, ln, m, n)); in MatConvert_MPIAIJ_MPISELL()
/petsc/doc/changes/
H A D314.md220 - Add lm regularizer to TAOBRGN. This regularizer turns BRGN into a
/petsc/src/dm/impls/plex/
H A Dplexpartition.c323 PetscInt dim, depth, floc, cloc, i, M, N, c, lm, m, cStart, cEnd, fStart, fEnd; in DMPlexCreatePartitionerGraph_ViaMat() local
396 PetscCall(DMPlexGetMaxSizes(dm, NULL, &lm)); in DMPlexCreatePartitionerGraph_ViaMat()
397 PetscCallMPI(MPIU_Allreduce(&lm, &m, 1, MPIU_INT, MPI_SUM, PetscObjectComm((PetscObject)dm))); in DMPlexCreatePartitionerGraph_ViaMat()
H A Dplex.c1537 PetscInt64 lm[3], gm[3]; in DMPlexView_Ascii() local
1610 lm[0] = numVertices > 0 ? numVertices : PETSC_INT_MAX; in DMPlexView_Ascii()
1611 lm[1] = -numVertices; in DMPlexView_Ascii()
1612 PetscCallMPI(MPIU_Allreduce(lm, gm, 2, MPIU_INT64, MPI_MIN, comm)); in DMPlexView_Ascii()
1614 lm[0] = ect; /* edgeCut */ in DMPlexView_Ascii()
1615 lm[1] = ectn; /* node-aware edgeCut */ in DMPlexView_Ascii()
1616 lm[2] = numVertices > 0 ? 0 : 1; /* empty processes */ in DMPlexView_Ascii()
1617 PetscCallMPI(MPIU_Allreduce(lm, gm, 3, MPIU_INT64, MPI_SUM, comm)); in DMPlexView_Ascii()
/petsc/src/mat/impls/sbaij/seq/
H A Dsbaij2.c1447 PetscInt i, j, k, lm, M, m, mbs, tmp, bs, bs2; in MatDiagonalScale_SeqSBAIJ() local
1461 PetscCall(VecGetLocalSize(ll, &lm)); in MatDiagonalScale_SeqSBAIJ()
1462 PetscCheck(lm == m, PETSC_COMM_SELF, PETSC_ERR_ARG_SIZ, "Left scaling vector wrong length"); in MatDiagonalScale_SeqSBAIJ()
/petsc/src/dm/interface/
H A Ddm.c1421 PetscErrorCode DMCreateMassMatrixLumped(DM dm, Vec *llm, Vec *lm) in DMCreateMassMatrixLumped() argument
1426 if (lm) PetscAssertPointer(lm, 3); in DMCreateMassMatrixLumped()
1427 if (llm || lm) PetscUseTypeMethod(dm, createmassmatrixlumped, llm, lm); in DMCreateMassMatrixLumped()
/petsc/src/mat/impls/baij/seq/
H A Dbaij2.c3262 PetscInt i, j, k, lm, rn, M, m, n, mbs, tmp, bs, bs2, iai; in MatDiagonalScale_SeqBAIJ() local
3276 PetscCall(VecGetLocalSize(ll, &lm)); in MatDiagonalScale_SeqBAIJ()
3277 PetscCheck(lm == m, PETSC_COMM_SELF, PETSC_ERR_ARG_SIZ, "Left scaling vector wrong length"); in MatDiagonalScale_SeqBAIJ()

12