diff options
author | Sunil Shetye | 2018-07-09 17:07:46 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-07-10 11:24:53 +0530 |
commit | f19304a4fe99556c5ddc35024c818d00ffe7e23a (patch) | |
tree | f795b52492d1962f66c2f84f575ce5074b0668a8 /js/Sinks | |
parent | cbc375d9bc42bc29eeb919a020dfbf15921d3cf0 (diff) | |
download | sci2js-f19304a4fe99556c5ddc35024c818d00ffe7e23a.tar.gz sci2js-f19304a4fe99556c5ddc35024c818d00ffe7e23a.tar.bz2 sci2js-f19304a4fe99556c5ddc35024c818d00ffe7e23a.zip |
handle list separately
Diffstat (limited to 'js/Sinks')
-rw-r--r-- | js/Sinks/AFFICH_m.js | 2 | ||||
-rw-r--r-- | js/Sinks/BARXY.js | 2 | ||||
-rw-r--r-- | js/Sinks/CANIMXY.js | 2 | ||||
-rw-r--r-- | js/Sinks/CANIMXY3D.js | 2 | ||||
-rw-r--r-- | js/Sinks/CEVENTSCOPE.js | 2 | ||||
-rw-r--r-- | js/Sinks/CFSCOPE.js | 2 | ||||
-rw-r--r-- | js/Sinks/CMAT3D.js | 2 | ||||
-rw-r--r-- | js/Sinks/CMATVIEW.js | 2 | ||||
-rw-r--r-- | js/Sinks/CMSCOPE.js | 2 | ||||
-rw-r--r-- | js/Sinks/CSCOPE.js | 2 | ||||
-rw-r--r-- | js/Sinks/CSCOPXY.js | 2 | ||||
-rw-r--r-- | js/Sinks/CSCOPXY3D.js | 2 | ||||
-rw-r--r-- | js/Sinks/TOWS_c.js | 2 | ||||
-rw-r--r-- | js/Sinks/WRITEAU_f.js | 2 | ||||
-rw-r--r-- | js/Sinks/WRITEC_f.js | 2 |
15 files changed, 15 insertions, 15 deletions
diff --git a/js/Sinks/AFFICH_m.js b/js/Sinks/AFFICH_m.js index 5121a006..14957e35 100644 --- a/js/Sinks/AFFICH_m.js +++ b/js/Sinks/AFFICH_m.js @@ -8,7 +8,7 @@ function AFFICH_m() { this.nd = 1; this.in1 = [1,1]; this.model = scicos_model(); - this.model.sim = list("affich2",4); + this.model.sim = list(new ScilabString("affich2"),new ScilabDouble(4)); this.model.in1 = new ScilabDouble(this.in1[1-1][1-1]); this.model.in2 = new ScilabDouble(this.in1[1-1][2-1]); this.model.evtin = new ScilabDouble(1); diff --git a/js/Sinks/BARXY.js b/js/Sinks/BARXY.js index 88d642d7..09aa6382 100644 --- a/js/Sinks/BARXY.js +++ b/js/Sinks/BARXY.js @@ -6,7 +6,7 @@ function BARXY() { this.xmax = 15; this.ymin = -15; this.ymax = 15; - this.model.sim = list("BARXY_sim",5); + this.model.sim = list(new ScilabString("BARXY_sim"),new ScilabDouble(5)); this.model.blocktype = new ScilabString("d"); this.model.dep_ut = [true,false]; this.model.in1 = [[-1],[-1]]; diff --git a/js/Sinks/CANIMXY.js b/js/Sinks/CANIMXY.js index 6779db88..ab1397e4 100644 --- a/js/Sinks/CANIMXY.js +++ b/js/Sinks/CANIMXY.js @@ -13,7 +13,7 @@ function CANIMXY() { this.ymax = 15; this.nbr_curves = 1; this.model = scicos_model(); - this.model.sim = list("canimxy",4); + this.model.sim = list(new ScilabString("canimxy"),new ScilabDouble(4)); this.model.in1 = [[1],[1]]; this.model.in2 = [[1],[1]]; this.model.intyp = [[1],[1]]; diff --git a/js/Sinks/CANIMXY3D.js b/js/Sinks/CANIMXY3D.js index fcbbfcf4..bb181733 100644 --- a/js/Sinks/CANIMXY3D.js +++ b/js/Sinks/CANIMXY3D.js @@ -13,7 +13,7 @@ function CANIMXY3D() { this.vec_z = [[-15],[15]]; this.nbr_curves = 1; this.model = scicos_model(); - this.model.sim = list("canimxy3d",4); + this.model.sim = list(new ScilabString("canimxy3d"),new ScilabDouble(4)); this.model.in1 = [[1],[1],[1]]; this.model.evtin = new ScilabDouble(1); this.model.in2 = [[1],[1],[1]]; diff --git a/js/Sinks/CEVENTSCOPE.js b/js/Sinks/CEVENTSCOPE.js index 4c4319d8..3a9a058f 100644 --- a/js/Sinks/CEVENTSCOPE.js +++ b/js/Sinks/CEVENTSCOPE.js @@ -8,7 +8,7 @@ function CEVENTSCOPE() { this.wpos = [[-1],[-1]]; this.per = 30; this.model = scicos_model(); - this.model.sim = list("cevscpe",4); + this.model.sim = list(new ScilabString("cevscpe"),new ScilabDouble(4)); this.model.evtin = new ScilabDouble(1); this.model.rpar = new ScilabDouble(this.per); this.model.ipar = [[this.win],[1],[this.clrs[this.nclock-1]],[this.wpos.slice()],[this.wdim.slice()]]; diff --git a/js/Sinks/CFSCOPE.js b/js/Sinks/CFSCOPE.js index 099c58b7..8fad283d 100644 --- a/js/Sinks/CFSCOPE.js +++ b/js/Sinks/CFSCOPE.js @@ -10,7 +10,7 @@ function CFSCOPE() { this.ymax = 15; this.per = 30; this.model = scicos_model(); - this.model.sim = list("cfscope",4); + this.model.sim = list(new ScilabString("cfscope"),new ScilabDouble(4)); this.model.evtin = new ScilabDouble(1); this.model.rpar = [[0],[this.ymin],[this.ymax],[this.per]]; this.model.ipar = [[this.win],[1],[this.N],[this.clrs],[this.wpos],[this.wdim],[1],[1]]; diff --git a/js/Sinks/CMAT3D.js b/js/Sinks/CMAT3D.js index 04cefb73..010fa534 100644 --- a/js/Sinks/CMAT3D.js +++ b/js/Sinks/CMAT3D.js @@ -10,7 +10,7 @@ function CMAT3D() { size_x = 1; size_y = 1; this.model = scicos_model(); - this.model.sim = list("cmat3d",4); + this.model.sim = list(new ScilabString("cmat3d"),new ScilabDouble(4)); this.model.in1 = new ScilabDouble(-1); this.model.in2 = new ScilabDouble(-2); this.model.intyp = new ScilabDouble(1); diff --git a/js/Sinks/CMATVIEW.js b/js/Sinks/CMATVIEW.js index 884f173d..03232d25 100644 --- a/js/Sinks/CMATVIEW.js +++ b/js/Sinks/CMATVIEW.js @@ -8,7 +8,7 @@ function CMATVIEW() { alpha_c = 0.24; beta_c = 1; this.model = scicos_model(); - this.model.sim = list("cmatview",4); + this.model.sim = list(new ScilabString("cmatview"),new ScilabDouble(4)); this.model.in1 = new ScilabDouble(-1); this.model.in2 = new ScilabDouble(-2); this.model.intyp = new ScilabDouble(1); diff --git a/js/Sinks/CMSCOPE.js b/js/Sinks/CMSCOPE.js index 6a5670b1..a16eb019 100644 --- a/js/Sinks/CMSCOPE.js +++ b/js/Sinks/CMSCOPE.js @@ -13,7 +13,7 @@ function CMSCOPE() { yy = [[transpose(this.ymin.slice())],[transpose(this.ymax.slice())]]; period = transpose(this.per.slice()); this.model = scicos_model(); - this.model.sim = list("cmscope",4); + this.model.sim = list(new ScilabString("cmscope"),new ScilabDouble(4)); this.model.in1 = this.in1; this.model.in2 = [[1],[1]]; this.model.intyp = [[1],[1]]; diff --git a/js/Sinks/CSCOPE.js b/js/Sinks/CSCOPE.js index 286de553..9e636ba6 100644 --- a/js/Sinks/CSCOPE.js +++ b/js/Sinks/CSCOPE.js @@ -10,7 +10,7 @@ function CSCOPE() { this.ymax = 15; this.per = 30; this.model = scicos_model(); - this.model.sim = list("cscope",4); + this.model.sim = list(new ScilabString("cscope"),new ScilabDouble(4)); this.model.in1 = new ScilabDouble(-1); this.model.in2 = new ScilabDouble(1); this.model.evtin = new ScilabDouble(1); diff --git a/js/Sinks/CSCOPXY.js b/js/Sinks/CSCOPXY.js index 41dda84c..c9f2b9e6 100644 --- a/js/Sinks/CSCOPXY.js +++ b/js/Sinks/CSCOPXY.js @@ -13,7 +13,7 @@ function CSCOPXY() { this.ymax = 15; this.nbr_curves = 1; this.model = scicos_model(); - this.model.sim = list("cscopxy",4); + this.model.sim = list(new ScilabString("cscopxy"),new ScilabDouble(4)); this.model.in1 = [[1],[1]]; this.model.in2 = [[1],[1]]; this.model.intyp = [[1],[1]]; diff --git a/js/Sinks/CSCOPXY3D.js b/js/Sinks/CSCOPXY3D.js index 1a323cc1..1b1b7996 100644 --- a/js/Sinks/CSCOPXY3D.js +++ b/js/Sinks/CSCOPXY3D.js @@ -13,7 +13,7 @@ function CSCOPXY3D() { this.vec_z = [[-15],[15]]; this.nbr_curves = 1; this.model = scicos_model(); - this.model.sim = list("cscopxy3d",4); + this.model.sim = list(new ScilabString("cscopxy3d"),new ScilabDouble(4)); this.model.in1 = [[1],[1],[1]]; this.model.in2 = [[1],[1],[1]]; this.model.intyp = [[1],[1],[1]]; diff --git a/js/Sinks/TOWS_c.js b/js/Sinks/TOWS_c.js index dea5b7ba..5b84ca01 100644 --- a/js/Sinks/TOWS_c.js +++ b/js/Sinks/TOWS_c.js @@ -6,7 +6,7 @@ function TOWS_c() { this.varnam = "A"; this.herit = 0; this.model = scicos_model(); - this.model.sim = list("tows_c",4); + this.model.sim = list(new ScilabString("tows_c"),new ScilabDouble(4)); this.model.in1 = [nu]; this.model.in2 = new ScilabDouble(-2); this.model.intyp = new ScilabDouble(-1); diff --git a/js/Sinks/WRITEAU_f.js b/js/Sinks/WRITEAU_f.js index 529703df..0287ad13 100644 --- a/js/Sinks/WRITEAU_f.js +++ b/js/Sinks/WRITEAU_f.js @@ -9,7 +9,7 @@ function WRITEAU_f() { lunit = 0; this.N = 2; this.model = scicos_model(); - this.model.sim = list("writeau",2); + this.model.sim = list(new ScilabString("writeau"),new ScilabDouble(2)); this.model.in1 = new ScilabDouble(in1); this.model.evtin = new ScilabDouble(1); this.model.dstate = [[-1],[lunit],[zeros((nin+1)*this.N,1)]]; diff --git a/js/Sinks/WRITEC_f.js b/js/Sinks/WRITEC_f.js index 1198b764..0cea309b 100644 --- a/js/Sinks/WRITEC_f.js +++ b/js/Sinks/WRITEC_f.js @@ -9,7 +9,7 @@ function WRITEC_f() { lunit = 0; this.N = 2; this.model = scicos_model(); - this.model.sim = list("writec",2); + this.model.sim = list(new ScilabString("writec"),new ScilabDouble(2)); this.model.in1 = new ScilabDouble(this.in1); this.model.evtin = new ScilabDouble(1); this.model.dstate = [[-1],[lunit],[zeros((nin+1)*this.N,1)]]; |