v2.0.1 — Root cleanup follow-up to v2.0.0
Two follow-up commits on top of v2.0.0-vectorized, both pure reorg / doc
polish — zero numerical impact. unit_baseline_reproduces still passes
35/35 at rel diff 0.000e+00 against the committed goldens.
──────────────────────────────────────────────────────────────
Since v2.0.0-vectorized:
──────────────────────────────────────────────────────────────
f585862 chore: relocate 37 active runtime files to runtime/{time,preproc,plug,util}/
db48e76 chore(data): relocate root data files to data/ + gitignore runtime cache
──────────────────────────────────────────────────────────────
Result
──────────────────────────────────────────────────────────────
Root .m files: 285 (v1.0.0) → 42 (v2.0.0) → 4 (v2.0.1)
Root data files: 8 → 8 → 0 (all → data/)
Root is now exactly:
main.m
flowsim_init.m
flowsim_deinit.m
startup.m
Start.dat (must stay at root — preprocessormod does fopen('Start.dat'))
README.md, CHANGELOG.md, LICENSE, .gitignore, tools/, docs/, tests/,
runtime/, legacy/, meshes/, data/, +fs/, base/, solvers/, factories/,
simulacoes/, benchmarks/
──────────────────────────────────────────────────────────────
runtime/ (new in v2.0.1)
──────────────────────────────────────────────────────────────
37 active-runtime .m files, previously at repo root, grouped by role:
runtime/preproc/ preprocessormod, preprocessmethod, benchmark_setup, …
runtime/time/ hydraulic, hydraulic_RE, setmethod, IMPES, IMPEC, IMHEC, …
runtime/plug/ PLUG_bcfunction, PLUG_kfunction, PLUG_sourcefunction,
PLUG_dfunction
runtime/util/ addsource, soil_properties, postprocessor, solver, …
Added to the MATLAB path by flowsim_init (genpath).
──────────────────────────────────────────────────────────────
data/ (new in v2.0.1)
──────────────────────────────────────────────────────────────
data/Perm_Var0p1.mat, Perm_Var2.mat, Perm_Var5.mat
data/Teste_5.xlsx, Teste_6.xlsx
data/malha_D.geo
data/figura_case_4_Qian_teste_h.fig
Plus the ignored runtime cache data/indices_elementos_quadrilateral.mat
which Caso439:inicializar regenerates on first run — cache path is now
derived from mfilename('fullpath'), so it always lands in data/
regardless of MATLAB cwd.
──────────────────────────────────────────────────────────────
Verification
──────────────────────────────────────────────────────────────
tests/unit/unit_baseline_reproduces.m → 35/35 pass, rel 0.000e+00
tests/smoke/smoke_env.m → green
Assembly M frobenius (MPFA-D, M8/num439) → bit-identical to v2.0.0
──────────────────────────────────────────────────────────────
Compatibility
──────────────────────────────────────────────────────────────
Fully backward compatible with v2.0.0-vectorized user code. The only
paths that changed are internal (runtime files moved from repo root,
data files moved from repo root); both are re-added by
flowsim_init.m genpath.
Restore v1.0.0 (pre-vectorization) any time:
git checkout v1.0.0-pre-vectorization
git checkout legacy-v1.0