Home
last modified time | relevance | path

Searched refs:index_fast (Results 1 – 5 of 5) sorted by relevance

/petsc/src/ts/tutorials/multirate/
H A Dex5.c619 PetscInt i, k, dof, xs, xm, Mx, draw = 0, *index_slow, *index_fast, islow = 0, ifast = 0; in main() local
706 PetscCall(PetscMalloc1(xm * dof, &index_fast)); in main()
711 for (k = 0; k < dof; k++) index_fast[ifast++] = i * dof + k; in main()
714 PetscCall(ISCreateGeneral(PETSC_COMM_WORLD, ifast, index_fast, PETSC_COPY_VALUES, &ctx.isf)); in main()
734 for (k = 0; k < dof; k++) index_fast[ifast++] = i * dof + k; in main()
737 PetscCall(ISCreateGeneral(PETSC_COMM_WORLD, ifast, index_fast, PETSC_COPY_VALUES, &ctx.isf2)); in main()
831 PetscCall(PetscFree(index_fast)); in main()
H A Dex7.c667 … dof, xs, xm, Mx, draw = 0, count_slow, count_fast, islow = 0, ifast = 0, *index_slow, *index_fast; in main() local
734 PetscCall(PetscMalloc1(xm * dof, &index_fast)); in main()
739 for (k = 0; k < dof; k++) index_fast[ifast++] = i * dof + k; in main()
742 PetscCall(ISCreateGeneral(PETSC_COMM_WORLD, ifast, index_fast, PETSC_COPY_VALUES, &ctx.isf)); in main()
861 PetscCall(PetscFree(index_fast)); in main()
H A Dex6.c748 …slow, count_fast, islow = 0, ifast = 0, islowbuffer = 0, *index_slow, *index_fast, *index_slowbuff… in main() local
832 PetscCall(PetscMalloc1(xm * dof, &index_fast)); in main()
847 for (k = 0; k < dof; k++) index_fast[ifast++] = i * dof + k; in main()
850 PetscCall(ISCreateGeneral(PETSC_COMM_WORLD, ifast, index_fast, PETSC_COPY_VALUES, &ctx.isf)); in main()
979 PetscCall(PetscFree(index_fast)); in main()
H A Dex4.c1189 …slow, count_fast, islow = 0, ifast = 0, islowbuffer = 0, *index_slow, *index_fast, *index_slowbuff… in main() local
1280 PetscCall(PetscMalloc1(xm * dof, &index_fast)); in main()
1291 for (k = 0; k < dof; k++) index_fast[ifast++] = i * dof + k; in main()
1294 PetscCall(ISCreateGeneral(PETSC_COMM_WORLD, ifast, index_fast, PETSC_COPY_VALUES, &ctx.isf)); in main()
1424 PetscCall(PetscFree(index_fast)); in main()
H A Dex8.c1090 …_fast, islow = 0, imedium = 0, ifast = 0, *index_slow, *index_medium, *index_fast, islowbuffer = 0… in main() local
1178 PetscCall(PetscMalloc1(xm * dof, &index_fast)); in main()
1203 for (k = 0; k < dof; k++) index_fast[ifast++] = i * dof + k; in main()
1207 PetscCall(ISCreateGeneral(PETSC_COMM_WORLD, ifast, index_fast, PETSC_COPY_VALUES, &ctx.isf)); in main()
1352 PetscCall(PetscFree(index_fast)); in main()