:orphan:
# PetscADIOSDataTypeToPetscDataType
Finds the PETSc name of a datatype from its ADIOS name 
## Synopsis
```
#include "petscsys.h"   
PetscErrorCode PetscADIOSDataTypeToPetscDataType(enum ADIOS_DATATYPES htype, PetscDataType *ptype)
```
Not collective


## Input Parameter

- ***htype -*** the ADIOS datatype (for example H5T_NATIVE_DOUBLE, ...)



## Output Parameter

- ***ptype -*** the PETSc datatype name (for example `PETSC_DOUBLE`)





## See Also
 `PetscDataType`, `PetscADIOSDataTypeToPetscDataType()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/classes/viewer/impls/adios/adios.c.html#PetscADIOSDataTypeToPetscDataType">src/sys/classes/viewer/impls/adios/adios.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/classes/viewer/impls/adios/adios.c)


[Index of all Viewer routines](index.md)  
[Table of Contents for all manual pages](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
