﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1429	Some kinds of array equations are not supported	Per Östlund	somebody	"The array equation in this model:
{{{
function pointGravity
  input Real r[3] ""position"";
  output Real g[3] ""gravity acceleration"";
  parameter Real k=1;
protected 
  Real n[3];
algorithm 
  n := -r/sqrt(r*r);
  g := k/(r*r) * n;    
end pointGravity;

model Particle
  parameter Real m = 1;
  Real r[3](start = {1,1,0}) ""position"";
  Real v[3](start = {0,1,0}) ""velocity"";
equation 
  der(r) = v;
  m*der(v) = m*pointGravity(r);
end Particle;
}}}
gives the error message (from SimCode.mo):
{{{
Error: Internal error array equations currently only supported on form v = functioncall(...)
}}}"	defect	assigned	low	Future	Backend				Per Östlund Jens.Frenkel@… Willi Braun
