function spatialDistribution input Real in0; input Real in1; input Real x; input Boolean positiveVelocity; parameter input Real initialPoints[:](each min = 0, each max = 1) = {0.0, 1.0} annotation( __OpenModelica_functionVariability = true); parameter input Real initialValues[size(initialPoints, 1)] = {0.0, 0.0} annotation( __OpenModelica_functionVariability = true); output Real out0; output Real out1; end spatialDistribution;