Cells and grid

Working with interface cells

FerriteInterfaceElements.get_interface_cell_shapeFunction
get_interface_cell_shape(::Type{<:AbstractRefShape})

Return the shape of an interface given a base reference shape. E.g. given RefTriangle, RefPrism is returned, meaning two triangles form an interface based on a prism.

source
FerriteInterfaceElements.get_sides_and_base_indicesFunction
get_sides_and_base_indices(::InterfaceCell)
get_sides_and_base_indices(::AbstractCell)
get_sides_and_base_indices(::Type{<:AbstractCell})

Return a tuple containing tuples of a symbol (:here or :there) and an integer. The index of the outer tuple represents the node index. In the inner tuple, the symbol represents the side the node is on and the integer represents the nodes index in the base cell.

source

Inserting interface cells into a grid