Changes between Initial Version and Version 10 of Ticket #1298


Ignore:
Timestamp:
2018-01-11T10:02:43Z (7 years ago)
Author:
Martin Sjölund
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1298

    • Property ComponentBackend
    • Property Milestone Red OctoberFuture
  • Ticket #1298 – Description

    initial v10  
    11Default bindings that refer to other input variables are not handled correctly. The only testcases that use these features work, but only because the binding is somehow ignored (using default modifications anyway).
    22
    3 {{{package HardMagnetic
     3{{{#!mo
     4package HardMagnetic
    45public
    56constant Real mu_0 = 3;
     
    1718  extends HardMagnetic.BaseData(H_cBRef = 900000, B_rRef = 1.2, T_ref = 20 + 273.15, alpha_Br =  -0.001);
    1819end NdFeB;
    19 end HardMagnetic;}}}
     20end HardMagnetic;
     21}}}
    2022
    2123Can be handled while elaborating the call (for any parameter that needs a default binding, replace any cref to another input with the expression used for that input). Note that for functions, order matters so these bindings should be sorted already...