summaryrefslogtreecommitdiff
path: root/js/Sources
diff options
context:
space:
mode:
authorSunil Shetye2018-08-27 14:38:26 +0530
committerSunil Shetye2018-08-27 16:43:40 +0530
commit8e6c876e5582928ab6909cf0f3529a97f622520d (patch)
tree3ce13a7e3552486771d147aec6973ff45a6024a5 /js/Sources
parent5cffbe3aa309e242255b96fe954688c6f1380811 (diff)
downloadsci2js-8e6c876e5582928ab6909cf0f3529a97f622520d.tar.gz
sci2js-8e6c876e5582928ab6909cf0f3529a97f622520d.tar.bz2
sci2js-8e6c876e5582928ab6909cf0f3529a97f622520d.zip
ignore first and last variable by index, not value
Diffstat (limited to 'js/Sources')
-rw-r--r--js/Sources/CLOCK_c.js3
-rw-r--r--js/Sources/CLOCK_c.pickle16
-rw-r--r--js/Sources/CLOCK_f.js5
-rw-r--r--js/Sources/CLOCK_f.pickle16
-rw-r--r--js/Sources/CURVE_c.pickle140
5 files changed, 73 insertions, 107 deletions
diff --git a/js/Sources/CLOCK_c.js b/js/Sources/CLOCK_c.js
index 2c7afa61..38e720c0 100644
--- a/js/Sources/CLOCK_c.js
+++ b/js/Sources/CLOCK_c.js
@@ -68,7 +68,6 @@ function CLOCK_c() {
var ok = true;
this.dt = arguments[0]["dt"];
this.t0 = arguments[0]["t0"];
- this.exprs0 = arguments[0]["exprs0"];
if (!ok) {
break;
}
@@ -77,7 +76,7 @@ function CLOCK_c() {
var ok = false;
}
if (ok) {
- xx.graphics.exprs = this.exprs0;
+ xx.graphics.exprs = exprs0;
this.model.rpar = new ScilabDouble([this.dt],[this.t0]);
this.model.firing = new ScilabDouble([this.t0]);
xx.model = this.model;
diff --git a/js/Sources/CLOCK_c.pickle b/js/Sources/CLOCK_c.pickle
index 229102f8..24f37441 100644
--- a/js/Sources/CLOCK_c.pickle
+++ b/js/Sources/CLOCK_c.pickle
@@ -2,20 +2,18 @@ c__builtin__
set
p0
((lp1
-S'exprs0'
+S'x'
p2
-aS't0'
+aS'model'
p3
-aS'graphics'
+aS'dt'
p4
-aS'x'
+aS't0'
p5
-aS'model'
+aS'graphics'
p6
-aS'dt'
-p7
-atp8
-Rp9
+atp7
+Rp8
.(dp0
S'diagram.objs[1-1]'
p1
diff --git a/js/Sources/CLOCK_f.js b/js/Sources/CLOCK_f.js
index 2a1a0c13..2423b114 100644
--- a/js/Sources/CLOCK_f.js
+++ b/js/Sources/CLOCK_f.js
@@ -68,7 +68,6 @@ function CLOCK_f() {
var ok = true;
this.dt = arguments[0]["dt"];
this.t0 = arguments[0]["t0"];
- this.exprs0 = arguments[0]["exprs0"];
if (!ok) {
break;
}
@@ -78,14 +77,14 @@ function CLOCK_f() {
var ok = false;
}
if (ok) {
- xx.graphics.exprs = this.exprs0;
+ xx.graphics.exprs = exprs0;
this.model.rpar = new ScilabDouble([this.dt]);
this.model.firing = new ScilabDouble([this.t0]);
xx.model = this.model;
break;
}
}
- if (!and([t0_old,dt_old]==[this.t0,this.dt])||!and(this.exprs0==exprs)) {
+ if (!and([t0_old,dt_old]==[this.t0,this.dt])||!and(exprs0==exprs)) {
newpar[size(newpar)+1-1] = path;
}
if (t0_old!=this.t0) {
diff --git a/js/Sources/CLOCK_f.pickle b/js/Sources/CLOCK_f.pickle
index c213a912..3d511cab 100644
--- a/js/Sources/CLOCK_f.pickle
+++ b/js/Sources/CLOCK_f.pickle
@@ -2,20 +2,18 @@ c__builtin__
set
p0
((lp1
-S'exprs0'
+S'x'
p2
-aS't0'
+aS'model'
p3
-aS'graphics'
+aS'dt'
p4
-aS'x'
+aS't0'
p5
-aS'model'
+aS'graphics'
p6
-aS'dt'
-p7
-atp8
-Rp9
+atp7
+Rp8
.(dp0
S'diagram.objs[1-1]'
p1
diff --git a/js/Sources/CURVE_c.pickle b/js/Sources/CURVE_c.pickle
index 2280a785..f95c8324 100644
--- a/js/Sources/CURVE_c.pickle
+++ b/js/Sources/CURVE_c.pickle
@@ -6,146 +6,118 @@ S'mean4'
p2
aS'ymn1'
p3
-aS'inrpar'
+aS'offset'
p4
-aS'sok'
+aS'Pd3'
p5
-aS'graphics'
+aS'inrpar'
p6
-aS'Pd3'
+aS'xx'
p7
-aS'Sawt1_exprs2'
+aS'xy'
p8
-aS'random_n_exprs2'
+aS'Tp3'
p9
-aS'xx'
+aS'iparin'
p10
-aS'xy'
+aS'xmn1'
p11
-aS'Tp3'
+aS'np4'
p12
-aS'iparin'
+aS'np5'
p13
-aS'xmn1'
+aS'Amp3'
p14
-aS'np4'
+aS'curwin'
p15
-aS'np5'
+aS'sAmp'
p16
-aS'Amp3'
+aS'np1'
p17
-aS'curwin'
+aS'Method'
p18
-aS'sAmp'
+aS'xt'
p19
-aS'np1'
+aS'sample5'
p20
-aS'Method'
+aS'graphics'
p21
-aS'xt'
+aS'xa'
p22
-aS'sample5'
+aS'sAmp2'
p23
-aS'Pulse_exprs2'
-p24
aS'Cx'
+p24
+aS'iipar'
p25
aS'filen'
p26
-aS'xa'
+aS'sdelay'
p27
-aS'random_u_exprs2'
+aS'ixy'
p28
-aS'sAmp2'
+aS'seed4'
p29
-aS'zok'
+aS'seed5'
p30
-aS'offset'
+aS'Amp'
p31
-aS'yt'
+aS'PeriodicOption'
p32
-aS'sdelay'
+aS'var4'
p33
-aS'ixy'
+aS'Bias3'
p34
-aS'seed4'
+aS'Cformat'
p35
-aS'seed5'
+aS'xls_open'
p36
-aS'Sawt2_exprs2'
+aS'xmx1'
p37
-aS'Amp'
+aS'inipar'
p38
-aS'PeriodicOption'
+aS'xls_read'
p39
-aS'var4'
+aS'sTp'
p40
-aS'ymx1'
+aS'argn'
p41
-aS'Cformat'
+aS'wp'
p42
-aS'ya'
+aS'phase'
p43
-aS'Bias3'
+aS'min5'
p44
-aS'xls_open'
+aS'yy'
p45
-aS'myans'
-p46
-aS'xmx1'
-p47
-aS'inipar'
-p48
-aS'xls_read'
-p49
-aS'sTp'
-p50
-aS'Sin_exprs2'
-p51
-aS'argn'
-p52
-aS'wp'
-p53
-aS'phase'
-p54
-aS'iipar'
-p55
-aS'min5'
-p56
-aS'mok'
-p57
aS'Pw3'
-p58
+p46
aS'sheetN'
-p59
+p47
aS'xgetmouse'
-p60
+p48
aS'max5'
-p61
+p49
aS'rparin'
-p62
+p50
aS'sample4'
-p63
-aS'Cy'
-p64
+p51
aS'sTp2'
-p65
-aS'yy'
-p66
+p52
aS'x'
-p67
+p53
aS'model'
-p68
+p54
aS'ORDER2'
-p69
+p55
aS'irpar'
-p70
+p56
aS'graf'
-p71
+p57
aS'xye'
-p72
-atp73
-Rp74
+p58
+atp59
+Rp60
.(dp0
S'mean4'
p1