diff --git a/NEWS.md b/NEWS.md index 03bf4169..9d399950 100644 --- a/NEWS.md +++ b/NEWS.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Added missing _get_cell_dof_ids_inner_space() method overload. Since PR[130](https://github.com/gridap/GridapDistributed.jl/pull/130). +- Added missing remove_ghost_cells() overload for AdaptiveTriangulation. Since PR[131](https://github.com/gridap/GridapDistributed.jl/pull/131). ### Changed diff --git a/src/Geometry.jl b/src/Geometry.jl index 59de99fc..d80d9cb9 100644 --- a/src/Geometry.jl +++ b/src/Geometry.jl @@ -531,6 +531,11 @@ function remove_ghost_cells(trian::Union{SkeletonTriangulation,BoundaryTriangula remove_ghost_cells(glue,trian,gids) end +function remove_ghost_cells( + trian::AdaptedTriangulation{Dc,Dp,<:Union{SkeletonTriangulation,BoundaryTriangulation}},gids) where {Dc,Dp} + remove_ghost_cells(trian.trian,gids) +end + function remove_ghost_cells(glue::FaceToFaceGlue,trian,gids) tcell_to_mcell = glue.tface_to_mface mcell_to_part = local_to_owner(gids)