Skip to content

div_ops: Compile with METRIC_3D#577

Open
bendudson wants to merge 52 commits into
masterfrom
compile-3dmetric
Open

div_ops: Compile with METRIC_3D#577
bendudson wants to merge 52 commits into
masterfrom
compile-3dmetric

Conversation

@bendudson

Copy link
Copy Markdown
Collaborator

Modify Div_par_fvv and Div_par_fvv_heating so that they compile with 3D metrics.

Maybe helps address issue #573

Modify Div_par_fvv and Div_par_fvv_heating so that they compile
with 3D metrics.
@codecov

codecov Bot commented Jun 10, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 35.89744% with 150 lines in your changes missing coverage. Please review.
✅ Project coverage is 57.17%. Comparing base (1d23bd6) to head (4a5154f).
⚠️ Report is 26 commits behind head on master.

Files with missing lines Patch % Lines
src/div_ops.cxx 34.12% 139 Missing ⚠️
src/recycling.cxx 55.55% 4 Missing ⚠️
src/diamagnetic_drift.cxx 0.00% 2 Missing ⚠️
src/electromagnetic.cxx 0.00% 2 Missing ⚠️
include/scale_timederivs.hxx 0.00% 1 Missing ⚠️
src/braginskii_ion_viscosity.cxx 80.00% 1 Missing ⚠️
src/vorticity.cxx 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #577      +/-   ##
==========================================
+ Coverage   56.92%   57.17%   +0.24%     
==========================================
  Files          97       96       -1     
  Lines       10092     9902     -190     
  Branches     1462     1438      -24     
==========================================
- Hits         5745     5661      -84     
+ Misses       3757     3658      -99     
+ Partials      590      583       -7     

☔ 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.

Dataset.hermes.extract_[12]_tokamak_geometry() calls now result in an
error:
```
Traceback (most recent call last):
  File "/home/runner/work/hermes-3/hermes-3/build/tests/integrated/2D-recycling/runtest", line 144, in <module>
    ds = ds.hermes.extract_2d_tokamak_geometry()
  File "/home/runner/.local/lib/python3.10/site-packages/xhermes/accessors.py", line 172, in extract_2d_tokamak_geometry
    raise Exception(
Exception: extract_2d_tokamak_geometry was called twice! Note: this is now done automatically upon loading
```

@bshanahan bshanahan left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks OK to me -- don't think the test failures are related to this PR.

@dschwoerer

Copy link
Copy Markdown
Collaborator

The testing coverage is not really helpful, as so far 3D metrics only enables compiling. There will be more tests coming.

@ZedThree ZedThree left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

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.

4 participants