Skip to content

Commit

Permalink
Merge pull request #131 from gridap/missing_remove_ghost_cells_overload
Browse files Browse the repository at this point in the history
Missing remove ghost cells overload for AdaptiveTriangulations
  • Loading branch information
amartinhuertas authored Oct 1, 2023
2 parents 60e0b5e + 78a9db8 commit 810038a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 5 additions & 0 deletions src/Geometry.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 810038a

Please sign in to comment.