Searched refs:typesize (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/vec/is/sf/impls/basic/neighbor/ |
| H A D | sfneighbor.c | 42 PetscMPIInt i, typesize; in PetscLogMPIMessages() local 43 PetscCallMPI(MPI_Type_size(sendtype, &typesize)); in PetscLogMPIMessages() 44 for (i = 0; i < nsend; i++) petsc_isend_len += (PetscLogDouble)(sendcnts[i] * typesize); in PetscLogMPIMessages() 48 PetscMPIInt i, typesize; in PetscLogMPIMessages() local 49 PetscCallMPI(MPI_Type_size(recvtype, &typesize)); in PetscLogMPIMessages() 50 for (i = 0; i < nrecv; i++) petsc_irecv_len += (PetscLogDouble)(recvcnts[i] * typesize); in PetscLogMPIMessages()
|
| /petsc/src/sys/fileio/ |
| H A D | sysio.c | 283 size_t typesize, m = (size_t)num, n = 0, maxblock = 65536; in PetscBinaryRead() local 307 PetscCall(PetscDataTypeGetSize(type, &typesize)); in PetscBinaryRead() 316 typesize /= 2; in PetscBinaryRead() 320 m *= typesize; in PetscBinaryRead() 334 num = n / typesize; /* Should we require `n % typesize == 0` ? */ in PetscBinaryRead()
|
| /petsc/include/ |
| H A D | petsclog.h | 462 PetscMPIInt typesize; in PetscMPITypeSize() local 465 PetscCallMPI(MPI_Type_size(type, &typesize)); in PetscMPITypeSize() 466 return PetscAddLogDouble(length, length_th, (PetscLogDouble)(count * typesize)); in PetscMPITypeSize() 471 PetscMPIInt typesize, size, p; in PetscMPITypeSizeComm() local 476 PetscCallMPI(MPI_Type_size(type, &typesize)); in PetscMPITypeSizeComm() 477 for (p = 0, l = 0.0; p < size; ++p) l += (PetscLogDouble)(counts[p] * typesize); in PetscMPITypeSizeComm()
|