# PetscFEOpenCLGetRealType
Get the scalar type for running on the OpenCL accelerator 
## Synopsis
```
#include "petscfe.h" 
PetscErrorCode PetscFEOpenCLGetRealType(PetscFE fem, PetscDataType *realType)
```

## Input Parameter

- ***fem -*** The `PetscFE`



## Output Parameter

- ***realType -*** The scalar type





## See Also
 `PetscFE`, `PetscFEOpenCLSetRealType()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/dt/fe/impls/opencl/feopencl.c.html#PetscFEOpenCLGetRealType">src/dm/dt/fe/impls/opencl/feopencl.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/dt/fe/impls/opencl/feopencl.c)


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