summaryrefslogtreecommitdiff
path: root/js/Linear/INTEGRAL_m.js
diff options
context:
space:
mode:
authorSunil Shetye2018-09-17 16:11:31 +0530
committerSunil Shetye2018-10-08 11:24:12 +0530
commitf389f174481df676c841ebcc87a7b8b313921bbc (patch)
tree2551fd05222a78d4441f5883a97980bda1d6b241 /js/Linear/INTEGRAL_m.js
parent4dc055ae23c9e33e459b7b583a67f92b5972a062 (diff)
downloadsci2js-f389f174481df676c841ebcc87a7b8b313921bbc.tar.gz
sci2js-f389f174481df676c841ebcc87a7b8b313921bbc.tar.bz2
sci2js-f389f174481df676c841ebcc87a7b8b313921bbc.zip
add importset and getContainer to combined.js
Diffstat (limited to 'js/Linear/INTEGRAL_m.js')
-rw-r--r--js/Linear/INTEGRAL_m.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/js/Linear/INTEGRAL_m.js b/js/Linear/INTEGRAL_m.js
index b0efc448..f8ea8987 100644
--- a/js/Linear/INTEGRAL_m.js
+++ b/js/Linear/INTEGRAL_m.js
@@ -149,4 +149,14 @@ function INTEGRAL_m() {
INTEGRAL_m.prototype.get_popup_title = function INTEGRAL_m() {
return this.set_param_popup_title;
}
+ INTEGRAL_m.prototype.importset = function INTEGRAL_m() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.x0 = ary[0];
+ this.reinit = ary[1];
+ this.satur = ary[2];
+ this.maxp = ary[3];
+ this.lowp = ary[4];
+ }
+ INTEGRAL_m.prototype.getContainer = function INTEGRAL_m() { return new BasicBlock(this.x); }
}