Commit Graph
2 Commits
Author SHA1 Message Date
vinihcrosa 529535ba53 Add scenario examples and tests for body types and initial conditions
- Introduced a new body type "simple_box" with defined mass and added mass matrices in `simple_box.json`.
- Created scenarios for bodies with initial velocity and two bodies at rest in `body_with_initial_velocity.json` and `two_bodies_at_rest.json`, respectively.
- Implemented tests in `TestScenarioReader.cpp` to validate parsing of scenarios, body types, and simulation behavior.
- Ensured that bodies at rest remain at rest after simulation steps and that initial conditions are correctly applied.
2026-06-24 03:11:16 -03:00
vinihcrosaandClaude Sonnet 4.6 2c56c8b1c5 build: initial repository setup (M0)
CMake project structure with ymir_core, ymir_naval, and ymir_adapters
static library targets. Catch2 and nlohmann/json via FetchContent;
SUNDIALS and CGAL probed as optional system deps (required from M1/M2).
Smoke tests pass on macOS ARM64. Docker multi-stage image for Linux
x86_64. GitHub Actions CI matrix: Linux x86_64, macOS ARM64, Windows
x86_64. Code quality tooling: .clang-format, .clang-tidy, Doxyfile.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-21 22:59:35 -03:00