Skip to content

Release v0.5.0 - #178

Merged
dbrakenhoff merged 67 commits into
mainfrom
dev
Sep 10, 2026
Merged

Release v0.5.0#178
dbrakenhoff merged 67 commits into
mainfrom
dev

Conversation

@dbrakenhoff

@dbrakenhoff dbrakenhoff commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Tracking release progress:

Once these are completed, we can make a new release.

dbrakenhoff and others added 30 commits June 30, 2026 15:01
For semi-confined aquifers (ilap == 0) in steady models, the vcontour_array
method was using aq.z for z-coordinates which includes all layer boundaries
(leaky and aquifer), but the arr array only had values for aquifer layers.
This caused dimension mismatches or incorrect contour plots.

The fix builds a z array that matches the structure of the arr array:
- z[0] = top boundary (where head = hstar)
- z[1], z[3], ... = aquifer tops
- z[2], z[4], ... = aquifer bottoms

This ensures dimensions always match and the head values are properly
aligned with the z-coordinates.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- send one model copy per worker
- modify disvec signature to match head
- parallel progressbars updates per completed chunk
- add disvec_array method
MattBrst and others added 23 commits September 2, 2026 12:58
inhom1d.py's Xsection.plot already showed leffaq as beta text, but
plots.py's separate xsection implementation (used by regular
ModelMaq/Model3D models) never had it. leffll (leaky layer beta) is
not added here since this branch has no leffll plumbing yet -- that
depends on the head_in_leaky_layer work.
Guarded with hasattr since this branch doesn't have leffll plumbed
into AquiferData yet (that lands with the head_in_leaky_layer work).
Once it is, beta will show for leaky layers here too, same as it
already does for aquifers.
self.leffll was referenced unconditionally, but this branch doesn't
plumb leffll through AquiferData yet, so plotting params on any
confined model with a leaky layer raised AttributeError. Guard with
hasattr, consistent with the same guard just added in plots.py.
param_maq's confined/phreatic branch never broadcast leffaq to naq
(unlike the leaky-top branch, which does), so leffaq stayed length 1
for any multi-aquifer confined model. Dormant since the original
loading-efficiency commit; surfaced now because ml.plots.xsection()
and Xsection.plot() both index leffaq[aqi] for aqi up to naq-1.
Added loading efficiency to leaky layers and a new function to compute the head in the vertical direction, even inside leaky layers. 

---------

Co-authored-by: dbrakenhoff <d.brakenhoff@artesia-water.nl>
- set Sll to 0.0 if <= 1e-20
- merge dev
Add loading efficiency to xsection plot
- adds reference to top boundary element to steady/transient models (addition for steady is more for uniformity in code, not very useful)
- add get_bc method to element to create time series of topboundary condition (nice for plotting)
- move ConstantStar creation to Model base class for steady models
@mbakker7
mbakker7 self-requested a review September 9, 2026 08:38

@mbakker7 mbakker7 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After we update the version number, I think we can merge this.

@dbrakenhoff
dbrakenhoff merged commit 882bc67 into main Sep 10, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants