Home
last modified time | relevance | path

Searched refs:cfunc (Results 1 – 6 of 6) sorted by relevance

/petsc/src/ksp/ksp/interface/
H A Ditcl.c246 PetscErrorCode (*cfunc)(PetscViewer, PetscViewerFormat, void *, PetscViewerAndFormat **); in KSPMonitorSetFromOptions() local
265 PetscCall(PetscFunctionListFind(KSPMonitorCreateList, key, &cfunc)); in KSPMonitorSetFromOptions()
267 if (!cfunc) cfunc = PetscViewerAndFormatCreate_Internal; in KSPMonitorSetFromOptions()
270 PetscCall((*cfunc)(viewer, format, ctx, &vf)); in KSPMonitorSetFromOptions()
/petsc/config/BuildSystem/config/
H A Dcompilers.py753 def testMangling(self, cfunc, ffunc, clanguage = 'C', extraObjs = []): argument
759 if not self.checkCompile(cfunc, None, cleanup = 0):
760 self.logPrint('Cannot compile C function: '+cfunc, 3, 'compilers')
793 cfunc = self.manglerFuncs[mangler][1]
795 self.logWrite('Testing Fortran mangling type '+mangler+' with code '+cfunc)
796 if self.testMangling(cfunc, ffunc):
1318 cinc, cfunc, ffunc = self.manglerFuncs[self.fortranMangling]
1325 self.logPrint('Cannot compile Cxx function: '+cfunc, 3, 'compilers')
1333 if self.testMangling(cinc+cfunc, ffunc, 'Cxx', extraObjs = [cxxobj]):
1339 if self.testMangling(cinc+cfunc, ffunc, 'Cxx', extraObjs = [cxxobj]):
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DPETSc.pyx291 const char *cfunc,
303 cdef object fun = bytes2str(cfunc)
331 const char *cfunc,
340 return traceback(comm, line, cfunc, cfile, n, p, mess, ctx)
342 return PetscTBEH(comm, line, cfunc, cfile, n, p, mess, ctx)
H A DSpace.pyx997 cdef PetscInt cfunc = asInt(func)
998 CHKERR(PetscDualSpaceSimpleSetFunctional(self.dualspace, cfunc, functional.quad))
/petsc/src/snes/utils/dm/
H A Ddmadapt.c412 PetscErrorCode (*cfunc)(PetscViewer, PetscViewerFormat, void *, PetscViewerAndFormat **); in DMAdaptorMonitorSetFromOptions() local
430 PetscCall(PetscFunctionListFind(DMAdaptorMonitorCreateList, key, &cfunc)); in DMAdaptorMonitorSetFromOptions()
432 if (!cfunc) cfunc = PetscViewerAndFormatCreate_Internal; in DMAdaptorMonitorSetFromOptions()
435 PetscCall((*cfunc)(viewer, format, ctx, &vf)); in DMAdaptorMonitorSetFromOptions()
/petsc/src/dm/impls/plex/
H A Dplexfem.c3659 PetscQuadrature cfunc; in DMPlexComputeInjectorFEM() local
3664 PetscCall(PetscDualSpaceGetFunctional(QC, c, &cfunc)); in DMPlexComputeInjectorFEM()
3665 PetscCall(PetscQuadratureGetData(cfunc, NULL, &NqcC, &NpC, &cqpoints, &cqweights)); in DMPlexComputeInjectorFEM()