Commit Graph

5 Commits

Author SHA1 Message Date
Jukka Aho fe82931977 chore(test): delete redundant geometry strain tests
Remove overlap with `test/geometry/test_jacobian.jl` / materials kernels.

- Drop `test/geometry/test_strain.jl`.
2026-05-09 18:26:57 +03:00
Jukka Aho 99fc4e5b34 chore(test): drop deformation gradient regression stub
Remove unused geometry tests superseded by continuum kinematics coverage.

- Delete `test/geometry/test_deformation_gradient.jl`.
2026-05-09 18:26:57 +03:00
Jukka Aho dc44ea6e5f test(geometry): add strain tensor computation test
New 263-line test file for strain tensor computation:
- Tests ε = ½(∇u + ∇u^T) from displacement gradients
- Tests uniaxial extension case
- Tests pure shear deformation
- Tests rigid body translation (should produce zero strain)
- Validates symmetry property (ε = ε^T)
- Tests type stability and zero-allocation performance
- Includes performance benchmark (< 200 ns target)

Comprehensive test for strain computation essential for solid
mechanics and material model evaluation.
2025-12-15 08:17:17 +02:00
Jukka Aho 98b126563f test(geometry): add Jacobian computation test
New 384-line test file for Jacobian matrix computation:
- Tests J = ∂x/∂ξ mapping between parametric and physical coordinates
- Tests identity, scaled, and rotated element transformations
- Tests 2D triangles and 3D tetrahedra
- Tests physical derivatives: dN/dx = J⁻¹ · dN/dξ
- Validates element quality detection (det(J) > 0)
- Tests consistency with manual calculations
- Validates type stability and zero-allocation performance
- Tests both NTuple and Vector interfaces

Comprehensive test for Jacobian computation essential for coordinate
transformation and integration in FEM assembly.
2025-12-15 08:16:26 +02:00
Jukka Aho 1ed455604f test(geometry): add deformation gradient test
New 561-line test file for deformation gradient computation:
- Tests F = ∂x/∂X = I + ∂u/∂X for finite strain mechanics
- Tests identity case (u = 0 → F = I)
- Tests pure translation (rigid body motion)
- Tests pure stretch and simple shear cases
- Tests small vs finite strain difference
- Validates physical constraints (det(F) > 0)
- Tests Hex8 and Tet10 elements
- Validates zero-allocation performance

Comprehensive test for deformation gradient computation essential
for finite strain analysis and hyperelastic materials.
2025-12-15 08:13:44 +02:00