Skip to content

Commit c78eaeb

Browse files
committed
Improve regression tests for run_hydrochrono.exe
1 parent 3b4bbd5 commit c78eaeb

20 files changed

Lines changed: 512 additions & 66765 deletions

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ endif()
1818
# ═══════════════════════════════════════════════════════════════════════════════
1919

2020
project(HydroChrono
21-
VERSION 0.2.6
22-
DESCRIPTION "A hydrodynamic library for use with Project Chrono."
21+
VERSION 0.3
22+
DESCRIPTION "Hydrodynamics for Project Chrono."
2323
LANGUAGES CXX
2424
)
2525

build.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,8 @@ function Show-SuccessSummary {
547547
Write-Host "Next steps:" -ForegroundColor Cyan
548548
Write-Host " Run regression tests:" -ForegroundColor White
549549
Write-Host " ctest -C $BuildType -L regression" -ForegroundColor Gray
550+
Write-Host " Or run Python-based YAML tests for run_hydrochrono.exe:" -ForegroundColor White
551+
Write-Host " python .\\tests\\regression\\run_hydrochrono\\run_tests.py --all" -ForegroundColor Gray
550552
}
551553

552554
# =============================================================================

tests/regression/run_hydrochrono/compare_results.py

Lines changed: 205 additions & 362 deletions
Large diffs are not rendered by default.

tests/regression/run_hydrochrono/f3of/decay_dt1/expected/hc_ref_f3of_decay_dt1.txt

Lines changed: 0 additions & 15001 deletions
This file was deleted.
Binary file not shown.

tests/regression/run_hydrochrono/f3of/decay_dt2/expected/hc_ref_f3of_decay_dt2.txt

Lines changed: 0 additions & 15001 deletions
This file was deleted.
Binary file not shown.

tests/regression/run_hydrochrono/f3of/decay_dt2/inputs/f3of_decay.simulation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ simulation:
44
contact_method: SMC
55

66
time_step: 0.02
7-
end_time: 150.0
7+
end_time: 40.0
88
enforce_realtime: false
99
gravity: [0, 0, -9.81]
1010

tests/regression/run_hydrochrono/f3of/decay_dt3/expected/hc_ref_f3of_decay_dt3.txt

Lines changed: 0 additions & 15001 deletions
This file was deleted.
Binary file not shown.

0 commit comments

Comments
 (0)