Cells and grid
Working with interface cells
FerriteInterfaceElements.get_interface_cell_shape — Function
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.
FerriteInterfaceElements.get_sides_and_base_indices — Function
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.
Inserting interface cells into a grid
FerriteInterfaceElements.create_interface_cell — Function
create_interface_cell(::Type{C₁}, ::Type{C₂}, nodes_h, nodes_t) where {C₁,C₂}Return a suitable InterfaceCell connecting the facets with nodes_h and nodes_t.
FerriteInterfaceElements.get_interface_base_cell_type — Function
get_interface_base_cell_type(::Type{<:AbstractCell}, ::Type{<:AbstractCell})Return a suitable base type for connecting two cells of given type with an InterfaceCell.