Lines Matching +full:- +full:j2
23 const run_dev_tests = !isrelease() || ("--run-dev-tests" in ARGS)
89 witharray(x -> x .= 1.0, v)
92 @test summarystr(v) == "$n-element CeedVector"
154 @test q1d ≈ CeedScalar[-1.0, 0.0, 1.0]
158 @test q1d ≈ CeedScalar[-sqrt(3/5), 0.0, sqrt(3/5)]
162 d1d = CeedScalar[-0.5 0.5; -0.5 0.5; -0.5 0.5]
163 q1d = CeedScalar[-1.0, 0.0, 1.0]
214 J2 = zeros(CeedScalar, dim, dim)
215 getvoigt!(J2, V, D)
216 @test J2 == J
232 offsets = Vector{CeedInt}(0:n-1)
254 # TODO: change this test after bug-fix in libCEED
280 offsets = Vector{CeedInt}([0:n-1; n-1:2*n-2])
281 lsize = 2*n - 1
319 Gallery CeedQFunction - Poisson3DApply
391 d1d = CeedScalar[-0.5 0.5; -0.5 0.5; -0.5 0.5]
392 q1d = CeedScalar[-1.0, 0.0, 1.0]
429 @test v1[i] ≈ -1.0
457 u2[1] = -1.0
474 offsets[1, i] = i - 1
477 orients[1, i] = (i - 1)%2 > 0
478 orients[2, i] = (i - 1)%2 > 0
493 lv[i] = 10 + i - 1
500 k = j + elemsize*(i - 1)
501 @test 10 + k÷2 == ev[k]*(-1)^((i - 1)%2)
508 if (i - 1)%2 > 0
509 # T = [0 -1]
510 # [-1 0]
512 curlorients[3, i] = -1
513 curlorients[4, i] = -1
538 k = j + elemsize*(i - 1)
539 if (i - 1)%2 > 0
540 @test j == 2 || 10 + i == -ev[k]
541 @test j == 1 || 10 + i - 1 == -ev[k]