Skip to content

Commit

Permalink
Added geometric function for distributed
Browse files Browse the repository at this point in the history
  • Loading branch information
JordiManyer committed Nov 14, 2024
1 parent 735af61 commit 35952c2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Embedded/SubFacetBoundaryTriangulations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,15 @@ function GridapDistributed.remove_ghost_cells(
GridapDistributed.remove_ghost_cells(glue,trian,gids)
end

for func in (:get_subfacet_normal_vector,:get_ghost_normal_vector,:get_conormal_vector,:get_tangent_vector)
@eval begin
function $func(a::DistributedTriangulation)
fields = map($func,local_views(a))
DistributedCellField(fields,a)
end
end
end

############################################################################################
# This will go to Gridap

Expand Down

0 comments on commit 35952c2

Please sign in to comment.