Home
last modified time | relevance | path

Searched refs:M (Results 1 – 16 of 16) sorted by relevance

/libCEED/tests/
H A Dt305-basis.c14 CeedScalar M[p * p], K[p * p], X[p * p], lambda[p]; in main() local
32 M[p * i + j] = sum_m; in main()
37 CeedSimultaneousDiagonalization(ceed, K, M, X, lambda, p); in main()
44 for (int k = 0; k < p; k++) sum += M[p * i + k] * X[p * k + j]; in main()
52 M[p * i + j] = sum; in main()
57 if (fabs(M[p * i + j] - (i == j ? 1.0 : 0.0)) > 100. * CEED_EPSILON) { in main()
59 …agonalization of M [%" CeedInt_FMT ", %" CeedInt_FMT "]: %f != %f\n", i, j, M[p * i + j], (i == j … in main()
H A Dt304-basis.c14 CeedScalar M[16], Q[16], lambda[4], Q_lambda_Qt[16]; in main() local
28 M[p * i + j] = sum; in main()
45 if (fabs(M[p * i + j] - Q_lambda_Qt[p * i + j]) > 100. * CEED_EPSILON) { in main()
47 …printf("Error in diagonalization [%" CeedInt_FMT ", %" CeedInt_FMT "]: %f != %f\n", i, j, M[p * i … in main()
/libCEED/examples/fluids/qfunctions/
H A Dutils.h71 …NM(const CeedScalar *A, const CeedScalar *x, const CeedInt N, const CeedInt M, const CeedTranspose… in MatVecNM() argument
75 CeedPragmaSIMD for (CeedInt i = 0; i < N; i++) b[i] += DotN(&A[i * M], x, M); in MatVecNM()
78 …CeedPragmaSIMD for (CeedInt i = 0; i < M; i++) { CeedPragmaSIMD for (CeedInt j = 0; j < N; j++) b[… in MatVecNM()
90 …NM(const CeedScalar *A, const CeedScalar *D, const CeedInt N, const CeedInt M, const CeedTranspose… in MatDiagNM() argument
94 … 0; i < N; i++) { CeedPragmaSIMD for (CeedInt j = 0; j < M; j++) B[i * M + j] += D[i] * A[i * M + … in MatDiagNM()
97 …agmaSIMD for (CeedInt i = 0; i < M; i++) { CeedPragmaSIMD for (CeedInt j = 0; j < N; j++) B[i * N … in MatDiagNM()
/libCEED/examples/
H A Dbps.md39 \langle v,u \rangle = \bm v^T M \bm u , \qquad \langle v,f\rangle = \bm v^T \bm b \,.
42 Here, we have introduced the mass matrix, $M$, and the right-hand side, $\bm b$,
/libCEED/doc/sphinx/source/
H A Dreferences.bib3 author = {Arruda, Ellen M and Boyce, Mary C},
32 author = {Giraldo, F. X. and Restelli, M. and Läuter, M.},
93 …author = {Straka, Jerry M and Wilhelmson, Robert B and Wicker, Louis J and Anderson, John R and…
275 author = {Germano, M.},
/libCEED/examples/petsc/src/
H A Dswarmutils.c500 Mat M; in DMSwarmProjectFromSwarmToCells() local
522 PetscCall(MatCreateShell(comm, l_size, l_size, g_size, g_size, swarm_ceed_context, &M)); in DMSwarmProjectFromSwarmToCells()
523 PetscCall(MatSetDM(M, dm_mesh)); in DMSwarmProjectFromSwarmToCells()
524 PetscCall(MatShellSetOperation(M, MATOP_MULT, (void (*)(void))MatMult_SwarmMass)); in DMSwarmProjectFromSwarmToCells()
538 PetscCall(KSPSetOperators(ksp, M, M)); in DMSwarmProjectFromSwarmToCells()
578 PetscCall(MatDestroy(&M)); in DMSwarmProjectFromSwarmToCells()
/libCEED/julia/LibCEED.jl/examples/
H A Dex1-volume.jl131 # Compute the mesh volume using the mass operator: vol = 1^T \cdot M \cdot 1
132 print("Computing the mesh volume using the formula: vol = 1^T.M.1 ...")
H A Dex3-volume.jl170 # Compute the mesh volume using the mass+diffusion operator: vol = 1^T \cdot (M + K) \cdot 1
171 print("Computing the mesh volume using the formula: vol = 1^T * (M + K) * 1...")
H A Dex1-volume-c.jl383 # Compute the mesh volume using the mass operator: vol = 1^T \cdot M \cdot 1
384 print("Computing the mesh volume using the formula: vol = 1^T.M.1 ...")
/libCEED/doc/bib/
H A Dreferences.bib52 …editor = {{M}eghann {A}garwal and {C}hris {C}alloway and {D}illon {N}iederhut and {D}avid {S}hu…
/libCEED/backends/magma/
H A Dceed-magma-basis.c382 CeedInt q_comp, NB, M, K; in CeedBasisApplyNonTensorCore_Magma() local
405 M = (t_mode == CEED_TRANSPOSE) ? P : Q, K = (t_mode == CEED_TRANSPOSE) ? Q : P; in CeedBasisApplyNonTensorCore_Magma()
425 CeedInt num_t_col = MAGMA_BASIS_NTCOL(M, MAGMA_MAXTHREADS_1D); in CeedBasisApplyNonTensorCore_Magma()
432 …CeedCallBackend(CeedRunKernelDimSharedMagma(ceed, Kernel, NULL, grid, M, num_t_col, 1, shared_mem,… in CeedBasisApplyNonTensorCore_Magma()
/libCEED/doc/papers/joss/
H A Dpaper.bib193 …editor = {{M}eghann {A}garwal and {C}hris {C}alloway and {D}illon {N}iederhut and {D}avid {S}hu…
220 M. Stowell and V. Tomov and I. Akkerman and J. Dahm and D. Medina and S. Zampini},
325 …author={Straka, Jerry M and Wilhelmson, Robert B and Wicker, Louis J and Anderson, John R and Droe…
/libCEED/examples/python/
H A Dtutorial-6-shell.ipynb192 "Computing the mesh volume using the formula: vol = 1^T.M.1 ... done.\n",
/libCEED/examples/fluids/
H A Dindex.md356 \bm M u_N = \int_0^{L_x} \int_0^{L_y} u \psi^\mathrm{parent}_N \mathrm{d}y \mathrm{d}x
358 where $\bm M$ is the mass matrix for $\mathcal{V}_p^\mathrm{parent}$, $u_N$ the coefficients of the…
362 \bm M [\langle \phi \rangle_z]_N = \int_0^{L_x} \int_0^{L_y} \left [\frac{1}{L_z} \int_0^{L_z} \phi…
368 \bm M [\langle \phi \rangle_z]_N = \frac{1}{L_z} \int_\Omega \phi(x,y,z,t) \psi^\mathrm{parent}_N(x…
388 \bm M [\langle \phi \rangle]_N = \frac{1}{L_z + (T_f - T_0)} \int_\Omega \int_{T_0}^{T_f} \phi(x,y,…
/libCEED/
H A DREADME.md478 …editor = {{M}eghann {A}garwal and {C}hris {C}alloway and {D}illon {N}iederhut and {D}avid {S}hu…
/libCEED/examples/nek/bps/
H A Dbps.usr1372 p1(i)=dpc(i)*r1(i) ! p = M r T
1396 z1(i)=dpc(i)*r1(i) ! z = M r