Home
last modified time | relevance | path

Searched refs:rtmp (Results 1 – 22 of 22) sorted by relevance

/petsc/src/mat/tests/
H A Dex97.c53 Vec *ltmp, *rtmp; in CheckMatrices() local
56 PetscCall(VecDuplicateVecs(right, 2, &rtmp)); in CheckMatrices()
67 PetscCall(MatMultTranspose(A, Y, rtmp[0])); in CheckMatrices()
68 PetscCall(MatMultTranspose(B, Y, rtmp[1])); in CheckMatrices()
69 PetscCall(Compare2(rtmp, "MatMultTranspose")); in CheckMatrices()
81 PetscCall(VecCopy(X1, rtmp[0])); in CheckMatrices()
82 PetscCall(VecCopy(X1, rtmp[1])); in CheckMatrices()
83 PetscCall(MatMultTransposeAdd(A, Y, rtmp[0], rtmp[0])); in CheckMatrices()
84 PetscCall(MatMultTransposeAdd(B, Y, rtmp[1], rtmp[1])); in CheckMatrices()
85 PetscCall(Compare2(rtmp, "MatMultTransposeAdd v2==v3")); in CheckMatrices()
[all …]
H A Dex99.c53 Vec *ltmp, *rtmp; in CheckMatrices() local
56 PetscCall(VecDuplicateVecs(right, 2, &rtmp)); in CheckMatrices()
69 PetscCall(MatMultTranspose(A, Y, rtmp[0])); in CheckMatrices()
70 PetscCall(MatMultTranspose(B, Y, rtmp[1])); in CheckMatrices()
71 PetscCall(Compare2(rtmp, "MatMultTranspose")); in CheckMatrices()
83 PetscCall(VecCopy(X1, rtmp[0])); in CheckMatrices()
84 PetscCall(VecCopy(X1, rtmp[1])); in CheckMatrices()
85 PetscCall(MatMultTransposeAdd(A, Y, rtmp[0], rtmp[0])); in CheckMatrices()
86 PetscCall(MatMultTransposeAdd(B, Y, rtmp[1], rtmp[1])); in CheckMatrices()
87 PetscCall(Compare2(rtmp, "MatMultTransposeAdd v2==v3")); in CheckMatrices()
[all …]
/petsc/src/mat/impls/baij/seq/
H A Dbaijfact13.c19 MatScalar *pv, *v, *rtmp, *pc, *w, *x; in MatILUFactorNumeric_SeqBAIJ_3_inplace() local
33 PetscCall(PetscMalloc1(9 * (n + 1), &rtmp)); in MatILUFactorNumeric_SeqBAIJ_3_inplace()
40 x = rtmp + 9 * ajtmp[j]; in MatILUFactorNumeric_SeqBAIJ_3_inplace()
49 x = rtmp + 9 * ic[ajtmpold[j]]; in MatILUFactorNumeric_SeqBAIJ_3_inplace()
63 pc = rtmp + 9 * row; in MatILUFactorNumeric_SeqBAIJ_3_inplace()
108 x = rtmp + 9 * pj[j]; in MatILUFactorNumeric_SeqBAIJ_3_inplace()
131 x = rtmp + 9 * pj[j]; in MatILUFactorNumeric_SeqBAIJ_3_inplace()
149 PetscCall(PetscFree(rtmp)); in MatILUFactorNumeric_SeqBAIJ_3_inplace()
176 MatScalar *rtmp, *pc, *mwork, *v, *pv, *aa = a->a; in MatLUFactorNumeric_SeqBAIJ_3() local
187 PetscCall(PetscMalloc2(bs2 * n, &rtmp, bs2, &mwork)); in MatLUFactorNumeric_SeqBAIJ_3()
[all …]
H A Dbaijfact.c15 MatScalar *rtmp, *pc, *mwork, *pv; in MatLUFactorNumeric_SeqBAIJ_2() local
25 PetscCall(PetscMalloc2(bs2 * n, &rtmp, bs2, &mwork)); in MatLUFactorNumeric_SeqBAIJ_2()
26 PetscCall(PetscArrayzero(rtmp, bs2 * n)); in MatLUFactorNumeric_SeqBAIJ_2()
34 for (PetscInt j = 0; j < nz; j++) PetscCall(PetscArrayzero(rtmp + bs2 * bjtmp[j], bs2)); in MatLUFactorNumeric_SeqBAIJ_2()
39 for (PetscInt j = 0; j < nz; j++) PetscCall(PetscArrayzero(rtmp + bs2 * bjtmp[j], bs2)); in MatLUFactorNumeric_SeqBAIJ_2()
45 …for (PetscInt j = 0; j < nz; j++) PetscCall(PetscArraycpy(rtmp + bs2 * ic[ajtmp[j]], v + bs2 * j, … in MatLUFactorNumeric_SeqBAIJ_2()
54 pc = rtmp + bs2 * row; in MatLUFactorNumeric_SeqBAIJ_2()
72 v = rtmp + 4 * pj[j]; in MatLUFactorNumeric_SeqBAIJ_2()
85 … for (PetscInt j = 0; j < nz; j++) PetscCall(PetscArraycpy(pv + bs2 * j, rtmp + bs2 * pj[j], bs2)); in MatLUFactorNumeric_SeqBAIJ_2()
90 PetscCall(PetscArraycpy(pv, rtmp + bs2 * pj[0], bs2)); in MatLUFactorNumeric_SeqBAIJ_2()
[all …]
H A Dbaijfact11.c19 MatScalar *pv, *v, *rtmp, *pc, *w, *x; in MatILUFactorNumeric_SeqBAIJ_4_inplace() local
36 PetscCall(PetscMalloc1(16 * (n + 1), &rtmp)); in MatILUFactorNumeric_SeqBAIJ_4_inplace()
43 x = rtmp + 16 * ajtmp[j]; in MatILUFactorNumeric_SeqBAIJ_4_inplace()
53 x = rtmp + 16 * ic[ajtmpold[j]]; in MatILUFactorNumeric_SeqBAIJ_4_inplace()
74 pc = rtmp + 16 * row; in MatILUFactorNumeric_SeqBAIJ_4_inplace()
149 x = rtmp + 16 * pj[j]; in MatILUFactorNumeric_SeqBAIJ_4_inplace()
181 x = rtmp + 16 * pj[j]; in MatILUFactorNumeric_SeqBAIJ_4_inplace()
210 PetscCall(PetscFree(rtmp)); in MatILUFactorNumeric_SeqBAIJ_4_inplace()
238 MatScalar *rtmp, *pc, *mwork, *v, *pv, *aa = a->a; in MatLUFactorNumeric_SeqBAIJ_4() local
255 PetscCall(PetscMalloc2(bs2 * n, &rtmp, bs2, &mwork)); in MatLUFactorNumeric_SeqBAIJ_4()
[all …]
H A Dbaijfact4.c16 MatScalar *ba = b->a, *aa = a->a, *pv, *v, *rtmp, *multiplier, *v_work, *pc, *w; in MatILUFactorNumeric_SeqBAIJ_N_inplace() local
28 PetscCall(PetscCalloc1(bs2 * (n + 1), &rtmp)); in MatILUFactorNumeric_SeqBAIJ_N_inplace()
35 for (j = 0; j < nz; j++) PetscCall(PetscArrayzero(rtmp + bs2 * ajtmp[j], bs2)); in MatILUFactorNumeric_SeqBAIJ_N_inplace()
40 … for (j = 0; j < nz; j++) PetscCall(PetscArraycpy(rtmp + bs2 * ic[ajtmpold[j]], v + bs2 * j, bs2)); in MatILUFactorNumeric_SeqBAIJ_N_inplace()
43 pc = rtmp + bs2 * row; in MatILUFactorNumeric_SeqBAIJ_N_inplace()
57 …for (j = 0; j < nz; j++) PetscKernel_A_gets_A_minus_B_times_C(bs, rtmp + bs2 * pj[j], pc, pv + bs2… in MatILUFactorNumeric_SeqBAIJ_N_inplace()
66 for (j = 0; j < nz; j++) PetscCall(PetscArraycpy(pv + bs2 * j, rtmp + bs2 * pj[j], bs2)); in MatILUFactorNumeric_SeqBAIJ_N_inplace()
75 PetscCall(PetscFree(rtmp)); in MatILUFactorNumeric_SeqBAIJ_N_inplace()
H A Dbaijfact2.c22 MatScalar *rtmp, *pc, *mwork, *pv, *vv, work[225]; in MatLUFactorNumeric_SeqBAIJ_15_NaturalOrdering() local
33 PetscCall(PetscMalloc2(bs2 * n, &rtmp, bs2, &mwork)); in MatLUFactorNumeric_SeqBAIJ_15_NaturalOrdering()
34 PetscCall(PetscArrayzero(rtmp, bs2 * n)); in MatLUFactorNumeric_SeqBAIJ_15_NaturalOrdering()
41 for (j = 0; j < nz; j++) PetscCall(PetscArrayzero(rtmp + bs2 * bjtmp[j], bs2)); in MatLUFactorNumeric_SeqBAIJ_15_NaturalOrdering()
46 for (j = 0; j < nz; j++) PetscCall(PetscArrayzero(rtmp + bs2 * bjtmp[j], bs2)); in MatLUFactorNumeric_SeqBAIJ_15_NaturalOrdering()
52 for (j = 0; j < nz; j++) PetscCall(PetscArraycpy(rtmp + bs2 * ajtmp[j], v + bs2 * j, bs2)); in MatLUFactorNumeric_SeqBAIJ_15_NaturalOrdering()
59 pc = rtmp + bs2 * row; in MatLUFactorNumeric_SeqBAIJ_15_NaturalOrdering()
74 vv = rtmp + bs2 * pj[j]; in MatLUFactorNumeric_SeqBAIJ_15_NaturalOrdering()
88 for (j = 0; j < nz; j++) PetscCall(PetscArraycpy(pv + bs2 * j, rtmp + bs2 * pj[j], bs2)); in MatLUFactorNumeric_SeqBAIJ_15_NaturalOrdering()
93 PetscCall(PetscArraycpy(pv, rtmp + bs2 * pj[0], bs2)); in MatLUFactorNumeric_SeqBAIJ_15_NaturalOrdering()
[all …]
H A Dbaijfact9.c19 MatScalar *w, *pv, *rtmp, *x, *pc; in MatILUFactorNumeric_SeqBAIJ_5_inplace() local
38 PetscCall(PetscMalloc1(25 * (n + 1), &rtmp)); in MatILUFactorNumeric_SeqBAIJ_5_inplace()
48 PetscCall(PetscArrayzero(rtmp + 25 * ajtmp[j], 25)); in MatILUFactorNumeric_SeqBAIJ_5_inplace()
50 x = rtmp + 25 * ajtmp[j]; in MatILUFactorNumeric_SeqBAIJ_5_inplace()
63 PetscCall(PetscArraycpy(rtmp + 25 * ic[ajtmpold[j]], v, 25)); in MatILUFactorNumeric_SeqBAIJ_5_inplace()
65 x = rtmp + 25 * ic[ajtmpold[j]]; in MatILUFactorNumeric_SeqBAIJ_5_inplace()
96 pc = rtmp + 25 * row; in MatILUFactorNumeric_SeqBAIJ_5_inplace()
208 x = rtmp + 25 * pj[j]; in MatILUFactorNumeric_SeqBAIJ_5_inplace()
251 PetscCall(PetscArraycpy(pv, rtmp + 25 * pj[j], 25)); in MatILUFactorNumeric_SeqBAIJ_5_inplace()
253 x = rtmp + 25 * pj[j]; in MatILUFactorNumeric_SeqBAIJ_5_inplace()
[all …]
H A Dbaijfact7.c16 MatScalar *pv, *v, *rtmp, *pc, *w, *x; in MatILUFactorNumeric_SeqBAIJ_6_inplace() local
37 PetscCall(PetscMalloc1(36 * (n + 1), &rtmp)); in MatILUFactorNumeric_SeqBAIJ_6_inplace()
43 x = rtmp + 36 * ajtmp[j]; in MatILUFactorNumeric_SeqBAIJ_6_inplace()
56 x = rtmp + 36 * ic[ajtmpold[j]]; in MatILUFactorNumeric_SeqBAIJ_6_inplace()
97 pc = rtmp + 36 * row; in MatILUFactorNumeric_SeqBAIJ_6_inplace()
254 x = rtmp + 36 * pj[j]; in MatILUFactorNumeric_SeqBAIJ_6_inplace()
308 x = rtmp + 36 * pj[j]; in MatILUFactorNumeric_SeqBAIJ_6_inplace()
353 PetscCall(PetscFree(rtmp)); in MatILUFactorNumeric_SeqBAIJ_6_inplace()
374 MatScalar *rtmp, *pc, *mwork, *v, *pv, *aa = a->a; in MatLUFactorNumeric_SeqBAIJ_6() local
385 PetscCall(PetscMalloc2(bs2 * n, &rtmp, bs2, &mwork)); in MatLUFactorNumeric_SeqBAIJ_6()
[all …]
H A Dbaijfact5.c16 MatScalar *pv, *v, *rtmp, *pc, *w, *x; in MatILUFactorNumeric_SeqBAIJ_7_inplace() local
40 PetscCall(PetscMalloc1(49 * (n + 1), &rtmp)); in MatILUFactorNumeric_SeqBAIJ_7_inplace()
46 x = rtmp + 49 * ajtmp[j]; in MatILUFactorNumeric_SeqBAIJ_7_inplace()
60 x = rtmp + 49 * ic[ajtmpold[j]]; in MatILUFactorNumeric_SeqBAIJ_7_inplace()
114 pc = rtmp + 49 * row; in MatILUFactorNumeric_SeqBAIJ_7_inplace()
324 x = rtmp + 49 * pj[j]; in MatILUFactorNumeric_SeqBAIJ_7_inplace()
391 x = rtmp + 49 * pj[j]; in MatILUFactorNumeric_SeqBAIJ_7_inplace()
449 PetscCall(PetscFree(rtmp)); in MatILUFactorNumeric_SeqBAIJ_7_inplace()
470 MatScalar *rtmp, *pc, *mwork, *v, *pv, *aa = a->a; in MatLUFactorNumeric_SeqBAIJ_7() local
481 PetscCall(PetscMalloc2(bs2 * n, &rtmp, bs2, &mwork)); in MatLUFactorNumeric_SeqBAIJ_7()
[all …]
/petsc/src/mat/impls/sbaij/seq/
H A Dsbaijfact.c567 MatScalar *u, *diag, *rtmp, *rtmp_ptr; in MatCholeskyFactorNumeric_SeqSBAIJ_N() local
574 PetscCall(PetscCalloc1(bs2 * mbs, &rtmp)); in MatCholeskyFactorNumeric_SeqSBAIJ_N()
635 rtmp_ptr = rtmp + vj * bs2; in MatCholeskyFactorNumeric_SeqSBAIJ_N()
640 PetscCall(PetscArraycpy(dk, rtmp + k * bs2, bs2)); in MatCholeskyFactorNumeric_SeqSBAIJ_N()
668 rtmp_ptr = rtmp + bj[j] * bs2; in MatCholeskyFactorNumeric_SeqSBAIJ_N()
698 rtmp_ptr = rtmp + vj * bs2; in MatCholeskyFactorNumeric_SeqSBAIJ_N()
713 PetscCall(PetscFree(rtmp)); in MatCholeskyFactorNumeric_SeqSBAIJ_N()
740 MatScalar *u, *diag, *rtmp, *rtmp_ptr; in MatCholeskyFactorNumeric_SeqSBAIJ_N_NaturalOrdering() local
746 PetscCall(PetscCalloc1(bs2 * mbs, &rtmp)); in MatCholeskyFactorNumeric_SeqSBAIJ_N_NaturalOrdering()
767 rtmp_ptr = rtmp + vj * bs2; in MatCholeskyFactorNumeric_SeqSBAIJ_N_NaturalOrdering()
[all …]
H A Dsbaijfact4.c13 MatScalar *u, *diag, *rtmp, *rtmp_ptr; in MatCholeskyFactorNumeric_SeqSBAIJ_3_NaturalOrdering() local
20 PetscCall(PetscCalloc1(9 * mbs, &rtmp)); in MatCholeskyFactorNumeric_SeqSBAIJ_3_NaturalOrdering()
39 rtmp_ptr = rtmp + vj * 9; in MatCholeskyFactorNumeric_SeqSBAIJ_3_NaturalOrdering()
45 PetscCall(PetscArraycpy(dk, rtmp + k * 9, 9)); in MatCholeskyFactorNumeric_SeqSBAIJ_3_NaturalOrdering()
94 rtmp_ptr = rtmp + bj[j] * 9; in MatCholeskyFactorNumeric_SeqSBAIJ_3_NaturalOrdering()
133 rtmp_ptr = rtmp + vj * 9; in MatCholeskyFactorNumeric_SeqSBAIJ_3_NaturalOrdering()
148 PetscCall(PetscFree(rtmp)); in MatCholeskyFactorNumeric_SeqSBAIJ_3_NaturalOrdering()
H A Dsbaijfact3.c12 MatScalar *u, *diag, *rtmp, *rtmp_ptr; in MatCholeskyFactorNumeric_SeqSBAIJ_3() local
19 PetscCall(PetscCalloc1(9 * mbs, &rtmp)); in MatCholeskyFactorNumeric_SeqSBAIJ_3()
77 rtmp_ptr = rtmp + vj * 9; in MatCholeskyFactorNumeric_SeqSBAIJ_3()
83 PetscCall(PetscArraycpy(dk, rtmp + k * 9, 9)); in MatCholeskyFactorNumeric_SeqSBAIJ_3()
132 rtmp_ptr = rtmp + bj[j] * 9; in MatCholeskyFactorNumeric_SeqSBAIJ_3()
171 rtmp_ptr = rtmp + vj * 9; in MatCholeskyFactorNumeric_SeqSBAIJ_3()
186 PetscCall(PetscFree(rtmp)); in MatCholeskyFactorNumeric_SeqSBAIJ_3()
H A Dsbaijfact5.c13 MatScalar *u, *diag, *rtmp, *rtmp_ptr; in MatCholeskyFactorNumeric_SeqSBAIJ_4_NaturalOrdering() local
21 PetscCall(PetscCalloc1(16 * mbs, &rtmp)); in MatCholeskyFactorNumeric_SeqSBAIJ_4_NaturalOrdering()
40 rtmp_ptr = rtmp + vj * 16; in MatCholeskyFactorNumeric_SeqSBAIJ_4_NaturalOrdering()
46 PetscCall(PetscArraycpy(dk, rtmp + k * 16, 16)); in MatCholeskyFactorNumeric_SeqSBAIJ_4_NaturalOrdering()
111 rtmp_ptr = rtmp + bj[j] * 16; in MatCholeskyFactorNumeric_SeqSBAIJ_4_NaturalOrdering()
162 rtmp_ptr = rtmp + vj * 16; in MatCholeskyFactorNumeric_SeqSBAIJ_4_NaturalOrdering()
177 PetscCall(PetscFree(rtmp)); in MatCholeskyFactorNumeric_SeqSBAIJ_4_NaturalOrdering()
H A Dsbaijfact6.c12 MatScalar *u, *diag, *rtmp, *rtmp_ptr; in MatCholeskyFactorNumeric_SeqSBAIJ_4() local
20 PetscCall(PetscCalloc1(16 * mbs, &rtmp)); in MatCholeskyFactorNumeric_SeqSBAIJ_4()
78 rtmp_ptr = rtmp + vj * 16; in MatCholeskyFactorNumeric_SeqSBAIJ_4()
84 PetscCall(PetscArraycpy(dk, rtmp + k * 16, 16)); in MatCholeskyFactorNumeric_SeqSBAIJ_4()
149 rtmp_ptr = rtmp + bj[j] * 16; in MatCholeskyFactorNumeric_SeqSBAIJ_4()
201 rtmp_ptr = rtmp + vj * 16; in MatCholeskyFactorNumeric_SeqSBAIJ_4()
216 PetscCall(PetscFree(rtmp)); in MatCholeskyFactorNumeric_SeqSBAIJ_4()
H A Dsbaijfact8.c13 MatScalar *u, *d, *rtmp, *rtmp_ptr, work[25]; in MatCholeskyFactorNumeric_SeqSBAIJ_5_NaturalOrdering() local
20 PetscCall(PetscCalloc1(25 * mbs, &rtmp)); in MatCholeskyFactorNumeric_SeqSBAIJ_5_NaturalOrdering()
39 rtmp_ptr = rtmp + vj * 25; in MatCholeskyFactorNumeric_SeqSBAIJ_5_NaturalOrdering()
45 PetscCall(PetscArraycpy(dk, rtmp + k * 25, 25)); in MatCholeskyFactorNumeric_SeqSBAIJ_5_NaturalOrdering()
130 rtmp_ptr = rtmp + bj[j] * 25; in MatCholeskyFactorNumeric_SeqSBAIJ_5_NaturalOrdering()
187 rtmp_ptr = rtmp + vj * 25; in MatCholeskyFactorNumeric_SeqSBAIJ_5_NaturalOrdering()
202 PetscCall(PetscFree(rtmp)); in MatCholeskyFactorNumeric_SeqSBAIJ_5_NaturalOrdering()
H A Dsbaijfact7.c12 MatScalar *u, *d, *rtmp, *rtmp_ptr, work[25]; in MatCholeskyFactorNumeric_SeqSBAIJ_5() local
19 PetscCall(PetscCalloc1(25 * mbs, &rtmp)); in MatCholeskyFactorNumeric_SeqSBAIJ_5()
77 rtmp_ptr = rtmp + vj * 25; in MatCholeskyFactorNumeric_SeqSBAIJ_5()
83 PetscCall(PetscArraycpy(dk, rtmp + k * 25, 25)); in MatCholeskyFactorNumeric_SeqSBAIJ_5()
168 rtmp_ptr = rtmp + bj[j] * 25; in MatCholeskyFactorNumeric_SeqSBAIJ_5()
225 rtmp_ptr = rtmp + vj * 25; in MatCholeskyFactorNumeric_SeqSBAIJ_5()
240 PetscCall(PetscFree(rtmp)); in MatCholeskyFactorNumeric_SeqSBAIJ_5()
/petsc/src/sys/utils/
H A Dsortd.c125 PetscReal rvl, rtmp; in PetscSortRealWithArrayInt_Private() local
130 if (v[0] > v[1]) SWAP2ri(v[0], v[1], V[0], V[1], rtmp, itmp); in PetscSortRealWithArrayInt_Private()
134 SWAP2ri(v[0], v[right / 2], V[0], V[right / 2], rtmp, itmp); in PetscSortRealWithArrayInt_Private()
140 SWAP2ri(v[last], v[i], V[last], V[i], rtmp, itmp); in PetscSortRealWithArrayInt_Private()
143 SWAP2ri(v[0], v[last], V[0], V[last], rtmp, itmp); in PetscSortRealWithArrayInt_Private()
167 PetscReal rk, rtmp; in PetscSortRealWithArrayInt() local
177 SWAP2ri(r[k], r[j], Ii[k], Ii[j], rtmp, itmp); in PetscSortRealWithArrayInt()
/petsc/src/mat/impls/aij/seq/
H A Daijfact.c227 MatScalar *rtmp, *pc, multiplier, *pv; in MatLUFactorNumeric_SeqAIJ() local
262 PetscCall(PetscMalloc1(n + 1, &rtmp)); in MatLUFactorNumeric_SeqAIJ()
272 for (j = 0; j < nz; j++) rtmp[bjtmp[j]] = 0.0; in MatLUFactorNumeric_SeqAIJ()
277 for (j = 0; j < nz; j++) rtmp[bjtmp[j]] = 0.0; in MatLUFactorNumeric_SeqAIJ()
283 for (j = 0; j < nz; j++) rtmp[ics[ajtmp[j]]] = v[j]; in MatLUFactorNumeric_SeqAIJ()
285 rtmp[i] += sctx.shift_amount; /* shift the diagonal of the matrix */ in MatLUFactorNumeric_SeqAIJ()
292 pc = rtmp + row; in MatLUFactorNumeric_SeqAIJ()
302 for (j = 0; j < nz; j++) rtmp[pj[j]] -= multiplier * pv[j]; in MatLUFactorNumeric_SeqAIJ()
315 pv[j] = rtmp[pj[j]]; in MatLUFactorNumeric_SeqAIJ()
324 pv[j] = rtmp[pj[j]]; in MatLUFactorNumeric_SeqAIJ()
[all …]
/petsc/src/vec/is/sf/impls/basic/nvshmem/
H A Dsfnvshmem.cu82 PetscInt tmp, stmp[4], rtmp[4]; /* tmps for send/recv buffers */ in PetscSFSetUp_Basic_NVSHMEM() local
100 PetscCallMPI(MPIU_Allreduce(stmp, rtmp, 4, MPIU_INT, MPI_MAX, comm)); in PetscSFSetUp_Basic_NVSHMEM()
102 sf->nRemoteRootRanksMax = rtmp[0]; in PetscSFSetUp_Basic_NVSHMEM()
103 sf->leafbuflen_rmax = rtmp[1]; in PetscSFSetUp_Basic_NVSHMEM()
104 bas->nRemoteLeafRanksMax = rtmp[2]; in PetscSFSetUp_Basic_NVSHMEM()
105 bas->rootbuflen_rmax = rtmp[3]; in PetscSFSetUp_Basic_NVSHMEM()
/petsc/src/dm/dt/interface/
H A Ddt.c2485 PetscReal lval, rval, rtmp; /* Terms in the quadature sum to the left and right of 0 */ in PetscDTTanhSinhIntegrateMPFR() local
2502 rtmp = 0.5 * (b + a); in PetscDTTanhSinhIntegrateMPFR()
2503 func(&rtmp, ctx, &lval); in PetscDTTanhSinhIntegrateMPFR()
2546 rtmp = mpfr_get_d(lx, MPFR_RNDU); in PetscDTTanhSinhIntegrateMPFR()
2547 func(&rtmp, ctx, &lval); in PetscDTTanhSinhIntegrateMPFR()
2548 rtmp = mpfr_get_d(rx, MPFR_RNDD); in PetscDTTanhSinhIntegrateMPFR()
2549 func(&rtmp, ctx, &rval); in PetscDTTanhSinhIntegrateMPFR()
/petsc/src/dm/impls/plex/transform/interface/
H A Dplextransform.c2101 PetscSFNode *rp, *rtmp; in DMPlexTransformCreateSF() local
2118 rtmp = remotePointsNew; in DMPlexTransformCreateSF()
2122 PetscCall(PetscFree(rtmp)); in DMPlexTransformCreateSF()