| /petsc/src/sys/tests/ |
| H A D | ex62.c | 23 PetscErrorCode Fibonnaci(PetscInt64 **set, PetscInt n) in Fibonnaci() 26 …PetscInt64 fib[] = {1, 2, 3, 5, 8, 13, 21, 34, … in Fibonnaci() 39 PetscErrorCode Square(PetscInt64 **set, PetscInt n) in Square() 41 PetscInt64 ii; in Square() 51 PetscErrorCode Cube(PetscInt64 **set, PetscInt n) in Cube() 53 PetscInt64 ii; in Cube() 63 PetscErrorCode Sixth(PetscInt64 **set, PetscInt n) in Sixth() 65 PetscInt64 ii; in Sixth() 75 PetscErrorCode PrintSet(PetscInt64 *set) in PrintSet() 81 for (PetscInt64 ii = 1; ii <= set[0]; ii++) { in PrintSet() [all …]
|
| H A D | ex63.c | 14 PetscErrorCode Prime(PetscInt64 **set, PetscInt64 n) in Prime() 18 PetscInt64 ii, jj, count = 0; in Prime() 19 PetscInt64 *prime; in Prime() 47 PetscErrorCode PrintSet(MPI_Comm comm, PetscInt64 *set) in PrintSet() 64 PetscErrorCode AssertSetsEqual(PetscInt64 *set, PetscInt64 *true_set) in AssertSetsEqual() 77 PetscInt64 ii, local_p, maximum, n; in test_sieve() 78 PetscInt64 *local_set, *cursor, *bootstrap_primes, *truth; in test_sieve()
|
| H A D | ex29.c | 8 PetscInt64 r64; in main()
|
| H A D | ex15.cxx | 51 PetscInt64 i64; in main()
|
| /petsc/src/sys/classes/random/tests/ |
| H A D | ex3.c | 35 PetscInt64 d, k, *X; in main() 51 …PetscCheck((size_t)log2d * t <= sizeof(PetscInt64) * 8 - 2, PETSC_COMM_WORLD, PETSC_ERR_ARG_OUTOFR… in main() 52 d = ((PetscInt64)1) << log2d; in main() 53 k = ((PetscInt64)1) << (log2d * t); in main() 60 …space with %" PetscInt64_FMT " bins per dimension.\n", n, (n * 1.e-9) * sizeof(PetscInt64), t, d)); in main() 69 PetscInt64 bin = 0; in main() 70 PetscInt64 mult = 1; in main() 74 PetscInt64 slot; in main() 78 slot = (PetscInt64)(x * d); in main()
|
| /petsc/src/sys/objects/ |
| H A D | garbage.c | 92 …atic PetscErrorCode GarbageKeySortedIntersect_Private(PetscInt64 seta[], PetscInt *lena, PetscInt6… in GarbageKeySortedIntersect_Private() 122 PetscInt64 *seta, *setb; in PetscGarbageKeySortedIntersect() 125 seta = (PetscInt64 *)inoutset; in PetscGarbageKeySortedIntersect() 126 setb = (PetscInt64 *)inset; in PetscGarbageKeySortedIntersect() 135 PetscErrorCode GarbageKeyAllReduceIntersect_Private(MPI_Comm comm, PetscInt64 *set, PetscInt *entri… in GarbageKeyAllReduceIntersect_Private() 138 PetscInt64 *sendset, *recvset; in GarbageKeyAllReduceIntersect_Private() 209 PetscInt64 *keys; in PetscGarbageCleanup() 252 PetscInt64 *keys; in PetscGarbageView()
|
| H A D | tagm.c | 201 PetscInt64 *cidx; in PetscCommDuplicate() 286 PetscInt64 *cidx; in PetscCommDestroy()
|
| H A D | ptype.c | 119 PETSC_INT64_SIZE = sizeof(PetscInt64),
|
| /petsc/include/ |
| H A D | petscsystypes.h | 258 typedef int64_t PetscInt64; typedef 264 typedef long long PetscInt64; typedef 270 typedef __int64 PetscInt64; typedef 292 typedef PetscInt64 PetscInt; 362 typedef PetscInt64 PetscBLASInt; 788 typedef PetscInt64 PetscObjectId; 801 typedef PetscInt64 PetscObjectState;
|
| H A D | petscsys.h | 1945 typedef PetscInt64 MPIU_Count; 1971 … is too big for PetscInt, you may need to ./configure using --with-64-bit-indices", (PetscInt64)a); in PetscIntCast() 1999 …st ./configure PETSc with --with-64-bit-blas-indices for the case you are running", (PetscInt64)a); in PetscBLASIntCast() 2027 …" PetscInt64_FMT " is too big for cuBLAS, which is restricted to 32-bit integers.", (PetscInt64)a); in PetscCuBLASIntCast() 2028 …RR_ARG_OUTOFRANGE, "Passing negative integer %" PetscInt64_FMT "to cuBLAS routine", (PetscInt64)a); in PetscCuBLASIntCast() 2055 … PetscInt64_FMT " is too big for hipBLAS, which is restricted to 32-bit integers.", (PetscInt64)a); in PetscHipBLASIntCast() 2056 …R_ARG_OUTOFRANGE, "Passing negative integer %" PetscInt64_FMT "to hipBLAS routine", (PetscInt64)a); in PetscHipBLASIntCast() 2081 …T " is too big for MPI buffer length. Maximum supported value is %d", (PetscInt64)a, PETSC_MPI_INT… in PetscMPIIntCast() 2105 …4_FMT " is too big to be casted to an int. Maximum supported value is %d", (PetscInt64)a, INT_MAX); in PetscCIntCast() 2126 #define PetscInt64Mult(a, b) (((PetscInt64)(a)) * ((PetscInt64)(b))) [all …]
|
| H A D | petscbag.h | 48 PETSC_EXTERN PetscErrorCode PetscBagRegisterInt64(PetscBag, void *, PetscInt64, const char *, const…
|
| H A D | petscmath.h | 1062 static inline PetscInt64 PetscPowInt64(PetscInt base, PetscInt power) in PetscPowInt64() 1064 PetscInt64 result = 1; in PetscPowInt64() 1216 static inline PetscInt64 PetscCeilInt64(PetscInt64 x, PetscInt64 y) in PetscCeilInt64()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | petscrand.pxi | 23 PetscErrorCode PetscRandomSetSeed(PetscRandom, PetscInt64) 24 PetscErrorCode PetscRandomGetSeed(PetscRandom, PetscInt64*)
|
| /petsc/src/binding/petsc4py/src/petsc4py/include/petsc4py/ |
| H A D | petsc4py.i | 75 %fragment(SWIG_From_frag(PetscInt64),"header", 80 SWIG_From_dec(PetscInt64)(PetscInt64 val) { in PetscInt64() function 88 %fragment(SWIG_AsVal_frag(PetscInt64),"header", 93 SWIG_AsVal_dec(PetscInt64)(SWIG_Object obj, PetscInt64 *val) { in PetscInt64() function 99 if (SWIG_IsOK(res) && val) if (val) *val = %numeric_cast(v,PetscInt64); in PetscInt64() 104 fragment=SWIG_From_frag(PetscInt64), 108 %define_as(SWIG_From(PetscInt), SWIG_From(PetscInt64)) 114 fragment=SWIG_AsVal_frag(PetscInt64), 118 %define_as(SWIG_AsVal(PetscInt), SWIG_AsVal(PetscInt64))
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexvtu.c | 242 PetscInt64 boffset = 0; in DMPlexVTKWriteAll_VTU() 249 …+= gpiece[r].nvertices * 3 * sizeof(PetscVTUReal) + (gpiece[r].nvertices ? sizeof(PetscInt64) : 0); in DMPlexVTKWriteAll_VTU() 254 boffset += gpiece[r].nconn * sizeof(PetscVTKInt) + (gpiece[r].nconn ? sizeof(PetscInt64) : 0); in DMPlexVTKWriteAll_VTU() 256 … boffset += gpiece[r].ncells * sizeof(PetscVTKInt) + (gpiece[r].ncells ? sizeof(PetscInt64) : 0); in DMPlexVTKWriteAll_VTU() 258 … boffset += gpiece[r].ncells * sizeof(unsigned char) + (gpiece[r].ncells ? sizeof(PetscInt64) : 0); in DMPlexVTKWriteAll_VTU() 266 … boffset += gpiece[r].ncells * sizeof(PetscVTKInt) + (gpiece[r].ncells ? sizeof(PetscInt64) : 0); in DMPlexVTKWriteAll_VTU() 321 …ffset += gpiece[r].ncells * 3 * sizeof(PetscVTUReal) + (gpiece[r].ncells ? sizeof(PetscInt64) : 0); in DMPlexVTKWriteAll_VTU() 323 …ffset += gpiece[r].ncells * 3 * sizeof(PetscVTUReal) + (gpiece[r].ncells ? sizeof(PetscInt64) : 0); in DMPlexVTKWriteAll_VTU() 326 …ffset += gpiece[r].ncells * 3 * sizeof(PetscVTUReal) + (gpiece[r].ncells ? sizeof(PetscInt64) : 0); in DMPlexVTKWriteAll_VTU() 343 … boffset += gpiece[r].ncells * sizeof(PetscVTUReal) + (gpiece[r].ncells ? sizeof(PetscInt64) : 0); in DMPlexVTKWriteAll_VTU() [all …]
|
| /petsc/src/dm/impls/da/ |
| H A D | grvtk.c | 47 PetscInt64 boffset; in DMDAVTKWriteAll_VTS() 103 boffset += 3 * nnodes * sizeof(PetscScalar) + sizeof(PetscInt64); in DMDAVTKWriteAll_VTS() 132 boffset += nnodes * sizeof(PetscScalar) + sizeof(PetscInt64); in DMDAVTKWriteAll_VTS() 136 boffset += bs * nnodes * sizeof(PetscScalar) + sizeof(PetscInt64); in DMDAVTKWriteAll_VTS() 272 PetscInt64 boffset; in DMDAVTKWriteAll_VTR() 317 boffset += xm * sizeof(PetscScalar) + sizeof(PetscInt64); in DMDAVTKWriteAll_VTR() 319 boffset += ym * sizeof(PetscScalar) + sizeof(PetscInt64); in DMDAVTKWriteAll_VTR() 321 boffset += zm * sizeof(PetscScalar) + sizeof(PetscInt64); in DMDAVTKWriteAll_VTR() 348 boffset += nnodes * sizeof(PetscScalar) + sizeof(PetscInt64); in DMDAVTKWriteAll_VTR() 352 boffset += bs * nnodes * sizeof(PetscScalar) + sizeof(PetscInt64); in DMDAVTKWriteAll_VTR()
|
| H A D | da2.c | 215 …PetscCheck(((PetscInt64)M) * ((PetscInt64)N) * ((PetscInt64)dof) <= (PetscInt64)PETSC_MPI_INT_MAX,… in DMSetUp_DA_2D()
|
| /petsc/include/petsc/private/ |
| H A D | hashmapobj.h | 8 PETSC_HASH_MAP(HMapObj, PetscInt64, PetscObject, PetscHashInt64, PetscHashEqual, NULL)
|
| H A D | garbagecollector.h | 17 PETSC_EXTERN PetscErrorCode GarbageKeyAllReduceIntersect_Private(MPI_Comm, PetscInt64 *, PetscInt *…
|
| H A D | hashtable.h | 229 static inline PetscHash_t PetscHashInt64(PetscInt64 key) in PetscHashInt64()
|
| /petsc/src/sys/classes/random/interface/ |
| H A D | randomc.c | 61 PetscErrorCode PetscRandomGetSeed(PetscRandom r, PetscInt64 *seed) in PetscRandomGetSeed() 67 *seed = (PetscInt64)r->seed; in PetscRandomGetSeed() 95 PetscErrorCode PetscRandomSetSeed(PetscRandom r, PetscInt64 seed) in PetscRandomSetSeed()
|
| /petsc/src/sys/fileio/ |
| H A D | sysio.c | 78 static PetscErrorCode PetscByteSwapInt64(PetscInt64 *buff, PetscCount n) in PetscByteSwapInt64() 81 PetscInt64 tmp = 0; in PetscByteSwapInt64() 87 for (i = 0; i < (PetscCount)sizeof(PetscInt64); i++) ptr2[i] = ptr1[sizeof(PetscInt64) - 1 - i]; in PetscByteSwapInt64() 88 for (i = 0; i < (PetscCount)sizeof(PetscInt64); i++) ptr1[i] = ptr2[i]; in PetscByteSwapInt64() 236 else if (pdtype == PETSC_INT64) PetscCall(PetscByteSwapInt64((PetscInt64 *)data, count)); in PetscByteSwap() 237 else if (pdtype == PETSC_COUNT) PetscCall(PetscByteSwapInt64((PetscInt64 *)data, count)); in PetscByteSwap() 463 else if (wtype == PETSC_INT64) m *= sizeof(PetscInt64); in PetscBinaryWrite()
|
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex69.c | 616 PetscInt64 *cidx; in CreateQuadMesh1() 646 cidx = (PetscInt64 *)get_tmp; in CreateQuadMesh1() 747 PetscInt64 *cidx; in CreateHexMesh1() 779 cidx = (PetscInt64 *)get_tmp; in CreateHexMesh1()
|
| /petsc/src/sys/classes/viewer/impls/vtk/ |
| H A D | vtkv.c | 303 PetscInt64 bytes; in PetscViewerVTKFWrite() 316 bytes = (PetscInt64)dsize * n; in PetscViewerVTKFWrite()
|
| /petsc/include/petsc/finclude/ |
| H A D | petscsysbase.h | 33 #define PetscInt64 integer8 macro
|