Skip to content

Add max_nodes passthrough to BVP1D block#230

Merged
milanofthe merged 1 commit into
masterfrom
feat/bvp1d-max-nodes
Jun 25, 2026
Merged

Add max_nodes passthrough to BVP1D block#230
milanofthe merged 1 commit into
masterfrom
feat/bvp1d-max-nodes

Conversation

@milanofthe

Copy link
Copy Markdown
Member

Adds an optional max_nodes parameter to the BVP1D block, forwarded to scipy.integrate.solve_bvp. Defaults to scipy's default of 1000, so existing behaviour is unchanged. Needed for problems whose adaptive mesh refines beyond 1000 nodes (e.g. the pathsim-chem GLC bubble-column model, which refines to ~2750 nodes). Includes tests for the passthrough and the convergence cap.

@codecov

codecov Bot commented Jun 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@milanofthe milanofthe merged commit f987e70 into master Jun 25, 2026
4 checks passed
@milanofthe milanofthe deleted the feat/bvp1d-max-nodes branch June 25, 2026 05:03
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.

1 participant