Skip to content

1D mesh parallelisation#964

Merged
RemDelaporteMathurin merged 8 commits into
festim-dev:fenicsxfrom
jhdark:1D_mesh_parallel
Mar 12, 2025
Merged

1D mesh parallelisation#964
RemDelaporteMathurin merged 8 commits into
festim-dev:fenicsxfrom
jhdark:1D_mesh_parallel

Conversation

@jhdark
Copy link
Copy Markdown
Collaborator

@jhdark jhdark commented Mar 5, 2025

Proposed changes

This small fix allows for 1D meshes to be created in parallel

Types of changes

What types of changes does your code introduce to FESTIM?

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Code refactoring
  • Documentation Update (if none of the other choices apply)
  • New tests

Checklist

  • Black formatted
  • Unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Further comments

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.09%. Comparing base (0573b74) to head (a6f861a).
Report is 201 commits behind head on fenicsx.

Additional details and impacted files
@@           Coverage Diff            @@
##           fenicsx     #964   +/-   ##
========================================
  Coverage    96.08%   96.09%           
========================================
  Files           46       46           
  Lines         2608     2611    +3     
========================================
+ Hits          2506     2509    +3     
  Misses         102      102           

☔ View full report in Codecov by Sentry.
📢 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.

Comment on lines +44 to +46
else:
mesh_points = np.empty((0, 1), dtype=np.float64)
cells = np.empty((0, 2), dtype=np.int64)
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.

Can we try and test this using ipyparrallel?

Copy link
Copy Markdown
Collaborator

@RemDelaporteMathurin RemDelaporteMathurin left a comment

Choose a reason for hiding this comment

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

Looks like we can't get the coverage up even when testing with ipyparallel

@RemDelaporteMathurin RemDelaporteMathurin merged commit dcf7a01 into festim-dev:fenicsx Mar 12, 2025
@RemDelaporteMathurin RemDelaporteMathurin linked an issue Mar 28, 2025 that may be closed by this pull request
@jhdark jhdark deleted the 1D_mesh_parallel branch August 15, 2025 20:40
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.

Mesh1D in parallel bug

2 participants