Home
last modified time | relevance | path

Searched refs:cntref (Results 1 – 6 of 6) sorted by relevance

/petsc/src/ts/event/tests/
H A Dex4.c31 PetscInt cntref; // actual length of 'ref' on the given rank member
63 ctx.cntref = 0; in main()
132 if (dir0 >= 0) ctx.ref[ctx.cntref++] = 2.0; in main()
133 if (dir0 >= 0) ctx.ref[ctx.cntref++] = 4.0; in main()
134 if (dir0 <= 0) ctx.ref[ctx.cntref++] = 1.0; in main()
135 if (dir0 <= 0) ctx.ref[ctx.cntref++] = 3.0; in main()
138 if (dir0 >= 0) ctx.ref[ctx.cntref++] = 1.0; in main()
140 if (dir0 >= 0) ctx.ref[ctx.cntref++] = 1.0; in main()
142 if (dir0 >= 0) ctx.ref[ctx.cntref++] = 1.696812386809752; in main()
144 if (dir0 >= 0) ctx.ref[ctx.cntref++] = 0.1; in main()
[all …]
H A Dex5.c33 PetscInt cntref; // actual length of 'ref' on the given rank member
66 ctx.cntref = 0; in main()
122 if (ctx.dir0 >= 0) ctx.ref[ctx.cntref++] = 1.0 + aux; in main()
131 if (ctx.dir0 <= 0) ctx.ref[ctx.cntref++] = 9.0 - aux; in main()
139 if (i % 2 == 1 && ctx.dir0 <= 0) ctx.ref[ctx.cntref++] = i; in main()
140 if (i % 2 == 0 && ctx.dir0 >= 0) ctx.ref[ctx.cntref++] = i; in main()
147 if (i % 2 == 1 && ctx.dir0 <= 0) ctx.ref[ctx.cntref++] = i - 0.5; in main()
148 if (i % 2 == 0 && ctx.dir0 >= 0) ctx.ref[ctx.cntref++] = i - 0.5; in main()
151 if (ctx.cntref > 0) PetscCall(PetscSortReal(ctx.cntref, ctx.ref)); in main()
162 if (j < ctx.cntref) err = PetscAbsReal(ctx.evres[j] - ctx.ref[j]); in main()
H A Dex3.c37 PetscInt cntref; // actual length of 'ref' on the given rank member
71 ctx.cntref = 0; in main()
130 if (dir0 >= 0) ctx.ref[ctx.cntref++] = 1.05; in main()
136 if (dir0 <= 0) ctx.ref[ctx.cntref++] = 9.05; in main()
144 if (i % 2 == 1 && dir0 <= 0) ctx.ref[ctx.cntref++] = i; in main()
145 if (i % 2 == 0 && dir0 >= 0) ctx.ref[ctx.cntref++] = i; in main()
148 if (ctx.cntref > 0) PetscCall(PetscSortReal(ctx.cntref, ctx.ref)); in main()
160 if (j < ctx.cntref) err = PetscAbsReal(ctx.evres[j] - ctx.ref[j]); in main()
H A Dex1sin.c29 PetscInt cntref; // actual length of 'ref' on the given rank member
58 ctx.cntref = 0; in main()
114 if (i % 2 == 1 && dir0 <= 0) ctx.ref[ctx.cntref++] = i; in main()
115 if (i % 2 == 0 && dir0 >= 0) ctx.ref[ctx.cntref++] = i; in main()
118 if (ctx.cntref > 0) PetscCall(PetscSortReal(ctx.cntref, ctx.ref)); in main()
127 if (j < ctx.cntref) err = PetscAbsReal(ctx.evres[j] - ctx.ref[j]); in main()
H A Dex2.c29 PetscInt cntref; // actual length of 'ref' on the given rank member
58 ctx.cntref = 0; in main()
112 if (dir0 >= 0) ctx.ref[ctx.cntref++] = 1.0; in main()
117 if (dir0 <= 0) ctx.ref[ctx.cntref++] = 9.0; in main()
119 if (ctx.cntref > 0) PetscCall(PetscSortReal(ctx.cntref, ctx.ref)); in main()
128 if (j < ctx.cntref) err = PetscAbsReal(ctx.evres[j] - ctx.ref[j]); in main()
H A Dex3span.c38 PetscInt cntref; // actual length of 'ref' on the given rank member
77 ctx.cntref = 0; in main()
128 if (dir0 >= 0) ctx.ref[ctx.cntref++] = 1.05; in main()
133 if (dir0 <= 0) ctx.ref[ctx.cntref++] = 9.05; in main()
140 if (i % 2 == 1 && dir0 <= 0) ctx.ref[ctx.cntref++] = i; in main()
141 if (i % 2 == 0 && dir0 >= 0) ctx.ref[ctx.cntref++] = i; in main()
144 if (ctx.cntref > 0) PetscCall(PetscSortReal(ctx.cntref, ctx.ref)); in main()
173 if (j < ctx.cntref) err = PetscAbsReal(ctx.evres[j] - ctx.ref[j]); in main()