petsc-3.7.1 2016-05-15
PetscDataTypeGetSize
Gets the size (in bytes) of a PETSc datatype
Synopsis
#include "petscsys.h"
PetscErrorCode PetscDataTypeGetSize(PetscDataType ptype,size_t *size)
Not collective Many br
Input Parameter
ptype -the PETSc datatype name (for example PETSC_DOUBLE) Many br
Output Parameter
size -the size in bytes (for example the size of PETSC_DOUBLE is 8) Many br
Many br
See Also
PetscDataType, PetscDataTypeToMPIDataType()
Level:advanced
Location:src/sys/objects/ptype.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages