Searched refs:islowbuffer (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/ts/tutorials/multirate/ |
| H A D | ex8.c | 527 …PetscInt i, j, k, Mx, dof, xs, xm, islowbuffer = 0, sm = ctx->sm, ms = ctx->ms, lsbwidth = ctx… in FVRHSFunctionslowbuffer_3WaySplit() local 601 for (j = 0; j < dof; j++) f[islowbuffer * dof + j] += ctx->flux[j] / hxs; in FVRHSFunctionslowbuffer_3WaySplit() 602 islowbuffer++; in FVRHSFunctionslowbuffer_3WaySplit() 612 for (j = 0; j < dof; j++) f[(islowbuffer - 1) * dof + j] -= ctx->flux[j] / hxs; in FVRHSFunctionslowbuffer_3WaySplit() 615 for (j = 0; j < dof; j++) f[islowbuffer * dof + j] += ctx->flux[j] / hxs; in FVRHSFunctionslowbuffer_3WaySplit() 616 islowbuffer++; in FVRHSFunctionslowbuffer_3WaySplit() 626 for (j = 0; j < dof; j++) f[(islowbuffer - 1) * dof + j] -= ctx->flux[j] / hxs; in FVRHSFunctionslowbuffer_3WaySplit() 636 for (j = 0; j < dof; j++) f[islowbuffer * dof + j] += ctx->flux[j] / hxs; in FVRHSFunctionslowbuffer_3WaySplit() 637 islowbuffer++; in FVRHSFunctionslowbuffer_3WaySplit() 647 for (j = 0; j < dof; j++) f[(islowbuffer - 1) * dof + j] -= ctx->flux[j] / hxs; in FVRHSFunctionslowbuffer_3WaySplit() [all …]
|
| H A D | ex6.c | 748 …f, xs, xm, Mx, draw = 0, count_slow, count_fast, islow = 0, ifast = 0, islowbuffer = 0, *index_slo… in main() local 845 for (k = 0; k < dof; k++) index_slowbuffer[islowbuffer++] = i * dof + k; in main() 851 …PetscCall(ISCreateGeneral(PETSC_COMM_WORLD, islowbuffer, index_slowbuffer, PETSC_COPY_VALUES, &ctx… in main()
|
| H A D | ex4.c | 1189 …f, xs, xm, Mx, draw = 0, count_slow, count_fast, islow = 0, ifast = 0, islowbuffer = 0, *index_slo… in main() local 1289 for (k = 0; k < dof; k++) index_slowbuffer[islowbuffer++] = i * dof + k; in main() 1295 …PetscCall(ISCreateGeneral(PETSC_COMM_WORLD, islowbuffer, index_slowbuffer, PETSC_COPY_VALUES, &ctx… in main()
|