blob: 85bc0f2cc736125078f667b7c4c4b6895efedeb2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
function INIMPL_f() {
INIMPL_f.prototype.define = function INIMPL_f() {
var model = scicos_model();
model.sim = new ScilabString(["inimpl"]);
model.out = new ScilabDouble([-1]);
model.out2 = new ScilabDouble([1]);
model.ipar = new ScilabDouble([1]);
model.dep_ut = new ScilabBoolean([false, false]);
model.blocktype = new ScilabString(["c"]);
var mo = new modelica_function();
mo.model = new ScilabString(["PORT"]);
mo.outputs = new ScilabString(["n"]);
mo.inputs = new ScilabDouble();
model.equations = mo;
var exprs = new ScilabString(["1"]);
var gr_i = new ScilabString(["xstringb(orig(1),orig(2),"INIMPL_f",sz(1),sz(2));"]);
this.x = new standard_define(new ScilabDouble([1, 1]), model, exprs, gr_i);
this.x.graphics.out_implicit = new ScilabString(["I"]);
this.implicitInBlock = new ImplicitInBlock(this.x);
this.displayParameter = [this.implicitInBlock.ordering];
return this.implicitInBlock;
}
INIMPL_f.prototype.details = function INIMPL_f() {
return this.x;
}
}
|