This function that sets the thickness in each layer component, given as input the number of layers and each thickness.
It is used in SolidMultilayer_NonHomogeneous.
function layer_fcf_distances extends Modelica.Icons.Function; input Real s[:] "layer thicknesses"; output Real d[size(s, 1) + 1]; end layer_fcf_distances;