Lines Matching refs:mu

18   PetscReal mu;  member
53 f[1] = user->mu * ((1. - u[0] * u[0]) * u[1] - u[0]); in RHSFunction()
62 PetscReal mu = user->mu; in RHSJacobian() local
71 J[1][0] = -mu * (2.0 * u[1] * u[0] + 1.); in RHSJacobian()
73 J[1][1] = mu * (1.0 - u[0] * u[0]); in RHSJacobian()
100 dJdU[1][0][0] = -2. * user->mu * u[1]; in RHSHessianProductUU()
101 dJdU[1][1][0] = -2. * user->mu * u[0]; in RHSHessianProductUU()
102 dJdU[1][0][1] = -2. * user->mu * u[0]; in RHSHessianProductUU()
192 f[1] = udot[1] - user->mu * ((1.0 - u[0] * u[0]) * u[1] - u[0]); in IFunction()
212 J[1][0] = user->mu * (1.0 + 2.0 * u[0] * u[1]); in IJacobian()
213 J[1][1] = a - user->mu * (1.0 - u[0] * u[0]); in IJacobian()
261 dJdU[1][0][0] = 2. * user->mu * u[1]; in IHessianProductUU()
262 dJdU[1][1][0] = 2. * user->mu * u[0]; in IHessianProductUU()
263 dJdU[1][0][1] = 2. * user->mu * u[0]; in IHessianProductUU()
391 user.mu = PetscRealConstant(1.0e3); in main()
396 PetscCall(PetscOptionsGetReal(NULL, NULL, "-mu", &user.mu, NULL)); in main()
441 x_ptr[1] = -2.0 / 3.0 + 10.0 / (81.0 * user.mu) - 292.0 / (2187.0 * user.mu * user.mu); in main()
534 user_ptr->mu = y_ptr[0]; in FormFunctionGradient()
543 …x_ptr[1] = -2.0 / 3.0 + 10.0 / (81.0 * user_ptr->mu) - 292.0 / (2187.0 * user_ptr->mu * user_ptr-> in FormFunctionGradient()
568 …[1] * (-10.0 / (81.0 * user_ptr->mu * user_ptr->mu) + 2.0 * 292.0 / (2187.0 * user_ptr->mu * user_… in FormFunctionGradient()
612 ctx->mu = z_ptr[0]; in Adjoint2()
615 dzdp = -10.0 / (81.0 * ctx->mu * ctx->mu) + 2.0 * 292.0 / (2187.0 * ctx->mu * ctx->mu * ctx->mu); in Adjoint2()
616 …p2 = 2. * 10.0 / (81.0 * ctx->mu * ctx->mu * ctx->mu) - 3.0 * 2.0 * 292.0 / (2187.0 * ctx->mu * ct… in Adjoint2()
632 y_ptr[1] = -2.0 / 3.0 + 10.0 / (81.0 * ctx->mu) - 292.0 / (2187.0 * ctx->mu * ctx->mu); in Adjoint2()