Initial commit: establish deterministic rod-string solver stack.

Set up the C solver core, Node API orchestration, TS GUI workflow, and engineering documentation with cleaned repo hygiene for private Git hosting.

Made-with: Cursor
This commit is contained in:
2026-04-16 21:59:42 -06:00
commit 725a72a773
83 changed files with 14687 additions and 0 deletions

28
solver-c/CMakeLists.txt Normal file
View File

@@ -0,0 +1,28 @@
cmake_minimum_required(VERSION 3.16)
project(rod_solver_c C)
set(CMAKE_C_STANDARD 99)
set(CMAKE_C_STANDARD_REQUIRED ON)
add_library(rod_solver STATIC
src/solver_common.c
src/json_stdin.c
src/trajectory.c
src/solver_diagnostic.c
src/solver.c
src/solver_fea.c
src/solver_fourier.c
)
target_include_directories(rod_solver PUBLIC include)
add_executable(solver_main src/main.c)
target_link_libraries(solver_main PRIVATE rod_solver m)
add_executable(solver_fea_main src/main_fea.c)
target_link_libraries(solver_fea_main PRIVATE rod_solver m)
add_executable(test_solver tests/test_solver.c)
target_link_libraries(test_solver PRIVATE rod_solver m)
enable_testing()
add_test(NAME solver_c_tests COMMAND test_solver)