Lines Matching refs:Xi

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
727 PetscCall(PhysicsCharacteristic_Acoustics(vctx, 2, u, &X[0][0], &Xi[0][0], dummy)); in PhysicsSample_Acoustics()
728 tmp[0] = Xi[0][0] * u0a[0] + Xi[0][1] * u0a[1]; in PhysicsSample_Acoustics()
729 tmp[1] = Xi[1][0] * u0b[0] + Xi[1][1] * u0b[1]; in PhysicsSample_Acoustics()
949 …s(void *vctx, PetscInt m, const PetscScalar *u, PetscScalar *X, PetscScalar *Xi, PetscReal *speeds) in PhysicsCharacteristic_IsoGas() argument
961 PetscCall(PetscArraycpy(Xi, X, 4)); in PhysicsCharacteristic_IsoGas()
962 PetscCall(PetscKernel_A_gets_inverse_A_2(Xi, 0, PETSC_FALSE, NULL)); in PhysicsCharacteristic_IsoGas()
1105 …w(void *vctx, PetscInt m, const PetscScalar *u, PetscScalar *X, PetscScalar *Xi, PetscReal *speeds) in PhysicsCharacteristic_Shallow() argument
1118 PetscCall(PetscArraycpy(Xi, X, 4)); in PhysicsCharacteristic_Shallow()
1119 PetscCall(PetscKernel_A_gets_inverse_A_2(Xi, 0, PETSC_FALSE, NULL)); in PhysicsCharacteristic_Shallow()