Home
last modified time | relevance | path

Searched refs:PETSC_LONG (Results 1 – 6 of 6) sorted by relevance

/petsc/src/sys/objects/
H A Dptype.c38 else if (ptype == PETSC_LONG) *mtype = MPI_LONG; in PetscDataTypeToMPIDataType()
92 else if (mtype == MPI_LONG) *ptype = PETSC_LONG; in PetscMPIDataTypeToPetscDataType()
154 else if (ptype == PETSC_LONG) *size = PETSC_LONG_SIZE; in PetscDataTypeGetSize()
/petsc/src/dm/impls/plex/
H A Dplexgmsh.c330 PetscCall(GmshRead(gmsh, ibuf, count, PETSC_LONG)); in GmshReadPetscInt()
360 PetscCall(GmshRead(gmsh, ibuf, count, PETSC_LONG)); in GmshReadPetscCount()
670 PetscCall(PetscViewerRead(viewer, lbuf, 4, NULL, PETSC_LONG)); in GmshReadEntities_v40()
671 if (byteSwap) PetscCall(PetscByteSwap(lbuf, PETSC_LONG, 4)); in GmshReadEntities_v40()
681 PetscCall(PetscViewerRead(viewer, &lnum, 1, NULL, PETSC_LONG)); in GmshReadEntities_v40()
682 if (byteSwap) PetscCall(PetscByteSwap(&lnum, PETSC_LONG, 1)); in GmshReadEntities_v40()
690 PetscCall(PetscViewerRead(viewer, &lnum, 1, NULL, PETSC_LONG)); in GmshReadEntities_v40()
691 if (byteSwap) PetscCall(PetscByteSwap(&lnum, PETSC_LONG, 1)); in GmshReadEntities_v40()
719 PetscCall(PetscViewerRead(viewer, &numEntityBlocks, 1, NULL, PETSC_LONG)); in GmshReadNodes_v40()
720 if (byteSwap) PetscCall(PetscByteSwap(&numEntityBlocks, PETSC_LONG, 1)); in GmshReadNodes_v40()
[all …]
/petsc/include/
H A Dpetscsystypes.h714 PETSC_LONG = 3, enumerator
752 #define PETSC_FORTRANADDR PETSC_LONG
/petsc/src/sys/classes/viewer/impls/hdf5/
H A Dhdf5v.c1116 else if (ptype == PETSC_LONG) *htype = H5T_NATIVE_LONG; in PetscDataTypeToHDF5DataType()
1146 if (htype == H5T_NATIVE_INT) *ptype = PetscDefined(USE_64BIT_INDICES) ? PETSC_LONG : PETSC_INT; in PetscHDF5DataTypeToPetscDataType()
1151 else if (htype == H5T_NATIVE_LONG) *ptype = PETSC_LONG; in PetscHDF5DataTypeToPetscDataType()
/petsc/src/sys/fileio/
H A Dsysio.c242 else if (pdtype == PETSC_LONG) PetscCall(PetscByteSwapLong((long *)data, count)); in PetscByteSwap()
459 else if (wtype == PETSC_LONG) m *= sizeof(long); in PetscBinaryWrite()
/petsc/src/sys/classes/viewer/impls/ascii/
H A Dfilev.c1232 else if (dtype == PETSC_LONG) ret = fscanf(fd, "%ld", &(((long *)data)[i])); in PetscViewerASCIIRead()