| /petsc/src/ts/tutorials/multirate/ |
| H A D | ex5.c | 223 …physics.characteristic)(ctx->physics.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds, ctx->… in FVRHSFunctionslow() 233 cjmpL[k] += ctx->Rinv[k + j * dof] * jmpL; in FVRHSFunctionslow() 234 cjmpR[k] += ctx->Rinv[k + j * dof] * jmpR; in FVRHSFunctionslow() 327 …physics.characteristic)(ctx->physics.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds, ctx->… in FVRHSFunctionfast() 336 cjmpL[k] += ctx->Rinv[k + j * dof] * jmpL; in FVRHSFunctionfast() 337 cjmpR[k] += ctx->Rinv[k + j * dof] * jmpR; in FVRHSFunctionfast() 428 …physics.characteristic)(ctx->physics.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds, ctx->… in FVRHSFunctionslow2() 437 cjmpL[k] += ctx->Rinv[k + j * dof] * jmpL; in FVRHSFunctionslow2() 438 cjmpR[k] += ctx->Rinv[k + j * dof] * jmpR; in FVRHSFunctionslow2() 544 …physics.characteristic)(ctx->physics.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds, ctx->… in FVRHSFunctionfast2() [all …]
|
| H A D | ex6.c | 243 …->physics2.characteristic2)(ctx->physics2.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds)); in FVRHSFunction_2WaySplit() 253 cjmpL[k] += ctx->Rinv[k + j * dof] * jmpL; in FVRHSFunction_2WaySplit() 254 cjmpR[k] += ctx->Rinv[k + j * dof] * jmpR; in FVRHSFunction_2WaySplit() 392 …->physics2.characteristic2)(ctx->physics2.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds)); in FVRHSFunctionslow_2WaySplit() 402 cjmpL[k] += ctx->Rinv[k + j * dof] * jmpL; in FVRHSFunctionslow_2WaySplit() 403 cjmpR[k] += ctx->Rinv[k + j * dof] * jmpR; in FVRHSFunctionslow_2WaySplit() 519 …->physics2.characteristic2)(ctx->physics2.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds)); in FVRHSFunctionslowbuffer_2WaySplit() 529 cjmpL[k] += ctx->Rinv[k + j * dof] * jmpL; in FVRHSFunctionslowbuffer_2WaySplit() 530 cjmpR[k] += ctx->Rinv[k + j * dof] * jmpR; in FVRHSFunctionslowbuffer_2WaySplit() 665 …->physics2.characteristic2)(ctx->physics2.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds)); in FVRHSFunctionfast_2WaySplit() [all …]
|
| H A D | ex8.c | 259 …->physics2.characteristic2)(ctx->physics2.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds)); in FVRHSFunction_3WaySplit() 269 cjmpL[k] += ctx->Rinv[k + j * dof] * jmpL; in FVRHSFunction_3WaySplit() 270 cjmpR[k] += ctx->Rinv[k + j * dof] * jmpR; in FVRHSFunction_3WaySplit() 431 …->physics2.characteristic2)(ctx->physics2.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds)); in FVRHSFunctionslow_3WaySplit() 441 cjmpL[k] += ctx->Rinv[k + j * dof] * jmpL; in FVRHSFunctionslow_3WaySplit() 442 cjmpR[k] += ctx->Rinv[k + j * dof] * jmpR; in FVRHSFunctionslow_3WaySplit() 561 …->physics2.characteristic2)(ctx->physics2.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds)); in FVRHSFunctionslowbuffer_3WaySplit() 571 cjmpL[k] += ctx->Rinv[k + j * dof] * jmpL; in FVRHSFunctionslowbuffer_3WaySplit() 572 cjmpR[k] += ctx->Rinv[k + j * dof] * jmpR; in FVRHSFunctionslowbuffer_3WaySplit() 710 …->physics2.characteristic2)(ctx->physics2.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds)); in FVRHSFunctionmedium_3WaySplit() [all …]
|
| H A D | ex4.c | 612 …->physics2.characteristic2)(ctx->physics2.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds)); in FVRHSFunction_2WaySplit() 622 cjmpL[k] += ctx->Rinv[k + j * dof] * jmpL; in FVRHSFunction_2WaySplit() 623 cjmpR[k] += ctx->Rinv[k + j * dof] * jmpR; in FVRHSFunction_2WaySplit() 785 …->physics2.characteristic2)(ctx->physics2.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds)); in FVRHSFunctionslow_2WaySplit() 795 cjmpL[k] += ctx->Rinv[k + j * dof] * jmpL; in FVRHSFunctionslow_2WaySplit() 796 cjmpR[k] += ctx->Rinv[k + j * dof] * jmpR; in FVRHSFunctionslow_2WaySplit() 936 …->physics2.characteristic2)(ctx->physics2.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds)); in FVRHSFunctionslowbuffer_2WaySplit() 946 cjmpL[k] += ctx->Rinv[k + j * dof] * jmpL; in FVRHSFunctionslowbuffer_2WaySplit() 947 cjmpR[k] += ctx->Rinv[k + j * dof] * jmpR; in FVRHSFunctionslowbuffer_2WaySplit() 1106 …->physics2.characteristic2)(ctx->physics2.user, dof, &x[i * dof], ctx->R, ctx->Rinv, ctx->speeds)); in FVRHSFunctionfast_2WaySplit() [all …]
|
| H A D | finitevolume1d.h | 106 PetscScalar *R, *Rinv; /* Characteristic basis, and it's inverse. COLUMN-MAJOR */ member
|
| H A D | finitevolume1d.c | 558 …PetscCall((*ctx->physics.characteristic)(ctx->physics.user, dof, &x[i * dof], ctx->R, ctx->Rinv, c… in FVRHSFunction() 568 cjmpL[k] += ctx->Rinv[k + j * dof] * jmpL; in FVRHSFunction() 569 cjmpR[k] += ctx->Rinv[k + j * dof] * jmpR; in FVRHSFunction()
|
| /petsc/src/ts/tutorials/ |
| H A D | ex9.c | 212 PetscScalar *R, *Rinv; /* Characteristic basis, and it's inverse. COLUMN-MAJOR */ member 1197 …PetscCall((*ctx->physics.characteristic)(ctx->physics.user, dof, &x[i * dof], ctx->R, ctx->Rinv, c… in FVRHSFunction() 1207 cjmpL[k] += ctx->Rinv[k + j * dof] * jmpL; in FVRHSFunction() 1208 cjmpR[k] += ctx->Rinv[k + j * dof] * jmpR; in FVRHSFunction() 1291 …PetscCall((*ctx->physics.characteristic)(ctx->physics.user, dof, &x[i * dof], ctx->R, ctx->Rinv, c… in FVIJacobian() 1293 PetscCall(SmallMatMultADB(J, dof, ctx->R, ctx->speeds, ctx->Rinv)); in FVIJacobian() 1479 …PetscCall(PetscMalloc4(dof * dof, &ctx.R, dof * dof, &ctx.Rinv, 2 * dof, &ctx.cjmpLR, 1 * dof, &ct… in main() 1544 PetscCall(PetscFree4(ctx.R, ctx.Rinv, ctx.cjmpLR, ctx.cslope)); in main()
|