| /petsc/src/ts/tutorials/power_grid/stability_9bus/ |
| H A D | ex9busdmnetwork.c | 115 Exc *exc; in read_data() local 184 … nc, &bus, NGEN * nc, &gen, NLOAD * nc, &load, NBRANCH * nc + (nc - 1), &branch, NGEN * nc, &exc)); in read_data() 226 exc[i * 3 + j].KA = KA[j]; in read_data() 227 exc[i * 3 + j].TA = TA[j]; in read_data() 228 exc[i * 3 + j].KE = KE[j]; in read_data() 229 exc[i * 3 + j].TE = TE[j]; in read_data() 230 exc[i * 3 + j].KF = KF[j]; in read_data() 231 exc[i * 3 + j].TF = TF[j]; in read_data() 232 exc[i * 3 + j].k1 = k1[j]; in read_data() 233 exc[i * 3 + j].k2 = k2[j]; in read_data() [all …]
|
| /petsc/src/sys/python/ |
| H A D | pythonsys.c | 269 PyObject *exc = NULL, *val = NULL, *tb = NULL; in PetscPythonPrintError() local 274 PyErr_Fetch(&exc, &val, &tb); in PetscPythonPrintError() 275 PyErr_NormalizeException(&exc, &val, &tb); in PetscPythonPrintError() 276 PyErr_Display(exc ? exc : Py_None, val ? val : Py_None, tb ? tb : Py_None); in PetscPythonPrintError() 277 PyErr_Restore(exc, val, tb); in PetscPythonPrintError()
|
| /petsc/src/binding/petsc4py/conf/ |
| H A D | cythonize.py | 32 except SystemExit as exc: 33 return exc.code
|
| H A D | cyautodoc.py | 301 except Exception as exc: 304 logging.Logger(__name__).exception(exc) 320 except Exception as exc: 323 logging.Logger(__name__).exception(exc)
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/ |
| H A D | pkg_consistency_checks.py | 101 except Exception as exc: 105 print('ERROR:', str(exc))
|
| H A D | queue_main.py | 83 except Exception as exc: 84 raise MainLoopError(str(filename)) from exc
|
| H A D | test_main.py | 165 except Exception as exc: 166 exception = ''.join(traceback_format_exception(exc))
|
| /petsc/config/ |
| H A D | configure.py | 33 …for exc in ['mkl_sparse', 'mkl_sparse_optimize', 'mkl_cpardiso', 'mkl_pardiso', 'superlu_dist', 'P… 34 if name.find(exc) >= 0: 42 for exc in ['mkl_sparse', 'mkl_sparse_optimize', 'mkl_cpardiso', 'mkl_pardiso', 'superlu_dist']: 43 if name.find(exc.replace('_','-')) > -1: 44 raise ValueError('The option '+opt+' should be '+opt.replace(exc.replace('_','-'),exc));
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/util/ |
| H A D | _utility.py | 22 def traceback_format_exception(exc: ExceptionKind) -> list[str]: 40 ret = traceback.format_exception(exc, chain=True) # type: ignore [call-arg, arg-type]
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | petscdmcomposite.pxi | 49 def __exit__(self, *exc): argument
|
| H A D | petscis.pxi | 184 def __exit__(self, *exc): argument
|
| H A D | Log.pyx | 292 def __exit__(self, *exc): argument 555 def __exit__(self, *exc): argument
|
| H A D | PETSc.pyx | 69 cdef inline void PetscTracebackAdd(object exc) noexcept: argument 72 exc._traceback[:] = tracebacklist[:]
|
| H A D | petscvec.pxi | 574 def __exit__(self, *exc): argument 608 def __exit__(self, *exc): argument
|
| H A D | petscdmda.pxi | 284 def __exit__(self, *exc): argument
|
| H A D | IS.pyx | 50 def __exit__(self, *exc): argument
|
| H A D | Vec.pyx | 137 def __exit__(self, *exc): argument
|
| /petsc/lib/petsc/bin/maint/ |
| H A D | gcov.py | 692 exc = make_error_exc() 694 exc = mem 695 raise exc from e
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/ |
| H A D | _cursor.py | 86 parsing_error_handler = lambda exc: None argument 225 except Exception as exc:
|
| /petsc/src/binding/petsc4py/test/ |
| H A D | test_dmplex.py | 253 except PETSc.Error as exc: 255 if exc.ierr != ERR_ARG_OUTOFRANGE:
|