| /petsc/src/ts/event/tests/ |
| H A D | ex16.c | 22 Vec f; in main() local 78 PetscErrorCode RHSFunction(TS ts, PetscReal t, Vec x, Vec f, PetscCtx ctx) in RHSFunction()
|
| /petsc/src/binding/petsc4py/demo/legacy/ode/ |
| H A D | heat.py | 71 def evalFunction(self, ts, t, x, xdot, f): argument 121 f = ode.gvec.duplicate() variable
|
| H A D | ce.py | 26 def evalFunction(self, ts, t, x, xdot, f): argument 48 f = x.duplicate() variable
|
| H A D | orego.py | 22 def evalFunction(self, ts, t, x, xdot, f): argument 52 f = x.duplicate() variable
|
| H A D | bouncing_ball.py | 21 def evalRHSFunction(self, ts, t, u, f): argument 54 f = u.duplicate() variable
|
| /petsc/src/sys/tests/linter/ |
| H A D | testValidLogicalCollective.c | 3 …idLogicalCollective(PetscInt a, PetscMPIInt b, PetscInt c, PetscBool d, PetscScalar e, PetscReal f) in testValidLogicalCollective()
|
| /petsc/lib/petsc/bin/maint/ |
| H A D | doublelinecheck.py | 8 f = aa[0] variable
|
| /petsc/src/binding/petsc4py/test/ |
| H A D | test_sys.py | 42 f = lambda: PETSc.Sys.setDefaultComm(PETSc.COMM_NULL) function
|
| /petsc/src/snes/tutorials/ |
| H A D | ex40f90.F90 | 16 subroutine FormFunctionLocal(in, x, f, dummy, ierr) argument
|
| H A D | ex7.c | 112 static PetscErrorCode ComputeGamma(PetscInt d, PetscInt ldx, PetscScalar f[]) in ComputeGamma() 149 …tic PetscErrorCode ComputeGammaFactor(PetscInt d, PetscBool forward, PetscInt ldx, PetscScalar f[]) in ComputeGammaFactor() 193 …ion(PetscInt d, PetscBool forward, const PetscScalar U[], const PetscScalar psi[], PetscScalar f[]) in ComputeAction() 213 static PetscErrorCode ComputeResidualLocal(DM dm, Vec u, Vec f) in ComputeResidualLocal() 266 static PetscErrorCode ComputeResidual(DM dm, Vec u, Vec f) in ComputeResidual() 526 Vec u, f; in main() local
|
| /petsc/src/snes/tests/ |
| H A D | ex4.c | 141 PetscErrorCode FormObjective(SNES snes, Vec x, PetscReal *f, void *dummy) in FormObjective() 163 PetscErrorCode FormFunction2(SNES snes, Vec x, Vec f, void *dummy) in FormFunction2()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexsection.c | 7 PetscInt depth, Nf, f, pStart, pEnd; in DMPlexCreateSectionFields() local 94 PetscInt Nf, f, Nds, n, dim, d, dep, p; in DMPlexCreateSectionDof() local 250 PetscInt dof, f; in DMPlexCreateSectionBCDof() local 274 PetscInt Nf, cdof, maxDof = 0, pStart, pEnd, p, bc, f, d; in DMPlexCreateSectionBCIndicesField() local 342 PetscInt dof, f; in DMPlexCreateSectionBCIndicesField() local 359 PetscInt Nf, maxDof, pStart, pEnd, p, f, d; in DMPlexCreateSectionBCIndices() local 455 PetscInt depth, dim, numBC = 0, Nf, Nds, s, bc = 0, f; in DMCreateLocalSection_Plex() local
|
| /petsc/src/ts/tests/ |
| H A D | ex6.c | 13 PetscErrorCode f(PetscReal t, Vec U, Vec V, Vec F) in f() function 34 PetscErrorCode (*f)(PetscReal, Vec, Vec, Vec); member
|
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex23.c | 30 …Real t, const PetscReal x[], PetscInt numConstants, const PetscScalar constants[], PetscScalar f[]) in linear_vector() 37 …Real t, const PetscReal x[], PetscInt numConstants, const PetscScalar constants[], PetscScalar f[]) in linear_scalar() 43 …Real t, const PetscReal x[], PetscInt numConstants, const PetscScalar constants[], PetscScalar f[]) in divergence_sq() 158 PetscInt dim, Nf, f; in CreateAuxiliaryVec() local 179 PetscInt Nf, f; in TestFunctionProjection() local 214 PetscInt Nf, f; in TestFieldProjection() local
|
| /petsc/src/ts/utils/ |
| H A D | tsconvest.c | 34 PetscInt f; in PetscConvEstComputeErrorTS_Private() local 55 PetscInt Ns, oNs, Nf = ce->Nf, f, Nr = ce->Nr, r; in PetscConvEstGetConvRateTS_Temporal_Private() local 123 PetscInt Nr = ce->Nr, r, Nf = ce->Nf, f, dim, oldlevel, oldnlev; in PetscConvEstGetConvRateTS_Spatial_Private() local
|
| H A D | dmts.c | 406 PetscErrorCode DMTSSetIFunctionContextDestroy(DM dm, PetscCtxDestroyFn *f) in DMTSSetIFunctionContextDestroy() 517 PetscErrorCode DMTSSetI2FunctionContextDestroy(DM dm, PetscCtxDestroyFn *f) in DMTSSetI2FunctionContextDestroy() 627 PetscErrorCode DMTSSetI2JacobianContextDestroy(DM dm, PetscCtxDestroyFn *f) in DMTSSetI2JacobianContextDestroy() 743 PetscErrorCode DMTSSetRHSFunctionContextDestroy(DM dm, PetscCtxDestroyFn *f) in DMTSSetRHSFunctionContextDestroy() 947 PetscErrorCode DMTSGetForcingFunction(DM dm, TSForcingFn **f, PetscCtxRt ctx) in DMTSGetForcingFunction() 1053 PetscErrorCode DMTSSetIJacobianContextDestroy(DM dm, PetscCtxDestroyFn *f) in DMTSSetIJacobianContextDestroy() 1168 PetscErrorCode DMTSSetRHSJacobianContextDestroy(DM dm, PetscCtxDestroyFn *f) in DMTSSetRHSJacobianContextDestroy()
|
| /petsc/src/dm/impls/da/ |
| H A D | grvtk.c | 13 PetscInt f, bs; in DMDAGetFieldsNamed() local 109 PetscInt bs, f; in DMDAVTKWriteAll_VTS() local 211 PetscInt bs, f; in DMDAVTKWriteAll_VTS() local 326 PetscInt bs, f; in DMDAVTKWriteAll_VTR() local 452 PetscInt bs, f; in DMDAVTKWriteAll_VTR() local
|
| /petsc/src/ts/tutorials/power_grid/ |
| H A D | ex3opt_fd.c | 26 PetscReal f, gnorm, cnorm, xdiff; in monitor() local 159 PetscErrorCode FormFunction(Tao tao, Vec P, PetscReal *f, PetscCtx ctx0) in FormFunction()
|
| /petsc/src/dm/dt/dualspace/impls/simple/ |
| H A D | dspacesimple.c | 54 PetscInt spatialDim, f; in PetscDualSpaceSimpleSetDimension_Simple() local 69 static PetscErrorCode PetscDualSpaceSimpleSetFunctional_Simple(PetscDualSpace sp, PetscInt f, Petsc… in PetscDualSpaceSimpleSetFunctional_Simple()
|
| /petsc/src/tao/util/ |
| H A D | tao_util.c | 50 const PetscScalar *x, *f, *l, *u; in VecFischer() local 153 const PetscScalar *x, *f, *l, *u; in VecSFischer() local 250 const PetscScalar *x, *f, *l, *u, *t2; in MatDFischer() local 396 const PetscScalar *x, *f, *l, *u; in MatDSFischer() local
|
| /petsc/src/ts/tutorials/autodiff/ |
| H A D | ex16opt_ic.cxx | 43 PetscScalar *f; in RHSFunctionPassive() local 64 PetscScalar *f; in RHSFunctionActive() local 284 PetscErrorCode FormFunctionGradient(Tao tao, Vec IC, PetscReal *f, Vec G, PetscCtx ctx) in FormFunctionGradient()
|
| H A D | adr_ex1.cxx | 42 PetscScalar *f; in IFunctionPassive() local 64 PetscScalar *f; in IFunctionActive1() local 101 PetscScalar *f; in IFunctionActive2() local
|
| /petsc/src/tao/pde_constrained/impls/lcl/ |
| H A D | lcl.c | 177 PetscReal step = 1.0, f, descent, aldescent; in TaoSolve_LCL() local 611 static PetscErrorCode LCLComputeLagrangianAndGradient(TaoLineSearch ls, Vec X, PetscReal *f, Vec G,… in LCLComputeLagrangianAndGradient() 658 …ode LCLComputeAugmentedLagrangianAndGradient(TaoLineSearch ls, Vec X, PetscReal *f, Vec G, void *p… in LCLComputeAugmentedLagrangianAndGradient()
|
| /petsc/src/ksp/ksp/tests/ |
| H A D | ex22.c | 10 Vec b, x, f, h, diag, x1, x2; in test_solve() local 121 Vec b, x, f, h, diag, x1, x2; in test_solve_matgetvecs() local
|
| /petsc/src/tao/linesearch/impls/unit/ |
| H A D | unit.c | 14 static PetscErrorCode TaoLineSearchApply_Unit(TaoLineSearch ls, Vec x, PetscReal *f, Vec g, Vec ste… in TaoLineSearchApply_Unit()
|