Home
last modified time | relevance | path

Searched refs:fun (Results 1 – 19 of 19) sorted by relevance

/petsc/src/sys/error/ftn-custom/
H A Dzerrf.c30 static PetscErrorCode ourerrorhandler(MPI_Comm comm, int line, const char *fun, const char *file, P… in ourerrorhandler() argument
35 ierr = PetscStrlen(fun, &len1); in ourerrorhandler()
40 …(*f2)(&comm, &line, fun, file, &n, &p, mess, ctx, &ierr, (PETSC_FORTRAN_CHARLEN_T)len1, (PETSC_FOR… in ourerrorhandler()
48 PETSC_EXTERN void petsctracebackerrorhandler_(MPI_Comm *comm, int *line, const char *fun, const cha… in petsctracebackerrorhandler_() argument
50 *ierr = PetscTraceBackErrorHandler(*comm, *line, fun, file, *n, *p, mess, ctx); in petsctracebackerrorhandler_()
53 PETSC_EXTERN void petscaborterrorhandler_(MPI_Comm *comm, int *line, const char *fun, const char *f… in petscaborterrorhandler_() argument
55 *ierr = PetscAbortErrorHandler(*comm, *line, fun, file, *n, *p, mess, ctx); in petscaborterrorhandler_()
58 PETSC_EXTERN void petscattachdebuggererrorhandler_(MPI_Comm *comm, int *line, const char *fun, cons… in petscattachdebuggererrorhandler_() argument
60 *ierr = PetscAttachDebuggerErrorHandler(*comm, *line, fun, file, *n, *p, mess, ctx); in petscattachdebuggererrorhandler_()
63 PETSC_EXTERN void petscemacsclienterrorhandler_(MPI_Comm *comm, int *line, const char *fun, const c… in petscemacsclienterrorhandler_() argument
[all …]
/petsc/lib/petsc/bin/
H A Dgeneratefortranbindings.py45 …nerateFortranInterface(pkgname, petscarch, classes, enums, structs, senums, funname, mpi_f08, fun): argument
49 if fun.opaque:
51 if fun.name.find('_') > -1: return
52 for k in fun.arguments:
55 fun.opaque = True
58 fun.opaque = True
62 fun.opaque = True
67 mansec = fun.mansec
68 if not mansec: mansec = fun.submansec
69 file = fun.includefile + '90'
[all …]
H A DgetAPI.py554 fun = Function(name)
555 fun.opaque = opaque
556 fun.opaquestub = opaquestub
557 fun.penss = penss
558 fun.file = os.path.basename(filename)
559 fun.mansec = mansec
560 fun.dir = os.path.dirname(filename)
569 fun.includefile = functiontoinclude[name]
574 fun.opaque = True
579 if i.find('**') > -1 and not i.strip().startswith('void'): fun.opaque = True
[all …]
/petsc/src/sys/error/
H A Derrtrace.c37 PetscErrorCode PetscIgnoreErrorHandler(MPI_Comm comm, int line, const char *fun, const char *file, … in PetscIgnoreErrorHandler() argument
41 (void)fun; in PetscIgnoreErrorHandler()
177 PetscErrorCode PetscTraceBackErrorHandler(MPI_Comm comm, int line, const char *fun, const char *fil… in PetscTraceBackErrorHandler() argument
242 …if (fun) (void)(*PetscErrorPrintf)("#%d %s() at %s:%d\n", cnt++, fun, PetscCIFilename(file), Petsc… in PetscTraceBackErrorHandler()
244 if (fun) { in PetscTraceBackErrorHandler()
247 (void)PetscStrncmp(fun, "main", 4, &ismain); in PetscTraceBackErrorHandler()
259 if (fun) { in PetscTraceBackErrorHandler()
262 (void)PetscStrncmp(fun, "main", 4, &ismain); in PetscTraceBackErrorHandler()
H A Derrstop.c31 PetscErrorCode PetscMPIAbortErrorHandler(MPI_Comm comm, int line, const char *fun, const char *file… in PetscMPIAbortErrorHandler() argument
38 (void)(*PetscErrorPrintf)("%s() at %s:%d\n", fun, file, line); in PetscMPIAbortErrorHandler()
41 …} else if (n == PETSC_ERR_SIG) (void)(*PetscErrorPrintf)("%s() at %s:%d %s\n", fun, file, line, me… in PetscMPIAbortErrorHandler()
42 else (void)(*PetscErrorPrintf)("%s() at %s:%d\n %s\n", fun, file, line, mess); in PetscMPIAbortErrorHandler()
H A Derrabort.c42 PetscErrorCode PetscAbortErrorHandler(MPI_Comm comm, int line, const char *fun, const char *file, P… in PetscAbortErrorHandler() argument
51 (void)PetscStrlen(fun, &len); in PetscAbortErrorHandler()
53 …ent termination, change the error handler using PetscPushErrorHandler()\n", fun, file, line, mess); in PetscAbortErrorHandler()
H A Derr.c56 PetscErrorCode PetscEmacsClientErrorHandler(MPI_Comm comm, int line, const char *fun, const char *f… in PetscEmacsClientErrorHandler() argument
78 ierr = PetscTraceBackErrorHandler(comm, line, fun, file, n, p, mess, NULL); in PetscEmacsClientErrorHandler()
81 ierr = (*eh->handler)(comm, line, fun, file, n, p, mess, eh->ctx); in PetscEmacsClientErrorHandler()
123 …rrorHandler(PetscErrorCode (*handler)(MPI_Comm comm, int line, const char *fun, const char *file, … in PetscPushErrorHandler() argument
187 PetscErrorCode PetscReturnErrorHandler(MPI_Comm comm, int line, const char *fun, const char *file, … in PetscReturnErrorHandler() argument
191 (void)fun; in PetscReturnErrorHandler()
H A Dadebug.c511 PetscErrorCode PetscAttachDebuggerErrorHandler(MPI_Comm comm, int line, const char *fun, const char… in PetscAttachDebuggerErrorHandler() argument
519 if (fun) (void)(*PetscErrorPrintf)("%s() at %s:%d %s\n", fun, file, line, mess); in PetscAttachDebuggerErrorHandler()
/petsc/share/petsc/suppressions/
H A Dvalgrind5 fun:flexiblas_init
13 fun:XInitThreads
21 fun:mkl_*
/petsc/src/binding/petsc4py/test/
H A Dtest_nsp.py71 fun, a, kw = dct['__function__']
72 self.assertTrue(fun is rem)
74 fun = dct.get('__function__')
75 self.assertTrue(fun is None)
H A Dtest_snes.py365 fun = Function()
367 self.snes.setFunction(fun, r)
390 fun = Function()
392 self.snes.setFunction(fun, r)
/petsc/src/sys/tests/
H A Dex1f.F9016 subroutine MyErrHandler(comm, line, fun, file, n, p, mess, ctx, ierr) argument
21 character*(*) fun, file, mess
/petsc/src/ts/utils/
H A Ddmts.c481 PetscErrorCode DMTSSetI2Function(DM dm, TSI2FunctionFn *fun, PetscCtx ctx) in DMTSSetI2Function() argument
488 if (fun) tsdm->ops->i2function = fun; in DMTSSetI2Function()
559 PetscErrorCode DMTSGetI2Function(DM dm, TSI2FunctionFn **fun, PetscCtxRt ctx) in DMTSGetI2Function() argument
566 if (fun) *fun = tsdm->ops->i2function; in DMTSGetI2Function()
/petsc/src/mat/impls/mffd/
H A Dmffd.c454 static PetscErrorCode MatMFFDSetCheckh_MFFD(Mat J, FCN3 fun, void *ectx) in MatMFFDSetCheckh_MFFD() argument
460 ctx->checkh = fun; in MatMFFDSetCheckh_MFFD()
999 PetscErrorCode MatMFFDSetCheckh(Mat J, MatMFFDCheckhFn *fun, PetscCtx ctx) in MatMFFDSetCheckh() argument
1003 PetscTryMethod(J, "MatMFFDSetCheckh_C", (Mat, MatMFFDCheckhFn *, void *), (J, fun, ctx)); in MatMFFDSetCheckh()
/petsc/include/
H A Dpetscksp.h396 static inline PetscErrorCode KSPPIPEGCRSetModifyPC(KSP ksp, KSPFlexibleModifyPCFn *fun, PetscCtx ct… in KSPPIPEGCRSetModifyPC() argument
398 return KSPFlexibleSetModifyPC(ksp, fun, ctx, dfun); in KSPPIPEGCRSetModifyPC()
421 static inline PetscErrorCode KSPGCRSetModifyPC(KSP ksp, KSPFlexibleModifyPCFn *fun, PetscCtx ctx, P… in KSPGCRSetModifyPC() argument
423 return KSPFlexibleSetModifyPC(ksp, fun, ctx, dfun); in KSPGCRSetModifyPC()
/petsc/src/binding/petsc4py/src/lib-petsc/
H A Dcustom.h513 PetscErrorCode (*fun)(SNES,Vec,Vec,void*) = NULL; in SNESSetUseFDColoring() local
531 PetscCall(SNESGetFunction(snes,NULL,&fun,&funP)); in SNESSetUseFDColoring()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DPETSc.pyx303 cdef object fun = bytes2str(cfunc)
305 cdef object m = "%s() at %s:%d" % (fun, fnm, line)
H A DSNES.pyx869 … cdef PetscErrorCode(*fun)(PetscSNES, PetscVec, PetscVec, void*) except PETSC_ERR_PYTHON nogil argument
872 fun = SNES_Function
873 CHKERR(SNESGetFunction(self.snes, &f.vec, &fun, &ctx))
881 if ctx != NULL and <void*>SNES_Function == <void*>fun:
/petsc/src/ts/interface/
H A Dts.c1379 PetscErrorCode TSSetI2Function(TS ts, Vec F, TSI2FunctionFn *fun, PetscCtx ctx) in TSSetI2Function() argument
1388 PetscCall(DMTSSetI2Function(dm, fun, ctx)); in TSSetI2Function()
1409 PetscErrorCode TSGetI2Function(TS ts, Vec *r, TSI2FunctionFn **fun, PetscCtxRt ctx) in TSGetI2Function() argument
1419 PetscCall(DMTSGetI2Function(dm, fun, ctx)); in TSGetI2Function()