:orphan: # 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 src/dm/dt/fe/impls/opencl/feopencl.c --- [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](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)