Lines Matching refs:speeds

217   PetscReal   *speeds;   /* Speeds of each wave */  member
265 …e(void *vctx, PetscInt m, const PetscScalar *u, PetscScalar *X, PetscScalar *Xi, PetscReal *speeds) in PhysicsCharacteristic_Conservative() argument
272 speeds[i] = PETSC_MAX_REAL; /* Indicates invalid */ in PhysicsCharacteristic_Conservative()
302 …t(void *vctx, PetscInt m, const PetscScalar *u, PetscScalar *X, PetscScalar *Xi, PetscReal *speeds) in PhysicsCharacteristic_Advect() argument
309 speeds[0] = ctx->a; in PhysicsCharacteristic_Advect()
668 …s(void *vctx, PetscInt m, const PetscScalar *u, PetscScalar *X, PetscScalar *Xi, PetscReal *speeds) in PhysicsCharacteristic_Acoustics() argument
682 speeds[0] = -c; in PhysicsCharacteristic_Acoustics()
683 speeds[1] = c; in PhysicsCharacteristic_Acoustics()
949 …s(void *vctx, PetscInt m, const PetscScalar *u, PetscScalar *X, PetscScalar *Xi, PetscReal *speeds) in PhysicsCharacteristic_IsoGas() argument
955 speeds[0] = u[1] / u[0] - c; in PhysicsCharacteristic_IsoGas()
956 speeds[1] = u[1] / u[0] + c; in PhysicsCharacteristic_IsoGas()
958 X[0 * 2 + 1] = speeds[0]; in PhysicsCharacteristic_IsoGas()
960 X[1 * 2 + 1] = speeds[1]; in PhysicsCharacteristic_IsoGas()
1105 …w(void *vctx, PetscInt m, const PetscScalar *u, PetscScalar *X, PetscScalar *Xi, PetscReal *speeds) in PhysicsCharacteristic_Shallow() argument
1112 speeds[0] = u[1] / u[0] - c; in PhysicsCharacteristic_Shallow()
1113 speeds[1] = u[1] / u[0] + c; in PhysicsCharacteristic_Shallow()
1115 X[0 * 2 + 1] = speeds[0]; in PhysicsCharacteristic_Shallow()
1117 X[1 * 2 + 1] = speeds[1]; in PhysicsCharacteristic_Shallow()
1197 …ctx->physics.characteristic)(ctx->physics.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds)); in FVRHSFunction()
1291 …ctx->physics.characteristic)(ctx->physics.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds)); in FVIJacobian()
1292 for (j = 0; j < dof; j++) ctx->speeds[j] = PetscAbs(ctx->speeds[j]); in FVIJacobian()
1293 PetscCall(SmallMatMultADB(J, dof, ctx->R, ctx->speeds, ctx->Rinv)); in FVIJacobian()
1480 PetscCall(PetscMalloc3(2 * dof, &ctx.uLR, dof, &ctx.flux, dof, &ctx.speeds)); in main()
1545 PetscCall(PetscFree3(ctx.uLR, ctx.flux, ctx.speeds)); in main()