summaryrefslogtreecommitdiff
path: root/js/Linear/INTEGRAL.js
diff options
context:
space:
mode:
authorSunil Shetye2018-07-02 22:51:03 +0530
committerSunil Shetye2018-07-02 22:51:03 +0530
commitca1a67f78f7de40a7956c69e41f4ddae2542f4f2 (patch)
tree6a07bd0428e542567726ff7325fcb71203ad6d15 /js/Linear/INTEGRAL.js
parent5ea6bd919623bb0dd58f235329b985b2bb6cb4ba (diff)
downloadsci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.tar.gz
sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.tar.bz2
sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.zip
add options block
Diffstat (limited to 'js/Linear/INTEGRAL.js')
-rw-r--r--js/Linear/INTEGRAL.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/js/Linear/INTEGRAL.js b/js/Linear/INTEGRAL.js
index 4918da36..224543fc 100644
--- a/js/Linear/INTEGRAL.js
+++ b/js/Linear/INTEGRAL.js
@@ -22,6 +22,14 @@ function INTEGRAL() {
return this.x;
}
INTEGRAL.prototype.get = function INTEGRAL() {
+ var options = {
+ x0:["Initial Condition",this.x0],
+ reinit:["With re-intialization (1:yes, 0:no)",this.reinit],
+ satur:["With saturation (1:yes, 0:no)",this.satur],
+ maxp:["Upper limit",this.maxp],
+ lowp:["Lower limit",this.lowp],
+ }
+ return options;
}
INTEGRAL.prototype.set = function INTEGRAL() {
this.x0 = parseFloat((arguments[0]["x0"]))