|
513 | 513 | @test function_value(pvv, uv) ≈ function_value(cvv, 1, uv) |
514 | 514 | @test function_gradient(pvv, uv) ≈ function_gradient(cvv, 1, uv) |
515 | 515 | @test function_symmetric_gradient(pvv, uv) ≈ function_symmetric_gradient(cvv, 1, uv) |
| 516 | + |
| 517 | + @test shape_gradient(pvv, 1, 1) ≈ shape_gradient(cvv, 1, 1) |
| 518 | + @test shape_divergence(pvv, 1, 1) ≈ shape_divergence(cvv, 1, 1) |
| 519 | + @test shape_curl(pvv, 1, 1) ≈ shape_curl(cvv, 1, 1) |
| 520 | + @test shape_symmetric_gradient(pvv, 1, 1) ≈ shape_symmetric_gradient(cvv, 1, 1) |
| 521 | + |
516 | 522 | reinit!(pvv, x, ξ₂) |
517 | 523 | @test function_value(pvv, uv) ≈ function_value(cvv, 2, uv) |
518 | 524 | @test function_gradient(pvv, uv) ≈ function_gradient(cvv, 2, uv) |
519 | 525 | @test function_symmetric_gradient(pvv, uv) ≈ function_symmetric_gradient(cvv, 2, uv) |
| 526 | + |
| 527 | + @test shape_gradient(pvv, 1, 1) ≈ shape_gradient(cvv, 2, 1) |
| 528 | + @test shape_divergence(pvv, 1, 1) ≈ shape_divergence(cvv, 2, 1) |
| 529 | + @test shape_curl(pvv, 1, 1) ≈ shape_curl(cvv, 2, 1) |
| 530 | + @test shape_symmetric_gradient(pvv, 1, 1) ≈ shape_symmetric_gradient(cvv, 2, 1) |
520 | 531 | end |
0 commit comments