Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ Done! 🎉
- `test_air.yaml` - Air baseline
- `test_fr4.yaml` - FR4 standard PCB
- `test_rogers4003.yaml` - Rogers RO4003C
- `test_microstrip.yaml` - Single trace for Z0 cross-check (`make check-z0`)
- `test_single.yaml` - Single trace (used by `make check-fasthenry`)

**To try different materials**:
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,6 @@ weeks/
├── LICENSE # MIT license
├── Makefile # Build script
├── CLAUDE.md # Guidance for AI coding assistants
├── diagnostic_report.md # PEEC vs FastHenry discretization analysis
├── test.yaml # Active input file read by ./weeks
├── src/ # Source files (5 files, lowercase .c)
Expand All @@ -385,10 +384,11 @@ weeks/
│ ├── calcl.h # Calculator header
│ └── lpp.h # Partial inductance header
├── examples/ # YAML input examples (5 files)
├── examples/ # YAML input examples (6 files)
│ ├── test.yaml # Default (FR4)
│ ├── test_air.yaml # Air baseline
│ ├── test_fr4.yaml # FR4 standard PCB
│ ├── test_microstrip.yaml # Single trace for Z0 cross-check
│ ├── test_rogers4003.yaml # Rogers RO4003C
│ └── test_single.yaml # Single trace (used by check-fasthenry)
Expand All @@ -410,7 +410,7 @@ weeks/
To validate results:

1. **Compare against FastHenry**: Run `make check-fasthenry` for independent numerical validation of R/L values.
2. **Mesh Alignment & Accuracy**: When both solvers use uniform meshes (by setting `b: 1.0` in `weeks` to match FastHenry's uniform sub-segmentation in the harness), they match to within **2.3%** across all self and mutual resistance/inductance terms. See [diagnostic_report.md](diagnostic_report.md) and [docs/fasthenry-crosscheck.md](docs/fasthenry-crosscheck.md) for details.
2. **Mesh Alignment & Accuracy**: When both solvers use uniform meshes (by setting `b: 1.0` in `weeks` to match FastHenry's uniform sub-segmentation in the harness), they match to within **2.3%** across all self and mutual resistance/inductance terms. See [docs/fasthenry-crosscheck.md](docs/fasthenry-crosscheck.md) for details.
3. **Online calculators**: Cross-check with analytical formulas.

## Troubleshooting
Expand Down
3 changes: 1 addition & 2 deletions YAML_USER_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -1081,7 +1081,6 @@ conductors:
**In this package:**
- `README.md` - Complete documentation
- `examples/` - Working examples
- `YAML_MIGRATION_GUIDE.md` - Migration details

**External resources:**
- YAML specification: yaml.org
Expand All @@ -1091,7 +1090,7 @@ conductors:
---

**Version:** 1.0
**Last Updated:** February 8, 2025
**Last Updated:** June 8, 2026
**Format:** YAML 1.2

---
Expand Down
2 changes: 1 addition & 1 deletion src/weeks.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ int main(void)

if ((fp = fopen("test.yaml", "r")) == NULL)
{
fprintf(stderr, "ERROR: Can not open input file '%s'\n", "test.yaml");
fprintf(stderr, "ERROR: Cannot open input file '%s'\n", "test.yaml");
fprintf(stderr, "Please create a YAML input file with conductor definitions.\n");
exit(EXIT_FAILURE);
}
Expand Down