Replace centroid() with vertex_average().
Replace centroid() with vertex_average() to prepare for future deprecation.
Closes #1914
Looks like CI is failing because the version of libmesh is pinned at 1.6.0: https://github.com/openmc-dev/openmc/blob/f0aa6664b3d6836baf688f53267a5fa301693279/tools/ci/gha-install-libmesh.sh#L8
I did notice that yesterday and force pushed with that file changed - it looks like CI is now pulling 1.6.2, but still not passing...
When looking at the release notes for libMesh, I don't see this switch happening until v1.7.0 . 1.7.0 is still pending release as v1.7.0-rc3. Looks like we'll need to wait a bit until we can check out the stable v1.7.0 version of libmesh in CI?
@aprilnovak It looks like this PR could be revived now that libmesh 1.7.0 (and 1.7.1) have been released. Do you want to take a shot at updating this?
Sure thing! Will get to this soon.
Just wanted to ping you on this @aprilnovak. We're going to try to get a release out soon -- probably would make sense to include this in the release too
Is there something else that needs to be done on this PR? I updated it 2 weeks ago and I believe it's ready-to-go. Sorry for not notifying you at the time, figured you'd do another sweep :)
Sorry for the noise, I didn't realize you had updated this :smile: As we discussed offline, let's hold off on merging this until after we do a release.