Home
last modified time | relevance | path

Searched refs:Hm (Results 1 – 2 of 2) sorted by relevance

/petsc/src/ts/tutorials/power_grid/
H A Dex5.c54 PetscReal Hm; /* Motor inertia constant */ member
159 user->Hm = 1.0; in SetInductionGeneratorParams()
198 f[1] = 2.0 * (user->Ht + user->Hm) * udot[1] - Pw / wm + user->Te; in IFunction()
/petsc/src/tao/tutorials/
H A Dex4.c26 Mat Hm; /* Hessian Misfit*/ member
96 PetscCall(MatDuplicate(ctx->W, MAT_DO_NOT_COPY_VALUES, &ctx->Hm)); in CreateMatrix()
165 PetscCall(MatDestroy(&(*ctx)->Hm)); in DestroyContext()
493 PetscCall(TaoSetHessian(tao1, ctx->Hm, ctx->Hm, HessianMisfitADMM, (void *)ctx)); in TaoSolveADMM()