summaryrefslogtreecommitdiff
path: root/js/NonLinear
diff options
context:
space:
mode:
Diffstat (limited to 'js/NonLinear')
-rw-r--r--js/NonLinear/ABSBLK_f.js2
-rw-r--r--js/NonLinear/ABS_VALUE.js2
-rw-r--r--js/NonLinear/COSBLK_f.js2
-rw-r--r--js/NonLinear/DLRADAPT_f.js2
-rw-r--r--js/NonLinear/EXPBLK_f.js2
-rw-r--r--js/NonLinear/EXPBLK_m.js2
-rw-r--r--js/NonLinear/FSV_f.js2
-rw-r--r--js/NonLinear/INTRP2BLK_f.js2
-rw-r--r--js/NonLinear/INTRPLBLK_f.js2
-rw-r--r--js/NonLinear/INVBLK.js2
-rw-r--r--js/NonLinear/INVBLK_f.js2
-rw-r--r--js/NonLinear/LOGBLK_f.js2
-rw-r--r--js/NonLinear/LOOKUP2D.js2
-rw-r--r--js/NonLinear/LOOKUP_f.js2
-rw-r--r--js/NonLinear/MAXMIN.js2
-rw-r--r--js/NonLinear/MAX_f.js2
-rw-r--r--js/NonLinear/MIN_f.js2
-rw-r--r--js/NonLinear/POWBLK_f.js2
-rw-r--r--js/NonLinear/PRODUCT.js2
-rw-r--r--js/NonLinear/PROD_f.js2
-rw-r--r--js/NonLinear/QUANT_f.js2
-rw-r--r--js/NonLinear/SATURATION.js2
-rw-r--r--js/NonLinear/SAT_f.js2
-rw-r--r--js/NonLinear/SIGNUM.js2
-rw-r--r--js/NonLinear/SINBLK_f.js2
-rw-r--r--js/NonLinear/TANBLK_f.js2
-rw-r--r--js/NonLinear/TrigFun.js2
27 files changed, 54 insertions, 0 deletions
diff --git a/js/NonLinear/ABSBLK_f.js b/js/NonLinear/ABSBLK_f.js
index 7ab1aff9..a33ee869 100644
--- a/js/NonLinear/ABSBLK_f.js
+++ b/js/NonLinear/ABSBLK_f.js
@@ -9,6 +9,7 @@ function ABSBLK_f() {
model.dep_ut = [true,false];
gr_i = [];
this.x = standard_define([2,2],model,[],gr_i);
+ return new BasicBlock(this.x);
}
ABSBLK_f.prototype.details = function ABSBLK_f() {
return this.x;
@@ -17,5 +18,6 @@ function ABSBLK_f() {
}
ABSBLK_f.prototype.set = function ABSBLK_f() {
this.x = arg1;
+ return new BasicBlock(this.x);
}
}
diff --git a/js/NonLinear/ABS_VALUE.js b/js/NonLinear/ABS_VALUE.js
index 9d5074eb..06525a67 100644
--- a/js/NonLinear/ABS_VALUE.js
+++ b/js/NonLinear/ABS_VALUE.js
@@ -13,6 +13,7 @@ function ABS_VALUE() {
exprs = [string([1])];
gr_i = [];
this.x = standard_define([2,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
ABS_VALUE.prototype.details = function ABS_VALUE() {
return this.x;
@@ -43,5 +44,6 @@ function ABS_VALUE() {
break;
}
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/NonLinear/COSBLK_f.js b/js/NonLinear/COSBLK_f.js
index 5420afd1..f39985a3 100644
--- a/js/NonLinear/COSBLK_f.js
+++ b/js/NonLinear/COSBLK_f.js
@@ -10,6 +10,7 @@ function COSBLK_f() {
model.dep_ut = [true,false];
gr_i = [];
this.x = standard_define([2,2],model,[],gr_i);
+ return new BasicBlock(this.x);
}
COSBLK_f.prototype.details = function COSBLK_f() {
return this.x;
@@ -18,5 +19,6 @@ function COSBLK_f() {
}
COSBLK_f.prototype.set = function COSBLK_f() {
this.x = arg1;
+ return new BasicBlock(this.x);
}
}
diff --git a/js/NonLinear/DLRADAPT_f.js b/js/NonLinear/DLRADAPT_f.js
index e985a696..a93eee91 100644
--- a/js/NonLinear/DLRADAPT_f.js
+++ b/js/NonLinear/DLRADAPT_f.js
@@ -21,6 +21,7 @@ function DLRADAPT_f() {
exprs = [[sci2exp(p)],[sci2exp(rn)],[sci2exp(rd,0)],[sci2exp(g)],[sci2exp(last_u)],[sci2exp(last_y)]];
gr_i = [];
this.x = standard_define([2,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
DLRADAPT_f.prototype.details = function DLRADAPT_f() {
return this.x;
@@ -55,5 +56,6 @@ function DLRADAPT_f() {
break;
}
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/NonLinear/EXPBLK_f.js b/js/NonLinear/EXPBLK_f.js
index 05b21300..8dbfaf1f 100644
--- a/js/NonLinear/EXPBLK_f.js
+++ b/js/NonLinear/EXPBLK_f.js
@@ -13,6 +13,7 @@ function EXPBLK_f() {
exprs = ["%e"];
gr_i = [];
this.x = standard_define([2,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
EXPBLK_f.prototype.details = function EXPBLK_f() {
return this.x;
@@ -42,5 +43,6 @@ function EXPBLK_f() {
break;
}
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/NonLinear/EXPBLK_m.js b/js/NonLinear/EXPBLK_m.js
index 1731a333..275d3563 100644
--- a/js/NonLinear/EXPBLK_m.js
+++ b/js/NonLinear/EXPBLK_m.js
@@ -17,6 +17,7 @@ function EXPBLK_m() {
exprs = ["%e"];
gr_i = [];
this.x = standard_define([2,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
EXPBLK_m.prototype.details = function EXPBLK_m() {
return this.x;
@@ -46,5 +47,6 @@ function EXPBLK_m() {
break;
}
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/NonLinear/FSV_f.js b/js/NonLinear/FSV_f.js
index eedc7cf2..2754cca1 100644
--- a/js/NonLinear/FSV_f.js
+++ b/js/NonLinear/FSV_f.js
@@ -11,6 +11,7 @@ function FSV_f() {
exprs = " ";
gr_i = [];
this.x = standard_define([2,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
FSV_f.prototype.details = function FSV_f() {
return this.x;
@@ -19,5 +20,6 @@ function FSV_f() {
}
FSV_f.prototype.set = function FSV_f() {
this.x = arg1;
+ return new BasicBlock(this.x);
}
}
diff --git a/js/NonLinear/INTRP2BLK_f.js b/js/NonLinear/INTRP2BLK_f.js
index 34a642be..6d1b5bf2 100644
--- a/js/NonLinear/INTRP2BLK_f.js
+++ b/js/NonLinear/INTRP2BLK_f.js
@@ -15,6 +15,7 @@ function INTRP2BLK_f() {
exprs = [[strcat(sci2exp(a))],[strcat(sci2exp(b))],[strcat(sci2exp(c,0))]];
gr_i = [];
this.x = standard_define([3,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
INTRP2BLK_f.prototype.details = function INTRP2BLK_f() {
return this.x;
@@ -46,5 +47,6 @@ function INTRP2BLK_f() {
}
}
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/NonLinear/INTRPLBLK_f.js b/js/NonLinear/INTRPLBLK_f.js
index 6ff946f6..28ce39b3 100644
--- a/js/NonLinear/INTRPLBLK_f.js
+++ b/js/NonLinear/INTRPLBLK_f.js
@@ -13,6 +13,7 @@ function INTRPLBLK_f() {
exprs = [[strcat(sci2exp(a))],[strcat(sci2exp(b))]];
gr_i = [];
this.x = standard_define([2,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
INTRPLBLK_f.prototype.details = function INTRPLBLK_f() {
return this.x;
@@ -43,5 +44,6 @@ function INTRPLBLK_f() {
}
}
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/NonLinear/INVBLK.js b/js/NonLinear/INVBLK.js
index 2d359c7b..8c6911f1 100644
--- a/js/NonLinear/INVBLK.js
+++ b/js/NonLinear/INVBLK.js
@@ -11,6 +11,7 @@ function INVBLK() {
exprs = " ";
gr_i = [];
this.x = standard_define([2,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
INVBLK.prototype.details = function INVBLK() {
return this.x;
@@ -19,5 +20,6 @@ function INVBLK() {
}
INVBLK.prototype.set = function INVBLK() {
this.x = arg1;
+ return new BasicBlock(this.x);
}
}
diff --git a/js/NonLinear/INVBLK_f.js b/js/NonLinear/INVBLK_f.js
index db0136bf..4a4facc4 100644
--- a/js/NonLinear/INVBLK_f.js
+++ b/js/NonLinear/INVBLK_f.js
@@ -11,6 +11,7 @@ function INVBLK_f() {
exprs = " ";
gr_i = [];
this.x = standard_define([2,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
INVBLK_f.prototype.details = function INVBLK_f() {
return this.x;
@@ -19,5 +20,6 @@ function INVBLK_f() {
}
INVBLK_f.prototype.set = function INVBLK_f() {
this.x = arg1;
+ return new BasicBlock(this.x);
}
}
diff --git a/js/NonLinear/LOGBLK_f.js b/js/NonLinear/LOGBLK_f.js
index 00f01aa1..3cd0de2f 100644
--- a/js/NonLinear/LOGBLK_f.js
+++ b/js/NonLinear/LOGBLK_f.js
@@ -13,6 +13,7 @@ function LOGBLK_f() {
exprs = "%e";
gr_i = [];
this.x = standard_define([2,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
LOGBLK_f.prototype.details = function LOGBLK_f() {
return this.x;
@@ -44,5 +45,6 @@ function LOGBLK_f() {
}
}
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/NonLinear/LOOKUP2D.js b/js/NonLinear/LOOKUP2D.js
index 1c70c61a..9a741929 100644
--- a/js/NonLinear/LOOKUP2D.js
+++ b/js/NonLinear/LOOKUP2D.js
@@ -19,6 +19,7 @@ function LOOKUP2D() {
exprs = list(strcat(sci2exp(xx)),strcat(sci2exp(yy)),strcat(sci2exp(zz)),sci2exp(Method),Graf);
gr_i = [];
this.x = standard_define([2.5,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
LOOKUP2D.prototype.details = function LOOKUP2D() {
return this.x;
@@ -95,5 +96,6 @@ function LOOKUP2D() {
break;
}
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/NonLinear/LOOKUP_f.js b/js/NonLinear/LOOKUP_f.js
index 335d06fc..0698e536 100644
--- a/js/NonLinear/LOOKUP_f.js
+++ b/js/NonLinear/LOOKUP_f.js
@@ -10,6 +10,7 @@ function LOOKUP_f() {
model.dep_ut = [true,false];
gr_i = [];
this.x = standard_define([2,2],model,[],gr_i);
+ return new BasicBlock(this.x);
}
LOOKUP_f.prototype.details = function LOOKUP_f() {
return this.x;
@@ -47,5 +48,6 @@ function LOOKUP_f() {
break;
}
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/NonLinear/MAXMIN.js b/js/NonLinear/MAXMIN.js
index b6726e22..b2121ccd 100644
--- a/js/NonLinear/MAXMIN.js
+++ b/js/NonLinear/MAXMIN.js
@@ -12,6 +12,7 @@ function MAXMIN() {
gr_i = [];
this.x = standard_define([2,2],model,exprs,gr_i);
this.x.graphics.style = "MAXMIN;displayedLabel=MAX";
+ return new BasicBlock(this.x);
}
MAXMIN.prototype.details = function MAXMIN() {
return this.x;
@@ -65,5 +66,6 @@ function MAXMIN() {
break;
}
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/NonLinear/MAX_f.js b/js/NonLinear/MAX_f.js
index e3640328..33aff00e 100644
--- a/js/NonLinear/MAX_f.js
+++ b/js/NonLinear/MAX_f.js
@@ -12,6 +12,7 @@ function MAX_f() {
exprs = " ";
gr_i = [];
this.x = standard_define([2,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
MAX_f.prototype.details = function MAX_f() {
return this.x;
@@ -20,5 +21,6 @@ function MAX_f() {
}
MAX_f.prototype.set = function MAX_f() {
this.x = arg1;
+ return new BasicBlock(this.x);
}
}
diff --git a/js/NonLinear/MIN_f.js b/js/NonLinear/MIN_f.js
index 18f5d484..98de0f89 100644
--- a/js/NonLinear/MIN_f.js
+++ b/js/NonLinear/MIN_f.js
@@ -12,6 +12,7 @@ function MIN_f() {
exprs = sci2exp(in1);
gr_i = [];
this.x = standard_define([2,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
MIN_f.prototype.details = function MIN_f() {
return this.x;
@@ -20,5 +21,6 @@ function MIN_f() {
}
MIN_f.prototype.set = function MIN_f() {
this.x = arg1;
+ return new BasicBlock(this.x);
}
}
diff --git a/js/NonLinear/POWBLK_f.js b/js/NonLinear/POWBLK_f.js
index 1714dfa1..3b06a6e8 100644
--- a/js/NonLinear/POWBLK_f.js
+++ b/js/NonLinear/POWBLK_f.js
@@ -13,6 +13,7 @@ function POWBLK_f() {
exprs = string(a);
gr_i = [];
this.x = standard_define([2,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
POWBLK_f.prototype.details = function POWBLK_f() {
return this.x;
@@ -45,5 +46,6 @@ function POWBLK_f() {
this.x.model = model;
break;
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/NonLinear/PRODUCT.js b/js/NonLinear/PRODUCT.js
index e6449743..6236adad 100644
--- a/js/NonLinear/PRODUCT.js
+++ b/js/NonLinear/PRODUCT.js
@@ -12,6 +12,7 @@ function PRODUCT() {
exprs = sci2exp(sgn);
gr_i = [];
this.x = standard_define([2,3],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
PRODUCT.prototype.details = function PRODUCT() {
return this.x;
@@ -62,5 +63,6 @@ function PRODUCT() {
break;
}
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/NonLinear/PROD_f.js b/js/NonLinear/PROD_f.js
index af76e144..1f705174 100644
--- a/js/NonLinear/PROD_f.js
+++ b/js/NonLinear/PROD_f.js
@@ -8,6 +8,7 @@ function PROD_f() {
model.blocktype = "c";
model.dep_ut = [true,false];
this.x = standard_define([1,1],model,[],[]);
+ return new BasicBlock(this.x);
}
PROD_f.prototype.details = function PROD_f() {
return this.x;
@@ -16,5 +17,6 @@ function PROD_f() {
}
PROD_f.prototype.set = function PROD_f() {
this.x = arg1;
+ return new BasicBlock(this.x);
}
}
diff --git a/js/NonLinear/QUANT_f.js b/js/NonLinear/QUANT_f.js
index d54077a6..b22f4cc2 100644
--- a/js/NonLinear/QUANT_f.js
+++ b/js/NonLinear/QUANT_f.js
@@ -14,6 +14,7 @@ function QUANT_f() {
exprs = [[string(pas)],[string(meth)]];
gr_i = [];
this.x = standard_define([2,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
QUANT_f.prototype.details = function QUANT_f() {
return this.x;
@@ -52,5 +53,6 @@ function QUANT_f() {
break;
}
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/NonLinear/SATURATION.js b/js/NonLinear/SATURATION.js
index d435baa6..e760e47d 100644
--- a/js/NonLinear/SATURATION.js
+++ b/js/NonLinear/SATURATION.js
@@ -16,6 +16,7 @@ function SATURATION() {
exprs = [[string(maxp)],[string(minp)],[string(model.nmode)]];
gr_i = [];
this.x = standard_define([2,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
SATURATION.prototype.details = function SATURATION() {
return this.x;
@@ -50,5 +51,6 @@ function SATURATION() {
break;
}
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/NonLinear/SAT_f.js b/js/NonLinear/SAT_f.js
index 6686e659..8b87bf2b 100644
--- a/js/NonLinear/SAT_f.js
+++ b/js/NonLinear/SAT_f.js
@@ -16,6 +16,7 @@ function SAT_f() {
exprs = [[string(minp)],[string(maxp)],[string(slope)]];
gr_i = [];
this.x = standard_define([2,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
SAT_f.prototype.details = function SAT_f() {
return this.x;
@@ -46,5 +47,6 @@ function SAT_f() {
break;
}
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/NonLinear/SIGNUM.js b/js/NonLinear/SIGNUM.js
index e5cf8b00..cf4dbfa7 100644
--- a/js/NonLinear/SIGNUM.js
+++ b/js/NonLinear/SIGNUM.js
@@ -13,6 +13,7 @@ function SIGNUM() {
exprs = [string([1])];
gr_i = [];
this.x = standard_define([2,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
SIGNUM.prototype.details = function SIGNUM() {
return this.x;
@@ -43,5 +44,6 @@ function SIGNUM() {
break;
}
}
+ return new BasicBlock(this.x);
}
}
diff --git a/js/NonLinear/SINBLK_f.js b/js/NonLinear/SINBLK_f.js
index f71f9ab2..73837f3b 100644
--- a/js/NonLinear/SINBLK_f.js
+++ b/js/NonLinear/SINBLK_f.js
@@ -10,6 +10,7 @@ function SINBLK_f() {
exprs = " ";
gr_i = [];
this.x = standard_define([2,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
SINBLK_f.prototype.details = function SINBLK_f() {
return this.x;
@@ -18,5 +19,6 @@ function SINBLK_f() {
}
SINBLK_f.prototype.set = function SINBLK_f() {
this.x = arg1;
+ return new BasicBlock(this.x);
}
}
diff --git a/js/NonLinear/TANBLK_f.js b/js/NonLinear/TANBLK_f.js
index c92309d8..0e8294b5 100644
--- a/js/NonLinear/TANBLK_f.js
+++ b/js/NonLinear/TANBLK_f.js
@@ -11,6 +11,7 @@ function TANBLK_f() {
exprs = sci2exp(in1);
gr_i = [];
this.x = standard_define([2,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
TANBLK_f.prototype.details = function TANBLK_f() {
return this.x;
@@ -20,5 +21,6 @@ function TANBLK_f() {
TANBLK_f.prototype.set = function TANBLK_f() {
this.x = arg1;
this.x.model.firing = [];
+ return new BasicBlock(this.x);
}
}
diff --git a/js/NonLinear/TrigFun.js b/js/NonLinear/TrigFun.js
index ef058d3e..e7a622a0 100644
--- a/js/NonLinear/TrigFun.js
+++ b/js/NonLinear/TrigFun.js
@@ -10,6 +10,7 @@ function TrigFun() {
exprs = "sin";
gr_i = [];
this.x = standard_define([4,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
TrigFun.prototype.details = function TrigFun() {
return this.x;
@@ -38,5 +39,6 @@ function TrigFun() {
break;
}
}
+ return new BasicBlock(this.x);
}
}