Home
last modified time | relevance | path

Searched refs:speeds (Results 1 – 10 of 10) sorted by relevance

/petsc/src/ts/tutorials/ !
H A Dex9.c217 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()
[all …]
/petsc/src/ts/tutorials/multirate/ !
H A Dex4.c69 …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()
[all …]
H A Dex5.c61 … PetscInt m, const PetscScalar *u, PetscScalar *X, PetscScalar *Xi, PetscReal *speeds, PetscReal x) in PhysicsCharacteristic_Advect() argument
68 if (x < 0) speeds[0] = ctx->a[0]; /* x is discontinuous point of a */ in PhysicsCharacteristic_Advect()
69 else speeds[0] = ctx->a[1]; in PhysicsCharacteristic_Advect()
223 …acteristic)(ctx->physics.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds, ctx->xmin + hx * … in FVRHSFunctionslow()
327 …acteristic)(ctx->physics.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds, ctx->xmin + hx * … in FVRHSFunctionfast()
428 …acteristic)(ctx->physics.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds, ctx->xmin + hx * … in FVRHSFunctionslow2()
544 …acteristic)(ctx->physics.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds, ctx->xmin + hx * … in FVRHSFunctionfast2()
697 PetscCall(PetscMalloc3(2 * dof, &ctx.uLR, dof, &ctx.flux, dof, &ctx.speeds)); in main()
820 PetscCall(PetscFree3(ctx.uLR, ctx.flux, ctx.speeds)); in main()
H A Dex6.c50 …t(void *vctx, PetscInt m, const PetscScalar *u, PetscScalar *X, PetscScalar *Xi, PetscReal *speeds) in PhysicsCharacteristic_Advect() argument
57 speeds[0] = ctx->a; in PhysicsCharacteristic_Advect()
243 …->physics2.characteristic2)(ctx->physics2.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds)); in FVRHSFunction_2WaySplit()
392 …->physics2.characteristic2)(ctx->physics2.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds)); in FVRHSFunctionslow_2WaySplit()
519 …->physics2.characteristic2)(ctx->physics2.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds)); in FVRHSFunctionslowbuffer_2WaySplit()
665 …->physics2.characteristic2)(ctx->physics2.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds)); in FVRHSFunctionfast_2WaySplit()
817 PetscCall(PetscMalloc3(2 * dof, &ctx.uLR, dof, &ctx.flux, dof, &ctx.speeds)); in main()
969 PetscCall(PetscFree3(ctx.uLR, ctx.flux, ctx.speeds)); in main()
H A Dex8.c43 …t(void *vctx, PetscInt m, const PetscScalar *u, PetscScalar *X, PetscScalar *Xi, PetscReal *speeds) in PhysicsCharacteristic_Advect() argument
50 speeds[0] = ctx->a; in PhysicsCharacteristic_Advect()
259 …->physics2.characteristic2)(ctx->physics2.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds)); in FVRHSFunction_3WaySplit()
431 …->physics2.characteristic2)(ctx->physics2.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds)); in FVRHSFunctionslow_3WaySplit()
561 …->physics2.characteristic2)(ctx->physics2.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds)); in FVRHSFunctionslowbuffer_3WaySplit()
710 …->physics2.characteristic2)(ctx->physics2.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds)); in FVRHSFunctionmedium_3WaySplit()
858 …->physics2.characteristic2)(ctx->physics2.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds)); in FVRHSFunctionmediumbuffer_3WaySplit()
1006 …->physics2.characteristic2)(ctx->physics2.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds)); in FVRHSFunctionfast_3WaySplit()
1159 PetscCall(PetscMalloc3(2 * dof, &ctx.uLR, dof, &ctx.flux, dof, &ctx.speeds)); in main()
1339 PetscCall(PetscFree3(ctx.uLR, ctx.flux, ctx.speeds)); in main()
H A Dfinitevolume1d.h111 PetscReal *speeds; /* Speeds of each wave */ member
H A Dex7.c59 …PetscReal *speeds; /* Speeds of each wave … member
720 PetscCall(PetscMalloc3(dof, &ctx.u, dof, &ctx.flux, dof, &ctx.speeds)); in main()
852 PetscCall(PetscFree3(ctx.u, ctx.flux, ctx.speeds)); in main()
H A Dfinitevolume1d.c558 …acteristic)(ctx->physics.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds, ctx->xmin + hx * … in FVRHSFunction()
/petsc/doc/developers/ !
H A Dmatrices.md100 Note that the speeds of the I-node and fixed block operations are
/petsc/doc/ !
H A Dpetsc.bib39633 …f stable, high-order finite difference methods for hyperbolic systems with non-smooth wave speeds},