Reorganize src directory into subdirectories with automatic CMake detection#141
Open
debog wants to merge 6 commits intodevelopmentfrom
Open
Reorganize src directory into subdirectories with automatic CMake detection#141debog wants to merge 6 commits intodevelopmentfrom
debog wants to merge 6 commits intodevelopmentfrom
Conversation
…ection - Organized source files into logical subdirectories: - agents/: Agent containers and definitions - data/: Data loading and processing - disease/: Disease modeling components - interactions/: All interaction models - io/: Input/output operations - utils/: Utility functions - Updated CMake build system to automatically discover and compile files from subdirectories - No manual file listing required - new files and directories are automatically included in the build 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Renamed src/utils/Utils.H to RuntimeParams.H - Renamed src/utils/Utils.cpp to RuntimeParams.cpp - Updated all #include statements throughout the codebase (7 files) - Updated header guard from UTILS_H_ to RUNTIME_PARAMS_H_ - Updated file documentation comments 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
…ectory - Moved src/utils/RuntimeParams.H to src/init/RuntimeParams.H - Moved src/utils/RuntimeParams.cpp to src/init/RuntimeParams.cpp - Removed empty src/utils directory - No include statement changes needed due to CMake's automatic include path handling 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
RuntimeParams.H should come before UrbanPopData.H in alphabetical order. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Template class constructors and destructors should not repeat template parameters in their declarations. This was causing compilation errors with certain C++ compilers. Fixed in: - InteractionModel.H: Removed template parameters from constructor/destructor - DiseaseStatus.H: Removed template parameters from constructor/destructor 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR reorganizes the src directory into logical subdirectories and updates the CMake build system to automatically discover and compile source files. It also renames Utils.H/cpp to RuntimeParams.H/cpp for better clarity.
Directory Structure
Source files have been organized into 6 subdirectories:
census/- Census data loading and processinginfections/- Initial infection setup and case dataurbanpop/- Urban population data structuresRuntimeParams.H/cpp- Runtime parameter managementCMake Build System Improvements
The CMake build system has been enhanced to:
File Renaming and Reorganization
Changes
Test plan
🤖 Generated with Claude Code