Home
last modified time | relevance | path

Searched refs:M2 (Results 1 – 11 of 11) sorted by relevance

/petsc/src/dm/tests/
H A Dex15.c8 PetscInt M1 = 3, M2, dof = 1, s = 1, ratio = 2, dim = 1; in main() local
31 M2 = ratio * (M1 - 1) + 1; in main()
33 M2 = ratio * M1; in main()
39 PetscCall(DMDACreate1d(PETSC_COMM_WORLD, bx, M2, dof, s, NULL, &da_f)); in main()
42 …PetscCall(DMDACreate2d(PETSC_COMM_WORLD, bx, by, DMDA_STENCIL_BOX, M2, M2, PETSC_DECIDE, PETSC_DEC… in main()
45 …PetscCall(DMDACreate3d(PETSC_COMM_WORLD, bx, by, bz, DMDA_STENCIL_BOX, M2, M2, M2, PETSC_DECIDE, P… in main()
/petsc/src/ksp/ksp/tests/
H A Dex71f.F908 PetscInt :: M, M2, NSubx, dof, overlap, NSub, i1
20 M2 = M*M
22 …omOptions(PETSC_COMM_WORLD, PETSC_NULL_CHARACTER, i1, PETSC_DECIDE, PETSC_DECIDE, M2, M2, A, ierr))
23 do I = 1, M2
24 do J = 1, M2
/petsc/src/dm/tutorials/
H A Dex22.c36 PetscInt M1 = -1, M2 = -1; /* Dimensions for 2D DMDA */ in main() local
150 M2 = Mz; in main()
156 M2 = Mz; in main()
162 M2 = My; in main()
176 …ubset_mpi_comm, DM_BOUNDARY_NONE, DM_BOUNDARY_NONE, DMDA_STENCIL_STAR, M1, M2, m1, m2, 1, 1, l1, l… in main()
184 upper.j = M2; in main()
205 PetscCall(VecCreateMPIWithArray(PETSC_COMM_WORLD, 1, vn, M1 * M2, array, &vec_slice_g)); in main()
211 PetscCall(VecCreateMPIWithArray(PETSC_COMM_WORLD, 1, 0, M1 * M2, NULL, &vec_slice_g)); in main()
/petsc/doc/manual/
H A Dstreams.md222 We now present a limited version of the analysis above on an Apple MacBook Pro M2 Max using MPICH, …
223 …is not possible to set bindings for either MPI or OpenMP. In addition, the M2 has a combination of…
230 :alt: STREAMS benchmark on Apple M2
233 STREAMS benchmark on Apple M2
266 We now present GAMG on the Apple MacBook Pro M2 Max.
270 :alt: GAMG speedup on Apple M2
273 GAMG speedup Apple M2
323 For the Apple M2, we present the results using Unix shared-memory communication of the matrix and v…
331 GAMG server solver speedup on Apple M2
/petsc/src/dm/impls/plex/
H A Dplexmetric.c1466 …c PetscErrorCode DMPlexMetricIntersection_Private(PetscInt dim, PetscScalar M1[], PetscScalar M2[]) in DMPlexMetricIntersection_Private() argument
1475 M2[0] = PetscMax(PetscRealPart(M1[0]), PetscRealPart(M2[0])); in DMPlexMetricIntersection_Private()
1531 …for (k = 0; k < dim; ++k) evecs[i * dim + l] += isqrtM1[j * dim + i] * M2[j * dim + k] * isqrtM1[k… in DMPlexMetricIntersection_Private()
1553 …for (k = 0; k < dim; ++k) evecs[i * dim + l] += isqrtM1[j * dim + i] * M2[j * dim + k] * isqrtM1[k… in DMPlexMetricIntersection_Private()
1568 M2[i * dim + m] = 0.0; in DMPlexMetricIntersection_Private()
1571 …for (l = 0; l < dim; ++l) M2[i * dim + m] += sqrtM1[j * dim + i] * evecs[j * dim + k] * evals[k] *… in DMPlexMetricIntersection_Private()
/petsc/src/mat/utils/
H A Daxpy.c98 PetscInt M1, M2, N1, N2; in MatAXPY() local
108 PetscCall(MatGetSize(Y, &M2, &N2)); in MatAXPY()
111M2 && N1 == N2, PetscObjectComm((PetscObject)Y), PETSC_ERR_ARG_SIZ, "Non conforming matrix add: gl… in MatAXPY()
/petsc/src/ksp/ksp/impls/hpddm/
H A Dhpddm.cxx453 PetscInt m1, M1, m2, M2, n2, N2, ldu; in KSPHPDDMSetDeflationMat_HPDDM() local
466 PetscCall(MatGetSize(U, &M2, &N2)); in KSPHPDDMSetDeflationMat_HPDDM()
467M2, PETSC_COMM_SELF, PETSC_ERR_ARG_SIZ, "Cannot use a deflation space with (m2,M2) = (%" PetscInt_… in KSPHPDDMSetDeflationMat_HPDDM()
/petsc/src/ksp/pc/interface/
H A Dprecon.c539 PetscInt m1, M1, m2, M2, n1, N1, n2, N2, m3, M3, n3, N3; in PCMatApplyTranspose_Private() local
554 PetscCall(MatGetSize(X, &M2, &N2)); in PCMatApplyTranspose_Private()
557M2 == M3, PETSC_COMM_SELF, PETSC_ERR_ARG_SIZ, "Incompatible layout between block of input vectors … in PCMatApplyTranspose_Private()
/petsc/src/ksp/pc/impls/bddc/
H A Dbddc.c2503 Mat M2; in PCBDDCCreateFETIDPOperators_BDDC() local
2508 PetscCall(MatCreate(comm, &M2)); in PCBDDCCreateFETIDPOperators_BDDC()
2509 PetscCall(MatSetType(M2, MATAIJ)); in PCBDDCCreateFETIDPOperators_BDDC()
2510 PetscCall(MatSetSizes(M2, lpsize, lpsize, psize, psize)); in PCBDDCCreateFETIDPOperators_BDDC()
2511 PetscCall(MatSetUp(M2)); in PCBDDCCreateFETIDPOperators_BDDC()
2512 PetscCall(MatAssemblyBegin(M2, MAT_FINAL_ASSEMBLY)); in PCBDDCCreateFETIDPOperators_BDDC()
2513 PetscCall(MatAssemblyEnd(M2, MAT_FINAL_ASSEMBLY)); in PCBDDCCreateFETIDPOperators_BDDC()
2514 PetscCall(PCFieldSplitSetSchurPre(newpc, PC_FIELDSPLIT_SCHUR_PRE_USER, M2)); in PCBDDCCreateFETIDPOperators_BDDC()
2515 PetscCall(MatDestroy(&M2)); in PCBDDCCreateFETIDPOperators_BDDC()
/petsc/lib/petsc/bin/maint/abi-compliance-checker/
H A Dabi-compliance-checker.pl2067 my $M2 = $1;
2068 if($M1 eq $M2)
6312 my $M2 = $In::ABI{2}{"LibraryName"};
6315 my $M2S = $M2;
6329 …$Title .= " and <span style='color:Blue;'>$M2</span> (<span style='color:Red;'>".$V2."</span>) obj…
/petsc/src/mat/impls/dense/seq/
H A Ddense.c1829 PetscInt M2; in MatTranspose_SeqDense() local
1841 M2 = tmatd->lda; in MatTranspose_SeqDense()
1843 for (k = 0; k < m; k++) v2[j + k * M2] = v[k + j * M]; in MatTranspose_SeqDense()