Skip to content

Wrong num_cells for DistributedTriangulations with ghost cells #159

@Jai-Tushar

Description

@Jai-Tushar

If the DistributedTriangulation has overlapping host cells, the following code counts some cells several times:

function Geometry.num_cells(a::DistributedTriangulation)
  sum(map(trian->num_cells(trian),local_views(a)))
end

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions