Lines Matching refs:speeds
69 …t(void *vctx, PetscInt m, const PetscScalar *u, PetscScalar *X, PetscScalar *Xi, PetscReal *speeds) in PhysicsCharacteristic_Advect() argument
76 speeds[0] = ctx->a; in PhysicsCharacteristic_Advect()
261 …e(void *vctx, PetscInt m, const PetscScalar *u, PetscScalar *X, PetscScalar *Xi, PetscReal *speeds) in PhysicsCharacteristic_Conservative() argument
268 speeds[i] = PETSC_MAX_REAL; /* Indicates invalid */ in PhysicsCharacteristic_Conservative()
273 …w(void *vctx, PetscInt m, const PetscScalar *u, PetscScalar *X, PetscScalar *Xi, PetscReal *speeds) in PhysicsCharacteristic_Shallow() argument
288 speeds[0] = u[1] / u[0] - c; in PhysicsCharacteristic_Shallow()
289 speeds[1] = u[1] / u[0] + c; in PhysicsCharacteristic_Shallow()
291 X[0 * 2 + 1] = speeds[0]; in PhysicsCharacteristic_Shallow()
293 X[1 * 2 + 1] = speeds[1]; in PhysicsCharacteristic_Shallow()
612 …->physics2.characteristic2)(ctx->physics2.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds)); in FVRHSFunction_2WaySplit()
785 …->physics2.characteristic2)(ctx->physics2.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds)); in FVRHSFunctionslow_2WaySplit()
936 …->physics2.characteristic2)(ctx->physics2.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds)); in FVRHSFunctionslowbuffer_2WaySplit()
1106 …->physics2.characteristic2)(ctx->physics2.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds)); in FVRHSFunctionfast_2WaySplit()
1264 PetscCall(PetscMalloc3(2 * dof, &ctx.uLR, dof, &ctx.flux, dof, &ctx.speeds)); in main()
1414 PetscCall(PetscFree3(ctx.uLR, ctx.flux, ctx.speeds)); in main()