Skip to content

PetsC API Changes and Fixes#533

Merged
klbudzin merged 8 commits intoUBCHREST:mainfrom
klbudzin:PetscFix
Feb 27, 2025
Merged

PetsC API Changes and Fixes#533
klbudzin merged 8 commits intoUBCHREST:mainfrom
klbudzin:PetscFix

Conversation

@klbudzin
Copy link
Contributor

It's been awhile since we have made sure the latest Petsc was compatable with Ablate. This PR fixes all the incompatabilities due to API changes/ Cad mesh generation/ DM Swarm changes.

… changed with the method so will probably fail
…te fields in dmswarm(I believe) this is the first attempt at switching over what we are doing based on the changes to the petsc examples
…ly causing slightly different calculations for this test which is now fixed. Also included is the version bump, I figured we should finally jump to 13.0 since this is where ablate is now up to date with the latest PetsC.
@klbudzin klbudzin requested a review from kolosret February 18, 2025 18:20
Copy link
Contributor

@kolosret kolosret left a comment

Choose a reason for hiding this comment

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

Looks good, thank you for fixing the tests and updating the petsc calls!

@klbudzin klbudzin merged commit 3987f0d into UBCHREST:main Feb 27, 2025
9 checks passed
@klbudzin klbudzin deleted the PetscFix branch February 27, 2025 22:01
kolosret pushed a commit to kolosret/ablate that referenced this pull request Aug 5, 2025
* DMGetLocalSection API Change

* Change to DMPlexInflate to have a toggle, unsure if other things have changed with the method so will probably fail

* Matt Knepley changed how to grab the cell id and coordinates/coordinate fields in dmswarm(I believe) this switches over to that format

* Have to switch the Set cell DM before finalizing the fields in the particle solver unless petsc hates us.

* The way DMPLex generates a mesh from cad/stp files was changed slightly causing slightly different calculations for this test which is now fixed. Also included is the version bump, I figured we should finally jump to 13.0 since this is where ablate is now up to date with the latest PetsC.

* Formatting

* Removing compressibleFlowCadExample test until we can figure out why it hangs with clang builds with 64 bit indices
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.

2 participants