Skip to content

Commit

Permalink
Bug fix for bounding boxes with OpenMP
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiangrimberg committed Feb 5, 2024
1 parent 25aeaff commit 1e55136
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions palace/utils/geodata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,7 @@ void GetAxisAlignedBoundingBox(const mfem::ParMesh &mesh, const mfem::Array<int>
}
else
{
mesh.GetNodes()->HostRead();
const int ref = mesh.GetNodes()->FESpace()->GetMaxElementOrder();
auto BBUpdate = [&ref](mfem::GeometryRefiner refiner, mfem::Geometry::Type &geom,
mfem::ElementTransformation &T, mfem::DenseMatrix &pointmat,
Expand Down

0 comments on commit 1e55136

Please sign in to comment.