spatialDistribution allows approximation of variable-speed transport of properties. For further details, see the Modelica Language Specification spatialdistribution().


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;

Generated at 2024-07-18T18:19:59Z by OpenModelicaOpenModelica 1.23.1 using GenerateDoc.mos