Change History (2)
comment:1 by , 20 years ago
comment:2 by , 20 years ago
Not relevant anymore. The old pdemodeq approach used this syntax. The extends
bug is fixed in the current implementation.
Note:
See TracTickets
for help on using tickets.
From the file BUGGAR in modeq:
---
Problem with env when using "extends":
domain Domain2D
end Domain2D;
model PDECoeff2
end PDECoeff2;
model GenNeumann
end GenNeumann;
model HeatTransfer
equation
end HeatTransfer;
model HeatNeumann
equation
end HeatNeumann;
function MyFunc
algorithm
end MyFunc;
domain Line2D
extends Domain2D;
end Line2D;
domain Rectangular
extends Domain2D;
end Rectangular;
model PDEModel
end PDEModel;
The commented extends lines causes:
# unknown class 'PDECoeff2' while instantiating rect.eq
# unknown class 'Line2D' while instantiating rect.left
# unknown class 'Line2D' while instantiating rect.top
# unknown class 'Line2D' while instantiating rect.right
# unknown class 'Line2D' while instantiating rect.bottom
---