Home
last modified time | relevance | path

Searched defs:n (Results 1 – 25 of 1271) sorted by relevance

12345678910>>...51

/petsc/src/ksp/pc/impls/tfs/
H A Divec.c27 PetscInt *PCTFS_ivec_copy(PetscInt *arg1, PetscInt *arg2, PetscInt n) in PCTFS_ivec_copy()
34 PetscErrorCode PCTFS_ivec_zero(PetscInt *arg1, PetscInt n) in PCTFS_ivec_zero()
42 PetscErrorCode PCTFS_ivec_set(PetscInt *arg1, PetscInt arg2, PetscInt n) in PCTFS_ivec_set()
50 PetscErrorCode PCTFS_ivec_max(PetscInt *arg1, PetscInt *arg2, PetscInt n) in PCTFS_ivec_max()
62 PetscErrorCode PCTFS_ivec_min(PetscInt *arg1, PetscInt *arg2, PetscInt n) in PCTFS_ivec_min()
74 PetscErrorCode PCTFS_ivec_mult(PetscInt *arg1, PetscInt *arg2, PetscInt n) in PCTFS_ivec_mult()
82 PetscErrorCode PCTFS_ivec_add(PetscInt *arg1, PetscInt *arg2, PetscInt n) in PCTFS_ivec_add()
90 PetscErrorCode PCTFS_ivec_lxor(PetscInt *arg1, PetscInt *arg2, PetscInt n) in PCTFS_ivec_lxor()
102 PetscErrorCode PCTFS_ivec_xor(PetscInt *arg1, PetscInt *arg2, PetscInt n) in PCTFS_ivec_xor()
110 PetscErrorCode PCTFS_ivec_or(PetscInt *arg1, PetscInt *arg2, PetscInt n) in PCTFS_ivec_or()
[all …]
/petsc/include/petsc/private/kernels/
H A Dpetscaxpy.h32 #define PetscKernelAXPY(U, a1, p1, n) \ argument
38 #define PetscKernelAXPY2(U, a1, a2, p1, p2, n) \ argument
42 #define PetscKernelAXPY3(U, a1, a2, a3, p1, p2, p3, n) \ argument
46 #define PetscKernelAXPY4(U, a1, a2, a3, a4, p1, p2, p3, p4, n) \ argument
53 #define PetscKernelAXPY(U, Alpha, P, n) \ argument
76 #define PetscKernelAXPY2(U, a1, a2, p1, p2, n) \ argument
100 #define PetscKernelAXPY3(U, a1, a2, a3, p1, p2, p3, n) \ argument
125 #define PetscKernelAXPY4(U, a1, a2, a3, a4, p1, p2, p3, p4, n) \ argument
154 #define PetscKernelAXPY(U, a1, p1, n) \ argument
158 #define PetscKernelAXPY2(U, a1, a2, p1, p2, n) \ argument
[all …]
/petsc/src/sys/utils/
H A Dsorti.c153 #define QuickSort1(FuncName, X, n, pivot, t1) \ argument
176 #define QuickSortReverse1(FuncName, X, n, pivot, t1) \ argument
198 #define QuickSort2(FuncName, X, Y, n, pivot, t1, t2) \ argument
220 #define QuickSort3(FuncName, X, Y, Z, n, pivot, t1, t2, t3) \ argument
258 PetscErrorCode PetscSortedInt(PetscCount n, const PetscInt X[], PetscBool *sorted) in PetscSortedInt()
283 PetscErrorCode PetscSortedInt64(PetscCount n, const PetscInt64 X[], PetscBool *sorted) in PetscSortedInt64()
310 PetscErrorCode PetscSortInt(PetscCount n, PetscInt X[]) in PetscSortInt()
337 PetscErrorCode PetscSortInt64(PetscCount n, PetscInt64 X[]) in PetscSortInt64()
363 PetscErrorCode PetscSortCount(PetscCount n, PetscCount X[]) in PetscSortCount()
386 PetscErrorCode PetscSortReverseInt(PetscCount n, PetscInt X[]) in PetscSortReverseInt()
[all …]
H A Dsortd.c33 PetscErrorCode PetscSortedReal(PetscCount n, const PetscReal X[], PetscBool *sorted) in PetscSortedReal()
86 PetscErrorCode PetscSortReal(PetscCount n, PetscReal v[]) in PetscSortReal()
163 PetscErrorCode PetscSortRealWithArrayInt(PetscCount n, PetscReal r[], PetscInt Ii[]) in PetscSortRealWithArrayInt()
206 PetscErrorCode PetscFindReal(PetscReal key, PetscCount n, const PetscReal t[], PetscReal eps, Petsc… in PetscFindReal()
244 PetscErrorCode PetscSortRemoveDupsReal(PetscInt *n, PetscReal v[]) in PetscSortRemoveDupsReal()
279 PetscErrorCode PetscSortSplit(PetscInt ncut, PetscInt n, PetscScalar a[], PetscInt idx[]) in PetscSortSplit()
344 PetscErrorCode PetscSortSplitReal(PetscInt ncut, PetscInt n, PetscReal a[], PetscInt idx[]) in PetscSortSplitReal()
H A Dsortip.c15 #define PetscCheckIdentity(n, idx) \ argument
20 #define PetscCheckIdentity(n, idx) (void)0 argument
67 PetscErrorCode PetscSortIntWithPermutation(PetscInt n, const PetscInt i[], PetscInt idx[]) in PetscSortIntWithPermutation()
138 PetscErrorCode PetscSortRealWithPermutation(PetscInt n, const PetscReal i[], PetscInt idx[]) in PetscSortRealWithPermutation()
213 PetscErrorCode PetscSortStrWithPermutation(PetscInt n, const char *i[], PetscInt idx[]) in PetscSortStrWithPermutation()
H A Dpsplit.c26 PetscErrorCode PetscSplitOwnershipBlock(MPI_Comm comm, PetscInt bs, PetscInt *n, PetscInt *N) in PetscSplitOwnershipBlock()
67 PetscErrorCode PetscSplitOwnership(MPI_Comm comm, PetscInt *n, PetscInt *N) in PetscSplitOwnership()
123 PetscErrorCode PetscSplitOwnershipEqual(MPI_Comm comm, PetscInt *n, PetscInt *N) in PetscSplitOwnershipEqual()
/petsc/src/vec/is/tests/
H A Dex6.c41 PetscInt n; in main() local
51 PetscInt n; in main() local
61 PetscInt n; in main() local
71 PetscInt n; in main() local
/petsc/src/mat/utils/
H A Dmultequal.c9 static PetscErrorCode MatMultEqual_Private(Mat A, Mat B, PetscInt n, PetscBool *flg, PetscInt t, Pe… in MatMultEqual_Private()
116 static PetscErrorCode MatMatMultEqual_Private(Mat A, Mat B, Mat C, PetscInt n, PetscBool *flg, Pets… in MatMatMultEqual_Private()
233 PetscErrorCode MatMultEqual(Mat A, Mat B, PetscInt n, PetscBool *flg) in MatMultEqual()
257 PetscErrorCode MatMultAddEqual(Mat A, Mat B, PetscInt n, PetscBool *flg) in MatMultAddEqual()
282 PetscErrorCode MatMultTransposeEqual(Mat A, Mat B, PetscInt n, PetscBool *flg) in MatMultTransposeEqual()
306 PetscErrorCode MatMultTransposeAddEqual(Mat A, Mat B, PetscInt n, PetscBool *flg) in MatMultTransposeAddEqual()
331 PetscErrorCode MatMultHermitianTransposeEqual(Mat A, Mat B, PetscInt n, PetscBool *flg) in MatMultHermitianTransposeEqual()
355 PetscErrorCode MatMultHermitianTransposeAddEqual(Mat A, Mat B, PetscInt n, PetscBool *flg) in MatMultHermitianTransposeAddEqual()
381 PetscErrorCode MatMatMultEqual(Mat A, Mat B, Mat C, PetscInt n, PetscBool *flg) in MatMatMultEqual()
406 PetscErrorCode MatTransposeMatMultEqual(Mat A, Mat B, Mat C, PetscInt n, PetscBool *flg) in MatTransposeMatMultEqual()
[all …]
/petsc/src/vec/is/is/impls/block/
H A Dblock.c67 PetscInt i, j, k, bs, n, *ii, *jj; in ISGetIndices_Block() local
109 PetscInt i, *ii, bs, n, *idx = sub->idx; in ISInvertPermutation_Block() local
128 PetscInt i, bs, n, *idx = sub->idx; in ISView_Block() local
145 PetscInt n; in ISView_Block() local
175 PetscInt bs, n; in ISSort_Block() local
187 PetscInt bs, n, nb; in ISSortRemoveDups_Block() local
215 PetscInt n, bs, i, *idx; in ISSortedLocal_Block() local
232 PetscInt n, bs, i, *idx, *idxcopy = NULL; in ISUniqueLocal_Block() local
258 PetscInt n, bs, i, *idx, *idxcopy = NULL; in ISPermutationLocal_Block() local
284 PetscInt n, bs, i, *idx; in ISIntervalLocal_Block() local
[all …]
/petsc/src/sys/objects/device/impls/cupm/
H A Dcupmallocator.hpp49 inline PetscErrorCode HostAllocator<T, P>::allocate(value_type **ptr, size_type n, const StreamBase… in allocate()
67 …tor<T, P>::uninitialized_copy(value_type *dest, const value_type *src, size_type n, const StreamBa… in uninitialized_copy()
104 inline PetscErrorCode DeviceAllocator<T, P>::allocate(value_type **ptr, size_type n, const StreamBa… in allocate()
122 inline PetscErrorCode DeviceAllocator<T, P>::zero(value_type *ptr, size_type n, const StreamBase<U>… in zero()
131 …tor<T, P>::uninitialized_copy(value_type *dest, const value_type *src, size_type n, const StreamBa… in uninitialized_copy()
140 inline PetscErrorCode DeviceAllocator<T, P>::set_canary(value_type *ptr, size_type n, const StreamB… in set_canary()
/petsc/src/vec/vec/impls/seq/ftn-kernels/
H A Dfmdot.F907 pure subroutine FortranMDot4(x, y1, y2, y3, y4, n, sum1, sum2, sum3, sum4) argument
30 pure subroutine FortranMDot3(x, y1, y2, y3, n, sum1, sum2, sum3) argument
51 pure subroutine FortranMDot2(x, y1, y2, n, sum1, sum2) argument
70 pure subroutine FortranMDot1(x, y1, n, sum1) argument
H A Dfmaxpy.F908 pure subroutine FortranMAXPY4(x, a0, a1, a2, a3, y0, y1, y2, y3, n) argument
25 pure subroutine FortranMAXPY3(x, a0, a1, a2, y0, y1, y2, n) argument
41 pure subroutine FortranMAXPY2(x, a0, a1, y0, y1, n) argument
/petsc/include/
H A Dpetscdevice.h144 #define PetscDeviceMalloc(dctx, mtype, n, ptr) PetscDeviceAllocate_Private((dctx), PETSC_FALSE, (mt… argument
178 #define PetscDeviceCalloc(dctx, mtype, n, ptr) PetscDeviceAllocate_Private((dctx), PETSC_TRUE, (mty… argument
259 #define PetscDeviceArrayCopy(dctx, dest, src, n) PetscDeviceMemcpy((dctx), (dest), (src), (size_t)(… argument
300 #define PetscDeviceArrayZero(dctx, ptr, n) PetscDeviceMemset((dctx), (ptr), 0, (size_t)(n) * sizeof… argument
/petsc/src/sys/classes/viewer/impls/socket/mex-scripts/
H A Dbread.c17 static void SYByteSwapInt(int *buff, PetscCount n) in SYByteSwapInt()
30 static void SYByteSwapShort(short *buff, PetscCount n) in SYByteSwapShort()
44 static void SYByteSwapScalar(PetscScalar *buff, PetscCount n) in SYByteSwapScalar()
79 PetscErrorCode PetscBinaryRead(int fd, void *p, PetscCount n, PetscInt *dummy, PetscDataType type) in PetscBinaryRead()
123 PetscErrorCode PetscBinaryWrite(int fd, const void *p, PetscCount n, PetscDataType type) in PetscBinaryWrite()
/petsc/src/vec/is/is/impls/general/
H A Dgeneral.c10 PetscInt n, bs; in ISDuplicate_General() local
37 PetscInt n; in ISCopy_General() local
48 PetscInt i, n; in ISShift_General() local
59 PetscInt n; in ISOnComm_General() local
78 PetscInt n, i, p; in ISContiguousLocal_General() local
145 PetscInt i, *ii, n, nstart; in ISInvertPermutation_General() local
226 PetscInt n, off = 0; in ISGeneralCheckCompress() local
256 PetscInt *cidx, n, r; in ISGeneralCompress() local
304 PetscInt bs, N, n, timestep = PETSC_INT_MIN, low; in ISView_General_HDF5() local
463 PetscInt *idx = sub->idx, n; in ISView_General() local
[all …]
/petsc/src/vec/vec/utils/
H A Dvinv.c29 PetscInt i, n, bs; in VecStrideSet() local
68 PetscInt i, n, bs; in VecStrideScale() local
117 PetscInt i, n, bs; in VecStrideNorm() local
183 PetscInt i, n, bs, id = -1; in VecStrideMax() local
258 PetscInt i, n, bs, id = -1; in VecStrideMin() local
328 PetscInt i, n, bs; in VecStrideSum() local
369 PetscInt i, j, n, bs; in VecStrideScaleAll() local
416 PetscInt i, j, n, bs; in VecStrideNormAll() local
497 PetscInt i, j, n, bs; in VecStrideMaxAll() local
558 PetscInt i, n, bs, j; in VecStrideMinAll() local
[all …]
/petsc/src/ts/tutorials/autodiff/adolc-utils/
H A Ddrivers.cxx34 PetscInt i, j, m = adctx->m, n = adctx->n, p = adctx->p; in PetscAdolcComputeRHSJacobian() local
72 PetscInt i, j, m = adctx->m, n = adctx->n, p = adctx->p; in PetscAdolcComputeRHSJacobianLocal() local
111 PetscInt i, j, m = adctx->m, n = adctx->n, p = adctx->p; in PetscAdolcComputeIJacobian() local
171 PetscInt i, j, m = adctx->m, n = adctx->n, p = adctx->p; in PetscAdolcComputeIJacobianIDMass() local
216 PetscInt i, j, m = adctx->m, n = adctx->n, p = adctx->p; in PetscAdolcComputeIJacobianLocal() local
275 PetscInt i, j, m = adctx->m, n = adctx->n, p = adctx->p; in PetscAdolcComputeIJacobianLocalIDMass() local
321 PetscInt i, j = 0, m = adctx->m, n = adctx->n, p = adctx->num_params; in PetscAdolcComputeRHSJacobianP() local
365 PetscInt i, j = 0, m = adctx->m, n = adctx->n, p = adctx->num_params; in PetscAdolcComputeRHSJacobianPLocal() local
414 PetscInt i, m = adctx->m, n = adctx->n, p = adctx->p; in PetscAdolcComputeIJacobianAndDiagonalLocal() local
H A Dinit.cxx23 PetscErrorCode AdolcMalloc2(PetscInt m, PetscInt n, T **A[]) in AdolcMalloc2()
131 PetscErrorCode Subidentity(PetscInt n, PetscInt s, T **S) in Subidentity()
148 PetscErrorCode Identity(PetscInt n, T **I) in Identity()
/petsc/src/mat/impls/h2opus/
H A Dmath2opussampler.hpp72 void PetscMatrixSampler::SetIndexMap(int n, int *indexmap) in SetIndexMap()
83 size_t n = this->hindexmap.size(); in VerifyBuffers() local
102 size_t n = this->hindexmap.size(); in PermuteBuffersIn() local
121 size_t n = this->hindexmap.size(); in PermuteBuffersOut() local
146 PetscInt M, N, m, n; in sample() local
/petsc/src/ksp/ksp/tutorials/
H A Dex60.c75 PetscScalar diagFunc1(PetscInt i, PetscInt n) in diagFunc1()
81 PetscScalar diagFunc2(PetscInt i, PetscInt n) in diagFunc2()
87 PetscScalar diagFunc3(PetscInt i, PetscInt n) in diagFunc3()
99 PetscInt i, rstart, rend, n; in AssembleDiagonalMatrix() local
116 PetscInt n = 10000, its, dfid = 1; in main() local
/petsc/src/sys/utils/ftn-kernels/
H A Dfcopy.F907 pure subroutine FortranCopy(n, x, y) argument
20 pure subroutine FortranZero(n, x) argument
/petsc/src/vec/vec/impls/mpi/cupm/
H A Dvecmpicupm.hpp59 inline PetscErrorCode VecCreateMPICUPMAsync(MPI_Comm comm, PetscInt n, PetscInt N, Vec *v) noexcept in VecCreateMPICUPMAsync()
68 inline PetscErrorCode VecCreateMPICUPMWithArrays(MPI_Comm comm, PetscInt bs, PetscInt n, PetscInt N… in VecCreateMPICUPMWithArrays()
78 inline PetscErrorCode VecCreateMPICUPMWithArray(MPI_Comm comm, PetscInt bs, PetscInt n, PetscInt N,… in VecCreateMPICUPMWithArray()
/petsc/src/ksp/pc/impls/asm/ftn-custom/
H A Dzasmf.c22 PETSC_EXTERN void pcasmcreatesubdomains_(Mat *mat, PetscInt n, F90Array1d *is, PetscErrorCode *ierr… in pcasmcreatesubdomains_()
32 PETSC_EXTERN void pcasmgetlocalsubmatrices_(PC *pc, PetscInt *n, F90Array1d *mat, PetscErrorCode *i… in pcasmgetlocalsubmatrices_()
44 PETSC_EXTERN void pcasmgetlocalsubdomains_(PC *pc, PetscInt *n, F90Array1d *is, F90Array1d *is_loca… in pcasmgetlocalsubdomains_()
61 PETSC_EXTERN void pcasmdestroysubdomains_(PetscInt *n, F90Array1d *is1, F90Array1d *is2, int *ierr … in pcasmdestroysubdomains_()
77 PETSC_EXTERN void pcasmcreatesubdomains2d_(PetscInt *m, PetscInt *n, PetscInt *M, PetscInt *N, Pets… in pcasmcreatesubdomains2d_()
/petsc/src/ksp/ksp/interface/ftn-custom/
H A Dzitfuncf90.c10 PETSC_EXTERN void kspgetresidualhistory_(KSP *ksp, F90Array1d *indices, PetscInt *n, int *ierr PETS… in kspgetresidualhistory_()
18 PETSC_EXTERN void ksprestoreresidualhistory_(KSP *ksp, F90Array1d *indices, PetscInt *n, int *ierr … in ksprestoreresidualhistory_()
/petsc/src/binding/petsc4py/demo/legacy/poisson3d/
H A Ddel2lib.f906 subroutine del2apply (n, F, x, y) argument
9 integer , intent(in) :: n local

12345678910>>...51