| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | libpetsc4py.pyx | 163 except Exception: 180 cdef int setcontext(self, void *ctx, Object base) except -1: 203 cdef int getcontext(self, void **ctx) except -1: 211 cdef int setname(self, const char name[]) except -1: 218 cdef char* getname(self) except? NULL: 277 cdef int viewcontext(_PyObj ctx, PetscViewer viewer) except -1: 294 PetscErrorCode (*destroy)(PetscViewer) except PETSC_ERR_PYTHON 295 PetscErrorCode (*setup)(PetscViewer) except PETSC_ERR_PYTHON 296 PetscErrorCode (*flush)(PetscViewer) except PETSC_ERR_PYTHON 297 PetscErrorCode (*setfromoptions)(PetscViewer, PetscOptionItems) except PETSC_ERR_PYTHON [all …]
|
| H A D | CAPI.pyx | 3 cdef inline int setref(void *d, void *s) except -1: 24 cdef api MPI_Comm PyPetscComm_Get(object arg) except? MPI_COMM_NULL: 30 cdef api MPI_Comm* PyPetscComm_GetPtr(object arg) except NULL: 43 cdef api PetscObject PyPetscObject_Get(object arg) except ? NULL: 49 cdef api PetscObject* PyPetscObject_GetPtr(object arg) except NULL: 62 cdef api PetscViewer PyPetscViewer_Get(object arg) except ? NULL: 75 cdef api PetscRandom PyPetscRandom_Get(object arg) except ? NULL: 89 cdef api PetscDevice PyPetscDevice_Get(object arg) except ? NULL: 101 cdef api PetscDeviceContext PyPetscDeviceContext_Get(object arg) except ? NULL: 113 cdef api PetscIS PyPetscIS_Get(object arg) except? NULL: [all …]
|
| H A D | petsctao.pxi | 57 ctypedef PetscErrorCode PetscTaoConvergenceTest(PetscTAO, void*) except PETSC_ERR_PYTHON 58 ctypedef PetscErrorCode PetscTaoMonitor(PetscTAO, void*) except PETSC_ERR_PYTHON 59 …ctypedef PetscErrorCode PetscTaoObjective(PetscTAO, PetscVec, PetscReal*, void*) except PETSC_ERR_… 60 …ctypedef PetscErrorCode PetscTaoResidual(PetscTAO, PetscVec, PetscVec, void*) except PETSC_ERR_PYT… 61 …ctypedef PetscErrorCode PetscTaoGradient(PetscTAO, PetscVec, PetscVec, void*) except PETSC_ERR_PYT… 62 …ctypedef PetscErrorCode PetscTaoObjGrad(PetscTAO, PetscVec, PetscReal*, PetscVec, void*) except PE… 63 …PetscTaoRegularizerObjGrad(PetscTAO, PetscVec, PetscReal*, PetscVec, void*) except PETSC_ERR_PYTHON 64 …ctypedef PetscErrorCode PetscTaoVarBounds(PetscTAO, PetscVec, PetscVec, void*) except PETSC_ERR_PY… 65 …ctypedef PetscErrorCode PetscTaoConstraints(PetscTAO, PetscVec, PetscVec, void*) except PETSC_ERR_… 66 …ctypedef PetscErrorCode PetscTaoEqualityConstraints(PetscTAO, PetscVec, PetscVec, void*) except PE… [all …]
|
| H A D | petscdmshell.pxi | 4 PetscVec) except PETSC_ERR_PYTHON 7 PetscVec*) except PETSC_ERR_PYTHON 9 PetscMat*) except PETSC_ERR_PYTHON 12 PetscDM*) except PETSC_ERR_PYTHON 16 … PetscVec*) except PETSC_ERR_PYTHON 19 … PetscMat*) except PETSC_ERR_PYTHON 22 … PetscMat*) except PETSC_ERR_PYTHON 27 … PetscDM**) except PETSC_ERR_PYTHON 33 … PetscDM**) except PETSC_ERR_PYTHON 39 … PetscScatter**) except PETSC_ERR_PYTHON [all …]
|
| H A D | petscdevice.pxi | 70 cdef inline PetscDeviceType asDeviceType(object dtype) except <PetscDeviceType>(-1): 75 except AttributeError: 82 except KeyError: 85 cdef inline PetscStreamType asStreamType(object stype) except <PetscStreamType>(-1): 90 except AttributeError: 97 except KeyError: 100 cdef inline PetscDeviceContextJoinMode asJoinMode(object jmode) except <PetscDeviceContextJoinMode>… 105 except AttributeError: 112 except KeyError:
|
| H A D | petscts.pxi | 71 void*) except PETSC_ERR_PYTHON 78 void*) except PETSC_ERR_PYTHON 85 void*) except PETSC_ERR_PYTHON 93 void*) except PETSC_ERR_PYTHON 101 void*) except PETSC_ERR_PYTHON 109 void*) except PETSC_ERR_PYTHON 119 void*) except PETSC_ERR_PYTHON 125 void*) except PETSC_ERR_PYTHON 127 ctypedef PetscErrorCode (*PetscTSPreStepFunction) (PetscTS) except PETSC_ERR_PYTHON 128 ctypedef PetscErrorCode (*PetscTSPostStepFunction) (PetscTS) except PETSC_ERR_PYTHON [all …]
|
| H A D | petscmpi.pxi | 37 void *Cython_ImportFunction(object, char[], char[]) except? NULL 39 ctypedef MPI_Comm* PyMPICommGet(object) except NULL 41 ctypedef MPI_Datatype* PyMPIDatatypeGet(object) except NULL 42 ctypedef MPI_Op* PyMPIOpGet(object) except NULL 46 ) except? MPI_COMM_NULL: 64 ) except? MPI_DATATYPE_NULL: 75 ) except? MPI_OP_NULL: 97 ) except? MPI_COMM_NULL: 116 cdef inline int comm_size(MPI_Comm comm) except ? -1: 122 cdef inline int comm_rank(MPI_Comm comm) except ? -1:
|
| H A D | petscksp.pxi | 106 void*) except PETSC_ERR_PYTHON 111 void*) except PETSC_ERR_PYTHON 115 void*) except PETSC_ERR_PYTHON 120 void*) except PETSC_ERR_PYTHON 125 void*) except PETSC_ERR_PYTHON 130 void*) except PETSC_ERR_PYTHON 158 …rgedDefault(PetscKSP, PetscInt, PetscReal, PetscKSPConvergedReason*, void*) except PETSC_ERR_PYTHON 159 …rgedDefault(PetscKSP, PetscInt, PetscReal, PetscKSPConvergedReason*, void*) except PETSC_ERR_PYTHON 160 …nvergedSkip(PetscKSP, PetscInt, PetscReal, PetscKSPConvergedReason*, void*) except PETSC_ERR_PYTHON 257 ) except PETSC_ERR_PYTHON with gil: [all …]
|
| H A D | petscsnes.pxi | 61 void*) except PETSC_ERR_PYTHON 65 void*) except PETSC_ERR_PYTHON 68 PetscInt) except PETSC_ERR_PYTHON 74 void*) except PETSC_ERR_PYTHON 79 void*) except PETSC_ERR_PYTHON 87 void*) except PETSC_ERR_PYTHON 92 void*) except PETSC_ERR_PYTHON 156 void*) except PETSC_ERR_PYTHON 172 PetscSNESConvergedReason*, void*) except PETSC_ERR_PYTHON 174 PetscSNESConvergedReason*, void*) except PETSC_ERR_PYTHON [all …]
|
| H A D | PETSc.pyx | 89 cdef inline PetscErrorCode CHKERR(PetscErrorCode ierr) except PETSC_ERR_PYTHON nogil: 117 cdef inline PetscErrorCode CHKERRMPI(int ierr) except PETSC_ERR_PYTHON nogil: 140 PetscScalar PyPetscScalar_AsPetscScalar(object) except? <PetscScalar>-1.0 143 int PyPetscBuffer_FillInfo(Py_buffer*, void*, PetscInt, char, int, int) except -1 148 cdef inline PetscBool asBool(object value) except? <PetscBool>0: 153 cdef inline PetscInt asInt(object value) except? -1: 158 cdef inline PetscReal asReal(object value) except? -1: 163 cdef inline PetscScalar asScalar(object value) except? <PetscScalar>-1.0: 280 int PyList_Insert(object, Py_ssize_t, object) except -1 281 int PyList_Append(object, object) except -1 [all …]
|
| H A D | petscvwr.pxi | 132 PetscViewer PETSC_VIEWER_STDOUT_(MPI_Comm) except? NULL 136 PetscViewer PETSC_VIEWER_STDERR_(MPI_Comm) except? NULL 140 PetscViewer PETSC_VIEWER_BINARY_(MPI_Comm) except? NULL 144 PetscViewer PETSC_VIEWER_DRAW_(MPI_Comm) except? NULL 150 cdef inline PetscFileMode filemode(object mode) except <PetscFileMode>(-1):
|
| H A D | petscpc.pxi | 298 void*) except PETSC_ERR_PYTHON 307 void*) except PETSC_ERR_PYTHON 312 void*) except PETSC_ERR_PYTHON 329 void*) except PETSC_ERR_PYTHON 382 void *ctx) except PETSC_ERR_PYTHON with gil: 410 void *ctx) except PETSC_ERR_PYTHON with gil: 433 void *ctx) except PETSC_ERR_PYTHON with gil: 461 void *ctx) except PETSC_ERR_PYTHON with gil: 480 void *ctx) except PETSC_ERR_PYTHON with gil:
|
| H A D | petscobj.pxi | 49 void*) except PETSC_ERR_PYTHON 101 PyObject* PyDict_New() except NULL 102 PyObject* PyDict_GetItem(PyObject*, PyObject*) except * 103 int PyDict_SetItem(PyObject*, PyObject*, PyObject*) except -1 104 int PyDict_DelItem(PyObject*, PyObject*) except -1 205 ) except PETSC_ERR_PYTHON with gil:
|
| H A D | petscmat.pxi | 551 void*) except PETSC_ERR_PYTHON 571 ) except PETSC_ERR_PYTHON with gil: 706 except <PetscMatStructure>(-1): 713 except <PetscMatDuplicateOption>(-1): 720 except <PetscMatAssemblyType>(-1): 727 except <PetscMatInfoType>(-1): 738 ) except PETSC_ERR_PYTHON: 743 except (TypeError, ValueError): 749 except (TypeError, ValueError): 762 ) except PETSC_ERR_PYTHON: [all …]
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/ |
| H A D | queue_main.py | 41 except Exception as send_e: 46 except Exception as send_e2: 54 except ValueError: 83 except Exception as exc: 183 except Exception as base_e: 187 except: 191 except: 195 except:
|
| H A D | pkg_consistency_checks.py | 59 except (ModuleNotFoundError, ImportError): 62 except (ModuleNotFoundError, ImportError): 65 except (ModuleNotFoundError, ImportError) as mnfe: 101 except Exception as exc:
|
| /petsc/lib/petsc/bin/ |
| H A D | petscnagupgrade.py | 10 except ImportError: 13 except ImportError: 36 except: 41 except ImportError: 48 except: 59 except:
|
| H A D | PetscBinaryIO.py | 45 except NameError: 87 except KeyError: 94 except KeyError: 101 except KeyError: 242 except MemoryError: 255 except MemoryError: 296 except (AssertionError, MemoryError, IndexError): 336 except (AssertionError, MemoryError, IndexError): 389 except (MemoryError,IndexError): 407 except (MemoryError, IndexError): [all …]
|
| H A D | PetscBinaryIO_tests.py | 10 except OSError: 14 except OSError: 103 except OSError: 107 except OSError:
|
| /petsc/src/binding/petsc4py/test/ |
| H A D | runtests.py | 120 except ImportError: 124 except ImportError: 129 except Exception: 136 except Exception: 167 except ImportError: 192 except ImportError: 200 except Exception: 205 except Exception: 273 except AttributeError:
|
| /petsc/config/BuildSystem/ |
| H A D | RDict.py | 60 except ImportError: 159 except KeyError: 188 except AttributeError as e: 214 except TypeError: 364 except Exception as e: 395 except: 440 except socket.error as e: 448 except KeyboardInterrupt: 456 except Exception as e: 511 except IOError as e: [all …]
|
| /petsc/config/BuildSystem/config/packages/ |
| H A D | Python.py | 42 except: 48 except: 54 except: 64 except:
|
| /petsc/lib/petsc/bin/maint/ |
| H A D | runjobs.py | 34 except Exception: 45 except Exception: 62 except Exception: commit = '' 124 except Exception: 129 except Exception: commit = ''
|
| H A D | generateetags.py | 18 except ImportError: 77 except subprocess.CalledProcessError as e: 81 except e: 173 except: pass 177 except: pass 192 except: pass
|
| /petsc/src/binding/petsc4py/conf/ |
| H A D | epydocify.py | 13 except ImportError: 25 except AttributeError: 33 except ImportError: 51 except AttributeError:
|