Additional functions

FerriteInterfaceElements.apply_analytical_to_bulk!Function
apply_analytical_to_bulk!(a::AbstractVector, dh::DofHandler{<:Grid{C}},
                  fieldname::Symbol, f::Function, cellset=1:getncells(get_grid(dh))) where {C}

This method catches whether the underlying grid contains InterfaceCells or not. Then, it calls Ferrite.apply_analytical! excluding InterfaceCells.

source