| /petsc/src/ts/tutorials/ |
| H A D | ex43.c | 7 PetscReal Xi; /* damping coefficient */ member 46 Exact(t, user->Omega, user->Xi, user->u0, user->v0, &u, &v); in Solution() 111 PetscReal Omega = user->Omega, Xi = user->Xi; in Residual2() local 121 r[0] = a[0] + (2 * Xi * Omega) * v[0] + (Omega * Omega) * u[0]; in Residual2() 135 PetscReal Omega = user->Omega, Xi = user->Xi; in Tangent2() local 139 T = shiftA + shiftV * (2 * Xi * Omega) + (Omega * Omega); in Tangent2() 168 PetscCall(PetscOptionsReal("-damping", "Damping coefficient", __FILE__, user.Xi, &user.Xi, NULL)); in main() 184 if (user.Xi) { in main()
|
| H A D | ex9.c | 265 …e(void *vctx, PetscInt m, const PetscScalar *u, PetscScalar *X, PetscScalar *Xi, PetscReal *speeds) in PhysicsCharacteristic_Conservative() argument 271 for (j = 0; j < m; j++) Xi[i * m + j] = X[i * m + j] = (PetscScalar)(i == j); in PhysicsCharacteristic_Conservative() 302 …t(void *vctx, PetscInt m, const PetscScalar *u, PetscScalar *X, PetscScalar *Xi, PetscReal *speeds) in PhysicsCharacteristic_Advect() argument 308 Xi[0] = 1.; in PhysicsCharacteristic_Advect() 668 …s(void *vctx, PetscInt m, const PetscScalar *u, PetscScalar *X, PetscScalar *Xi, PetscReal *speeds) in PhysicsCharacteristic_Acoustics() argument 678 Xi[0 * 2 + 0] = -1. / (2 * z); in PhysicsCharacteristic_Acoustics() 679 Xi[0 * 2 + 1] = 1. / 2; in PhysicsCharacteristic_Acoustics() 680 Xi[1 * 2 + 0] = 1. / (2 * z); in PhysicsCharacteristic_Acoustics() 681 Xi[1 * 2 + 1] = 1. / 2; in PhysicsCharacteristic_Acoustics() 710 PetscReal X[2][2], Xi[2][2], dummy[2]; in PhysicsSample_Acoustics() local [all …]
|
| /petsc/src/ts/tutorials/multirate/ |
| H A D | ex4.c | 69 …t(void *vctx, PetscInt m, const PetscScalar *u, PetscScalar *X, PetscScalar *Xi, PetscReal *speeds) in PhysicsCharacteristic_Advect() argument 75 Xi[0] = 1.; in PhysicsCharacteristic_Advect() 261 …e(void *vctx, PetscInt m, const PetscScalar *u, PetscScalar *X, PetscScalar *Xi, PetscReal *speeds) in PhysicsCharacteristic_Conservative() argument 267 for (j = 0; j < m; j++) Xi[i * m + j] = X[i * m + j] = (PetscScalar)(i == j); in PhysicsCharacteristic_Conservative() 273 …w(void *vctx, PetscInt m, const PetscScalar *u, PetscScalar *X, PetscScalar *Xi, PetscReal *speeds) in PhysicsCharacteristic_Shallow() argument 296 PetscCall(PetscArraycpy(Xi, X, 4)); in PhysicsCharacteristic_Shallow() 297 PetscCall(PetscKernel_A_gets_inverse_A_2(Xi, 0, PETSC_FALSE, NULL)); in PhysicsCharacteristic_Shallow()
|
| H A D | ex5.c | 61 …void *vctx, PetscInt m, const PetscScalar *u, PetscScalar *X, PetscScalar *Xi, PetscReal *speeds, … in PhysicsCharacteristic_Advect() argument 67 Xi[0] = 1.; in PhysicsCharacteristic_Advect()
|
| H A D | ex6.c | 50 …t(void *vctx, PetscInt m, const PetscScalar *u, PetscScalar *X, PetscScalar *Xi, PetscReal *speeds) in PhysicsCharacteristic_Advect() argument 56 Xi[0] = 1.; in PhysicsCharacteristic_Advect()
|
| H A D | ex8.c | 43 …t(void *vctx, PetscInt m, const PetscScalar *u, PetscScalar *X, PetscScalar *Xi, PetscReal *speeds) in PhysicsCharacteristic_Advect() argument 49 Xi[0] = 1.; in PhysicsCharacteristic_Advect()
|
| /petsc/src/mat/impls/aij/seq/kokkos/ |
| H A D | aijkok.kokkos.cxx | 1297 MatRowMapKokkosView Xi = xkok->i_dual.view_device(), Yi = ykok->i_dual.view_device(); in MatAXPY_SeqAIJKokkos() local 1306 for (p = Xi(i); p < Xi(i + 1); p++) { // For each nonzero on row i of X, in MatAXPY_SeqAIJKokkos()
|
| /petsc/doc/ |
| H A D | petsc.bib | 36420 note = {(Xi'an, China)}
|