Initial commit: BMAD framework + Story 1.1 Component Trait Definition

Features:
- BMAD (Build Modular AI-driven Development) framework setup
- BMM, BMB, CIS, Core modules configured
- Story 1.1: Component trait with error handling
- Workspace Cargo.toml with components crate
- 31 tests passing (19 unit + 12 doc tests)

Technical:
- Component trait with compute_residuals, jacobian_entries, n_equations
- ComponentError enum with thiserror
- JacobianBuilder for sparse matrix construction
- Object-safe trait supporting Box<dyn Component>
- Comprehensive documentation and examples
This commit is contained in:
Sepehr
2026-02-14 13:44:32 +01:00
parent 22dd012a74
commit 1fdfefe631
634 changed files with 70435 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
[package]
name = "entropyk-components"
version = "0.1.0"
edition = "2021"
authors = ["Sepehr <sepehr@entropyk.com>"]
description = "Core component trait definitions for Entropyk thermodynamic simulation library"
license = "MIT OR Apache-2.0"
repository = "https://github.com/entropyk/entropyk"
[dependencies]
# Core types will be added when core crate is created
# entropyk-core = { path = "../core" }
# Error handling
thiserror = "1.0"
# Serialization
serde = { version = "1.0", features = ["derive"] }
[dev-dependencies]
# Testing utilities
# tokio-test = "0.4"
[lib]
name = "entropyk_components"
path = "src/lib.rs"