Home
last modified time | relevance | path

Searched refs:PetscVoidFunction (Results 1 – 25 of 29) sorted by relevance

12

/dports/science/PETSc/petsc-3.14.1/src/mat/impls/shell/ftn-custom/
H A Dzshellf.c229 *ierr = MatShellSetOperation(*mat,*op,(PetscVoidFunction) ourmult); in matshellsetoperation_()
233 *ierr = MatShellSetOperation(*mat,*op,(PetscVoidFunction) ourmultadd); in matshellsetoperation_()
245 *ierr = MatShellSetOperation(*mat,*op,(PetscVoidFunction) oursor); in matshellsetoperation_()
249 *ierr = MatShellSetOperation(*mat,*op,(PetscVoidFunction) ourtranspose); in matshellsetoperation_()
265 *ierr = MatShellSetOperation(*mat,*op,(PetscVoidFunction) ouraxpy); in matshellsetoperation_()
269 *ierr = MatShellSetOperation(*mat,*op,(PetscVoidFunction) ourshift); in matshellsetoperation_()
277 *ierr = MatShellSetOperation(*mat,*op,(PetscVoidFunction) ourdestroy); in matshellsetoperation_()
281 *ierr = MatShellSetOperation(*mat,*op,(PetscVoidFunction) ourview); in matshellsetoperation_()
285 *ierr = MatShellSetOperation(*mat,*op,(PetscVoidFunction) ourgetvecs); in matshellsetoperation_()
293 *ierr = MatShellSetOperation(*mat,*op,(PetscVoidFunction) ourcopy); in matshellsetoperation_()
[all …]
/dports/science/PETSc/petsc-3.14.1/src/ksp/ksp/interface/ftn-custom/
H A Dzitfuncf.c142 if ((PetscVoidFunction)monitor == (PetscVoidFunction)kspmonitordefault_) { in kspmonitorset_()
144 } else if ((PetscVoidFunction)monitor == (PetscVoidFunction)kspmonitorlgresidualnorm_) { in kspmonitorset_()
146 } else if ((PetscVoidFunction)monitor == (PetscVoidFunction)kspmonitorlgtrueresidualnorm_) { in kspmonitorset_()
148 } else if ((PetscVoidFunction)monitor == (PetscVoidFunction)kspmonitorsolution_) { in kspmonitorset_()
150 } else if ((PetscVoidFunction)monitor == (PetscVoidFunction)kspmonitortrueresidualnorm_) { in kspmonitorset_()
152 } else if ((PetscVoidFunction)monitor == (PetscVoidFunction)kspmonitorsingularvalue_) { in kspmonitorset_()
154 } else if ((PetscVoidFunction)monitor == (PetscVoidFunction)kspgmresmonitorkrylov_) { in kspmonitorset_()
157 …llback((PetscObject)*ksp,PETSC_FORTRAN_CALLBACK_CLASS,&_cb.monitor,(PetscVoidFunction)monitor,mctx… in kspmonitorset_()
169 if ((PetscVoidFunction)converge == (PetscVoidFunction)kspconvergeddefault_) { in kspsetconvergencetest_()
171 } else if ((PetscVoidFunction)converge == (PetscVoidFunction)kspconvergedskip_) { in kspsetconvergencetest_()
[all …]
H A Dzdmkspf.c57 kdm->fortran_func_pointers[0] = (PetscVoidFunction)func; in dmkspsetcomputerhs_()
67 kdm->fortran_func_pointers[2] = (PetscVoidFunction)func; in dmkspsetcomputeinitialguess_()
78 kdm->fortran_func_pointers[1] = (PetscVoidFunction)func; in dmkspsetcomputeoperators_()
/dports/science/PETSc/petsc-3.14.1/src/snes/interface/ftn-custom/
H A Dzsnesf.c197 if ((PetscVoidFunction)func == (PetscVoidFunction)snescomputejacobiandefault_) { in snessetjacobian_()
199 } else if ((PetscVoidFunction)func == (PetscVoidFunction)snescomputejacobiandefaultcolor_) { in snessetjacobian_()
205 } else if ((PetscVoidFunction)func == (PetscVoidFunction)matmffdcomputejacobian_) { in snessetjacobian_()
246 …anCallback((PetscObject)*snes,PETSC_FORTRAN_CALLBACK_CLASS,&_cb.jacobian,(PetscVoidFunction)J,ctx); in snessetpicard_()
303 if ((PetscVoidFunction)func == (PetscVoidFunction)PETSC_NULL_FUNCTION_Fortran) return; in snesgetfunction_()
328 if ((PetscVoidFunction)func == (PetscVoidFunction)snesconvergeddefault_) { in snessetconvergencetest_()
330 } else if ((PetscVoidFunction)func == (PetscVoidFunction)snesconvergedskip_) { in snessetconvergencetest_()
416 if ((PetscVoidFunction)func == (PetscVoidFunction)snesmonitordefault_) { in snesmonitorset_()
418 } else if ((PetscVoidFunction)func == (PetscVoidFunction)snesmonitorsolution_) { in snesmonitorset_()
420 } else if ((PetscVoidFunction)func == (PetscVoidFunction)snesmonitorsolutionupdate_) { in snesmonitorset_()
[all …]
/dports/science/PETSc/petsc-3.14.1/src/ksp/ksp/impls/gmres/fgmres/ftn-custom/
H A Dzmodpcff.c36 if ((PetscVoidFunction)fcn == (PetscVoidFunction)kspfgmresmodifypcksp_) { in kspfgmressetmodifypc_()
38 } else if ((PetscVoidFunction)fcn == (PetscVoidFunction)kspfgmresmodifypcnochange_) { in kspfgmressetmodifypc_()
41 …lback((PetscObject)*ksp,PETSC_FORTRAN_CALLBACK_SUBTYPE,&_cb.modify,(PetscVoidFunction)fcn,ctx); if… in kspfgmressetmodifypc_()
42 …back((PetscObject)*ksp,PETSC_FORTRAN_CALLBACK_SUBTYPE,&_cb.destroy,(PetscVoidFunction)d,ctx); if (… in kspfgmressetmodifypc_()
/dports/science/PETSc/petsc-3.14.1/src/ts/interface/ftn-custom/
H A Dztsf.c150 …ranCallback((PetscObject)*ts,PETSC_FORTRAN_CALLBACK_CLASS,&_cb.transform,(PetscVoidFunction)f,ctx); in tsmonitorlgsettransform_()
156 …tranCallback((PetscObject)*ts,PETSC_FORTRAN_CALLBACK_CLASS,&_cb.prestep,(PetscVoidFunction)f,NULL); in tssetprestep_()
162 …ranCallback((PetscObject)*ts,PETSC_FORTRAN_CALLBACK_CLASS,&_cb.poststep,(PetscVoidFunction)f,NULL); in tssetpoststep_()
175 if ((PetscVoidFunction)f == (PetscVoidFunction)tscomputerhsfunctionlinear_) { in tssetrhsfunction_()
178 …anCallback((PetscObject)*ts,PETSC_FORTRAN_CALLBACK_CLASS,&_cb.rhsfunction,(PetscVoidFunction)f,fP); in tssetrhsfunction_()
199 if ((PetscVoidFunction)f == (PetscVoidFunction)tscomputeifunctionlinear_) { in tssetifunction_()
202 …tranCallback((PetscObject)*ts,PETSC_FORTRAN_CALLBACK_CLASS,&_cb.ifunction,(PetscVoidFunction)f,fP); in tssetifunction_()
221 if ((PetscVoidFunction)f == (PetscVoidFunction)tscomputerhsjacobianconstant_) { in tssetrhsjacobian_()
236 if ((PetscVoidFunction)f == (PetscVoidFunction)tscomputeijacobianconstant_) { in tssetijacobian_()
239 …tranCallback((PetscObject)*ts,PETSC_FORTRAN_CALLBACK_CLASS,&_cb.ijacobian,(PetscVoidFunction)f,fP); in tssetijacobian_()
[all …]
/dports/science/PETSc/petsc-3.14.1/src/snes/utils/ftn-custom/
H A Dzdmdasnesf.c30 …nCallback((PetscObject)sdm,PETSC_FORTRAN_CALLBACK_SUBTYPE,_cb.lj1d,(PetscVoidFunction*)&func,&ctx)… in sourlj1d()
43 …nCallback((PetscObject)sdm,PETSC_FORTRAN_CALLBACK_SUBTYPE,_cb.lj2d,(PetscVoidFunction*)&func,&ctx)… in sourlj2d()
56 …nCallback((PetscObject)sdm,PETSC_FORTRAN_CALLBACK_SUBTYPE,_cb.lj2d,(PetscVoidFunction*)&func,&ctx)… in sourlj3d()
69 …Callback((PetscObject)sdm,PETSC_FORTRAN_CALLBACK_SUBTYPE,&_cb.lj2d,(PetscVoidFunction)jac,ctx); if… in dmdasnessetjacobianlocal_()
72 …Callback((PetscObject)sdm,PETSC_FORTRAN_CALLBACK_SUBTYPE,&_cb.lj3d,(PetscVoidFunction)jac,ctx); if… in dmdasnessetjacobianlocal_()
75 …Callback((PetscObject)sdm,PETSC_FORTRAN_CALLBACK_SUBTYPE,&_cb.lj1d,(PetscVoidFunction)jac,ctx); if… in dmdasnessetjacobianlocal_()
90 …nCallback((PetscObject)sdm,PETSC_FORTRAN_CALLBACK_SUBTYPE,_cb.lf1d,(PetscVoidFunction*)&func,&ctx)… in sourlf1d()
103 …nCallback((PetscObject)sdm,PETSC_FORTRAN_CALLBACK_SUBTYPE,_cb.lf2d,(PetscVoidFunction*)&func,&ctx)… in sourlf2d()
116 …nCallback((PetscObject)sdm,PETSC_FORTRAN_CALLBACK_SUBTYPE,_cb.lf3d,(PetscVoidFunction*)&func,&ctx)… in sourlf3d()
129 …Callback((PetscObject)sdm,PETSC_FORTRAN_CALLBACK_SUBTYPE,&_cb.lf2d,(PetscVoidFunction)func,ctx); i… in dmdasnessetfunctionlocal_()
[all …]
H A Dzdmlocalsnesf.c24 …allback((PetscObject) sdm, PETSC_FORTRAN_CALLBACK_SUBTYPE, _cb.lj, (PetscVoidFunction *) &func, &c… in sourlj()
34 …llback((PetscObject) sdm, PETSC_FORTRAN_CALLBACK_SUBTYPE, &_cb.lj, (PetscVoidFunction) jac, ctx); … in dmsnessetjacobianlocal_()
46 …allback((PetscObject) sdm, PETSC_FORTRAN_CALLBACK_SUBTYPE, _cb.lf, (PetscVoidFunction *) &func, &c… in sourlf()
56 …llback((PetscObject) sdm, PETSC_FORTRAN_CALLBACK_SUBTYPE, &_cb.lf, (PetscVoidFunction) func, ctx);… in dmsnessetfunctionlocal_()
H A Dzdmsnesf.c26 …etscObject) sdm, PETSC_FORTRAN_CALLBACK_SUBTYPE, _cb.snesjacobian, (PetscVoidFunction *) &func, &c… in ourj()
36 …tscObject) sdm, PETSC_FORTRAN_CALLBACK_SUBTYPE, &_cb.snesjacobian, (PetscVoidFunction) jac, ctx); … in dmsnessetjacobian_()
50 …etscObject) sdm, PETSC_FORTRAN_CALLBACK_SUBTYPE, _cb.snesfunction, (PetscVoidFunction *) &func, &c… in ourf()
60 …tscObject) sdm, PETSC_FORTRAN_CALLBACK_SUBTYPE, &_cb.snesfunction, (PetscVoidFunction) func, ctx);… in dmsnessetfunction_()
/dports/science/PETSc/petsc-3.14.1/src/ksp/ksp/impls/gmres/ftn-custom/
H A Dzgmres2f.c36 …if ((PetscVoidFunction)orthog == (PetscVoidFunction)kspgmresmodifiedgramschmidtorthogonalization_)… in kspgmressetorthogonalization_()
38 …} else if ((PetscVoidFunction)orthog == (PetscVoidFunction)kspgmresclassicalgramschmidtorthogonali… in kspgmressetorthogonalization_()
41 …allback((PetscObject)*ksp,PETSC_FORTRAN_CALLBACK_CLASS,&_cb.orthog,(PetscVoidFunction)orthog,NULL)… in kspgmressetorthogonalization_()
/dports/science/PETSc/petsc-3.14.1/src/ksp/pc/impls/shell/ftn-custom/
H A Dzshellpcf.c141 ((PetscObject)*pc)->fortran_func_pointers[0] = (PetscVoidFunction)apply; in pcshellsetapply_()
149 ((PetscObject)*pc)->fortran_func_pointers[9] = (PetscVoidFunction)apply; in pcshellsetapplysymmetricleft_()
157 ((PetscObject)*pc)->fortran_func_pointers[10] = (PetscVoidFunction)apply; in pcshellsetapplysymmetricright_()
165 ((PetscObject)*pc)->fortran_func_pointers[0] = (PetscVoidFunction)apply; in pcshellsetapplyctx_()
173 ((PetscObject)*pc)->fortran_func_pointers[1] = (PetscVoidFunction)apply; in pcshellsetapplyba_()
181 ((PetscObject)*pc)->fortran_func_pointers[2] = (PetscVoidFunction)apply; in pcshellsetapplyrichardson_()
196 ((PetscObject)*pc)->fortran_func_pointers[4] = (PetscVoidFunction)setup; in pcshellsetsetupctx_()
204 ((PetscObject)*pc)->fortran_func_pointers[4] = (PetscVoidFunction)setup; in pcshellsetsetup_()
212 ((PetscObject)*pc)->fortran_func_pointers[5] = (PetscVoidFunction)setup; in pcshellsetdestroy_()
220 ((PetscObject)*pc)->fortran_func_pointers[6] = (PetscVoidFunction)presolve; in pcshellsetpresolve_()
[all …]
/dports/science/PETSc/petsc-3.14.1/src/dm/impls/shell/ftn-custom/
H A Dzdmshellf.c85 …((PetscObject)*dm,PETSC_FORTRAN_CALLBACK_SUBTYPE,&_cb.creatematrix,(PetscVoidFunction)func,NULL);i… in dmshellsetcreatematrix_()
91 …cObject)*dm,PETSC_FORTRAN_CALLBACK_SUBTYPE,&_cb.createglobalvector,(PetscVoidFunction)func,NULL);i… in dmshellsetcreateglobalvector_()
97 …scObject)*dm,PETSC_FORTRAN_CALLBACK_SUBTYPE,&_cb.createlocalvector,(PetscVoidFunction)func,NULL);i… in dmshellsetcreatelocalvector_()
103 …cObject)*dm,PETSC_FORTRAN_CALLBACK_SUBTYPE,&_cb.globaltolocalbegin,(PetscVoidFunction)begin,NULL);… in dmshellsetglobaltolocal_()
104 …tscObject)*dm,PETSC_FORTRAN_CALLBACK_SUBTYPE,&_cb.globaltolocalend,(PetscVoidFunction)end,NULL);if… in dmshellsetglobaltolocal_()
110 …cObject)*dm,PETSC_FORTRAN_CALLBACK_SUBTYPE,&_cb.localtoglobalbegin,(PetscVoidFunction)begin,NULL);… in dmshellsetlocaltoglobal_()
111 …tscObject)*dm,PETSC_FORTRAN_CALLBACK_SUBTYPE,&_cb.localtoglobalend,(PetscVoidFunction)end,NULL);if… in dmshellsetlocaltoglobal_()
117 …scObject)*dm,PETSC_FORTRAN_CALLBACK_SUBTYPE,&_cb.localtolocalbegin,(PetscVoidFunction)begin,NULL);… in dmshellsetlocaltolocal_()
118 …etscObject)*dm,PETSC_FORTRAN_CALLBACK_SUBTYPE,&_cb.localtolocalend,(PetscVoidFunction)end,NULL);if… in dmshellsetlocaltolocal_()
/dports/science/PETSc/petsc-3.14.1/src/tao/interface/ftn-custom/
H A Dztaosolverf.c188 …rtranCallback((PetscObject)*tao,PETSC_FORTRAN_CALLBACK_CLASS,&_cb.obj,(PetscVoidFunction)func,ctx); in taosetobjectiveroutine_()
195 …tranCallback((PetscObject)*tao,PETSC_FORTRAN_CALLBACK_CLASS,&_cb.grad,(PetscVoidFunction)func,ctx); in taosetgradientroutine_()
202 …nCallback((PetscObject)*tao,PETSC_FORTRAN_CALLBACK_CLASS,&_cb.objgrad,(PetscVoidFunction)func,ctx); in taosetobjectiveandgradientroutine_()
209 …ranCallback((PetscObject)*tao,PETSC_FORTRAN_CALLBACK_CLASS,&_cb.lsres,(PetscVoidFunction)func,ctx); in taosetresidualroutine_()
216 …ranCallback((PetscObject)*tao,PETSC_FORTRAN_CALLBACK_CLASS,&_cb.lsjac,(PetscVoidFunction)func,ctx); in taosetjacobianresidualroutine_()
223 …rtranCallback((PetscObject)*tao,PETSC_FORTRAN_CALLBACK_CLASS,&_cb.jac,(PetscVoidFunction)func,ctx); in taosetjacobianroutine_()
244 …tranCallback((PetscObject)*tao,PETSC_FORTRAN_CALLBACK_CLASS,&_cb.hess,(PetscVoidFunction)func,ctx); in taosethessianroutine_()
251 …anCallback((PetscObject)*tao,PETSC_FORTRAN_CALLBACK_CLASS,&_cb.bounds,(PetscVoidFunction)func,ctx); in taosetvariableboundsroutine_()
343 …ranCallback((PetscObject)*tao,PETSC_FORTRAN_CALLBACK_CLASS,&_cb.jaceq,(PetscVoidFunction)func,ctx); in taosetjacobianequalityroutine_()
357 …ranCallback((PetscObject)*tao,PETSC_FORTRAN_CALLBACK_CLASS,&_cb.coneq,(PetscVoidFunction)func,ctx); in taosetequalityconstraintsroutine_()
[all …]
/dports/science/PETSc/petsc-3.14.1/src/tao/constrained/impls/admm/ftn-custom/
H A Dzadmmf.c63 …ack((PetscObject)*tao,PETSC_FORTRAN_CALLBACK_CLASS,&_cb.misfitobjgrad,(PetscVoidFunction)func,ctx); in taoadmmsetmisfitobjectiveandgradientroutine_()
70 …llback((PetscObject)*tao,PETSC_FORTRAN_CALLBACK_CLASS,&_cb.misfithess,(PetscVoidFunction)func,ctx); in taoadmmsetmisfithessianroutine_()
77 …ck((PetscObject)*tao,PETSC_FORTRAN_CALLBACK_CLASS,&_cb.misfitjacobian,(PetscVoidFunction)func,ctx); in taoadmmsetmisfitconstraintjacobian_()
84 …llback((PetscObject)*tao,PETSC_FORTRAN_CALLBACK_CLASS,&_cb.regobjgrad,(PetscVoidFunction)func,ctx); in taoadmmsetregularizerobjectiveandgradientroutine_()
91 …nCallback((PetscObject)*tao,PETSC_FORTRAN_CALLBACK_CLASS,&_cb.reghess,(PetscVoidFunction)func,ctx); in taoadmmsetregularizerhessianroutine_()
98 …ck((PetscObject)*tao,PETSC_FORTRAN_CALLBACK_CLASS,&_cb.misfitjacobian,(PetscVoidFunction)func,ctx); in taoadmmsetregularizerconstraintjacobian_()
/dports/science/PETSc/petsc-3.14.1/src/ksp/pc/impls/mg/ftn-custom/
H A Dzmgfuncf.c29 …if ((PetscVoidFunction)residual == (PetscVoidFunction)pcmgresidualdefault_) rr = PCMGResidualDefau… in pcmgsetresidual_()
33 ((PetscObject)*mat)->fortran_func_pointers[0] = (PetscVoidFunction)residual; in pcmgsetresidual_()
/dports/science/PETSc/petsc-3.14.1/src/tao/linesearch/interface/ftn-custom/
H A Dztaolinesearchf.c72 ((PetscObject)*ls)->fortran_func_pointers[OBJ] = (PetscVoidFunction)func; in taolinesearchsetobjectiveroutine_()
83 ((PetscObject)*ls)->fortran_func_pointers[GRAD] = (PetscVoidFunction)func; in taolinesearchsetgradientroutine_()
94 ((PetscObject)*ls)->fortran_func_pointers[OBJGRAD] = (PetscVoidFunction)func; in taolinesearchsetobjectiveandgradientroutine_()
105 ((PetscObject)*ls)->fortran_func_pointers[OBJGTS] = (PetscVoidFunction)func; in taolinesearchsetobjectiveandgtsroutine_()
/dports/science/PETSc/petsc-3.14.1/src/mat/impls/mffd/ftn-custom/
H A Dzmffdf.c27 ((PetscObject)*mat)->fortran_func_pointers[0] = (PetscVoidFunction)func; in matmffdsetfunction_()
28 ((PetscObject)*mat)->fortran_func_pointers[1] = (PetscVoidFunction)(PETSC_UINTPTR_T)ctx; in matmffdsetfunction_()
/dports/science/PETSc/petsc-3.14.1/src/tao/leastsquares/impls/brgn/ftn-custom/
H A Dzbrgnf.c31 …nCallback((PetscObject)*tao,PETSC_FORTRAN_CALLBACK_CLASS,&_cb.objgrad,(PetscVoidFunction)func,ctx); in taobrgnsetregularizerobjectiveandgradientroutine_()
38 …tranCallback((PetscObject)*tao,PETSC_FORTRAN_CALLBACK_CLASS,&_cb.hess,(PetscVoidFunction)func,ctx); in taobrgnsetregularizerhessianroutine_()
/dports/science/PETSc/petsc-3.14.1/src/snes/linesearch/interface/ftn-custom/
H A Dzlinesearchf.c60 ((PetscObject)*linesearch)->fortran_func_pointers[1] = (PetscVoidFunction)func; in sneslinesearchsetprecheck_()
68 ((PetscObject)*linesearch)->fortran_func_pointers[2] = (PetscVoidFunction)func; in sneslinesearchsetpostcheck_()
/dports/science/PETSc/petsc-3.14.1/src/sys/classes/draw/utils/ftn-custom/
H A Dzzoomf.c23 ((PetscObject)*draw)->fortran_func_pointers[0] = (PetscVoidFunction)f; in petscdrawzoom_()
/dports/science/PETSc/petsc-3.14.1/src/snes/impls/shell/ftn-custom/
H A Dzsnesshellf.c22 PetscObjectComposeFunction((PetscObject)*snes,"SNESShellSolve_C",(PetscVoidFunction)func); in snesshellsetsolve_()
/dports/science/PETSc/petsc-3.14.1/src/snes/linesearch/impls/shell/ftn-custom/
H A Dzlinesearchshellf.c22 ((PetscObject)*linesearch)->fortran_func_pointers[0] = (PetscVoidFunction)func; in sneslinesearchshellsetuserfunc_()
/dports/science/PETSc/petsc-3.14.1/src/binding/petsc4py/src/libpetsc4py/
H A Dlibpetsc4py.pyx67 ctypedef void (*PetscVoidFunction)()
605 <PetscVoidFunction>MatPythonSetType_PYTHON) )
621 <PetscVoidFunction>NULL) )
624 <PetscVoidFunction>NULL) )
1249 <PetscVoidFunction>PCPythonSetType_PYTHON) )
1263 <PetscVoidFunction>NULL) )
1522 <PetscVoidFunction>KSPPythonSetType_PYTHON) )
1549 <PetscVoidFunction>NULL))
1901 <PetscVoidFunction>NULL) )
2233 <PetscVoidFunction>TSPythonSetType_PYTHON) )
[all …]
/dports/science/PETSc/petsc-3.14.1/include/petsc/private/
H A Dfortranimpl.h192 …ierr = PetscObjectGetFortranCallback((PetscObject)(obj),(cbclass),(cid),(PetscVoidFunction*)&func,…
/dports/science/PETSc/petsc-3.14.1/include/
H A Dpetscsys.h1412 PETSC_EXTERN_TYPEDEF typedef void (*PetscVoidFunction)(void); typedef
1437 #define PetscObjectComposeFunction(a,b,d) PetscObjectComposeFunction_Private(a,b,(PetscVoidFunction
1456 …ryFunction(obj,name,fptr) PetscObjectQueryFunction_Private((obj),(name),(PetscVoidFunction*)(fptr))
1521 …nctionListAdd(list,name,fptr) PetscFunctionListAdd_Private((list),(name),(PetscVoidFunction)(fptr))
1524 …ionListFind(list,name,fptr) PetscFunctionListFind_Private((list),(name),(PetscVoidFunction*)(fptr))

12