Skip to content

WIP: Updating to BOUT++ with template expressions#585

Open
bendudson wants to merge 2 commits into
masterfrom
bout-lazy-expressions
Open

WIP: Updating to BOUT++ with template expressions#585
bendudson wants to merge 2 commits into
masterfrom
bout-lazy-expressions

Conversation

@bendudson

Copy link
Copy Markdown
Collaborator

Latest BOUT++ next uses BinaryExpr template expressions to merge arithmetic operations.
boutproject/BOUT-dev#3385

Work In Progress to enable compilation and performance testing.

Explicitly evaluate BinaryExpr expressions into fields when needed.
@codecov

codecov Bot commented Jun 22, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 61.05263% with 37 lines in your changes missing coverage. Please review.
✅ Project coverage is 49.29%. Comparing base (0a67d50) to head (2905f46).

Files with missing lines Patch % Lines
src/anomalous_diffusion.cxx 35.00% 13 Missing ⚠️
src/relax_potential.cxx 0.00% 6 Missing ⚠️
src/evolve_pressure.cxx 0.00% 5 Missing ⚠️
src/quasineutral.cxx 66.66% 1 Missing and 1 partial ⚠️
src/sheath_closure.cxx 81.81% 2 Missing ⚠️
src/vorticity.cxx 0.00% 2 Missing ⚠️
src/zero_current.cxx 33.33% 2 Missing ⚠️
include/component.hxx 85.71% 1 Missing ⚠️
src/braginskii_conduction.cxx 50.00% 0 Missing and 1 partial ⚠️
src/braginskii_friction.cxx 66.66% 1 Missing ⚠️
... and 2 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #585      +/-   ##
==========================================
- Coverage   49.32%   49.29%   -0.04%     
==========================================
  Files          96       96              
  Lines       10029    10046      +17     
  Branches     1453     1455       +2     
==========================================
+ Hits         4947     4952       +5     
- Misses       4587     4599      +12     
  Partials      495      495              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

PetscLib throws if `type` exists in the `petsc` section.
This was created by iterating over all sections and checking
`options["type"].isValue()`. Instead use `options.isSet()`.
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