Lines Matching refs:mu
22 PetscReal mu; member
43 f[1] = user->mu * (1. - x[0] * x[0]) * x[1] - x[0]; in RHSFunctionPassive()
71 f_a[1] = user->mu * (1. - x_a[0] * x_a[0]) * x_a[1] - x_a[0]; in RHSFunctionActive()
103 mu_a <<= user->mu; /* Mark independence */ in RHSFunctionActiveP()
141 PetscCall(PetscAdolcComputeRHSJacobianP(3, A, x, &user->mu, user->adctx)); in RHSJacobianP()
179 Vec lambda[2], mu[2], r; in main() local
193 user.mu = 1; in main()
201 PetscCall(PetscOptionsGetReal(NULL, NULL, "-mu", &user.mu, NULL)); in main()
268 …TSC_COMM_WORLD, "mu %g, steps %" PetscInt_FMT ", ftime %g\n", (double)user.mu, steps, (double)ftim… in main()
286 PetscCall(MatCreateVecs(Jacp, &mu[0], NULL)); in main()
287 PetscCall(MatCreateVecs(Jacp, &mu[1], NULL)); in main()
288 PetscCall(VecGetArray(mu[0], &x_ptr)); in main()
290 PetscCall(VecRestoreArray(mu[0], &x_ptr)); in main()
291 PetscCall(VecGetArray(mu[1], &x_ptr)); in main()
293 PetscCall(VecRestoreArray(mu[1], &x_ptr)); in main()
294 PetscCall(TSSetCostGradients(ts, 2, lambda, mu)); in main()
303 PetscCall(VecView(mu[0], PETSC_VIEWER_STDOUT_WORLD)); in main()
304 PetscCall(VecView(mu[1], PETSC_VIEWER_STDOUT_WORLD)); in main()
315 PetscCall(VecDestroy(&mu[0])); in main()
316 PetscCall(VecDestroy(&mu[1])); in main()