Searched refs:Py_IsInitialized (Results 1 – 4 of 4) sorted by relevance
82 static int (*Py_IsInitialized)(void); variable116 PetscCall(PetscDLPyLibSym("Py_IsInitialized", &Py_IsInitialized)); in PetscPythonLoadLibrary()134 …PetscCheck(Py_IsInitialized, PETSC_COMM_SELF, PETSC_ERR_LIB, "Python: failed to load symbols from … in PetscPythonLoadLibrary()156 if (Py_IsInitialized()) Py_Finalize(); in PetscPythonFinalize()198 if (!Py_IsInitialized()) { in PetscPythonInitialize()
118 if ptr != NULL and Py_IsInitialized():
442 if Py_IsInitialized(): PetscViewerDestroy_Python_inner(viewer)738 if Py_IsInitialized(): MatDestroy_Python_inner(mat)1517 if Py_IsInitialized(): PCDestroy_Python_inner(pc)1567 if Py_IsInitialized(): PCReset_Python_inner(pc)1821 if Py_IsInitialized(): KSPDestroy_Python_inner(ksp)1863 if Py_IsInitialized(): KSPReset_Python_inner(ksp)2155 if Py_IsInitialized(): SNESDestroy_Python_inner(snes)2195 if Py_IsInitialized(): SNESReset_Python_inner(snes)2479 if Py_IsInitialized(): TSDestroy_Python_inner(ts)2534 if Py_IsInitialized(): TSReset_Python_inner(ts)[all …]
279 int Py_IsInitialized() nogil339 if (<void*>tracebacklist) != NULL and Py_IsInitialized():