Skip to main content

ReplacementMap

ReplacementMap(source, unchanged, removed)

What a refine did to the cells of the existing mesh.

Attributes

Name Type Description
source numpy.ndarray of int, shape (m_new,) For every cell of the new mesh, the cell of the existing mesh it lies in (for an unchanged cell: that same cell). Use it to carry cell data over.
unchanged numpy.ndarray of bool, shape (m_new,) True where the new cell is an existing cell, with the same nodes.
removed numpy.ndarray of int Cells of the existing mesh that are not in the new mesh: replaced by finer or re-patterned cells, or removed by the domain or the water areas.