test_kin#
- test_kin(float64_tols, NBS)[source]#
Tests computation of kinetic energy.
Tests:
That optimized and non optimized computations of kinetic energy give the same result.
Idem for the gradient of the kinetic energy.
That the gradient of the kinetic energy agrees with its finite difference approximation.
- Parameters:
float64_tols (
pytest.fixture()
) – Seetests.test_config.float64_tols()
.