summaryrefslogtreecommitdiff
path: root/js/Misc/CONSTRAINT2_c.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Misc/CONSTRAINT2_c.js')
-rw-r--r--js/Misc/CONSTRAINT2_c.js36
1 files changed, 18 insertions, 18 deletions
diff --git a/js/Misc/CONSTRAINT2_c.js b/js/Misc/CONSTRAINT2_c.js
index 1b46dd38..a01c102f 100644
--- a/js/Misc/CONSTRAINT2_c.js
+++ b/js/Misc/CONSTRAINT2_c.js
@@ -1,5 +1,23 @@
/* autogenerated from "macros/Misc/CONSTRAINT2_c.sci" */
function CONSTRAINT2_c() {
+CONSTRAINT2_c.prototype.define = function CONSTRAINT2_c() {
+x0=[0];
+xd0=[0];
+id=[0];
+model=scicos_model();
+model.sim=list("constraint_c",10004);
+model.in1=1;
+model.out=[1,1];
+model.state=[x0,xd0];
+model.ipar=id;
+model.blocktype="c";
+model.dep_ut=[false,true];
+exprs=list(strcat(sci2exp(x0)),strcat(sci2exp(xd0)),strcat(sci2exp(id)));
+gr_i=[];
+x=standard_define([3,2],model,exprs,gr_i);
+}
+CONSTRAINT2_c.prototype.details = function CONSTRAINT2_c() {
+}
CONSTRAINT2_c.prototype.get = function CONSTRAINT2_c() {
}
CONSTRAINT2_c.prototype.set = function CONSTRAINT2_c() {
@@ -51,22 +69,4 @@ break
}
}
}
-CONSTRAINT2_c.prototype.define = function CONSTRAINT2_c() {
-x0=[0];
-xd0=[0];
-id=[0];
-model=scicos_model();
-model.sim=list("constraint_c",10004);
-model.in1=1;
-model.out=[1,1];
-model.state=[x0,xd0];
-model.ipar=id;
-model.blocktype="c";
-model.dep_ut=[false,true];
-exprs=list(strcat(sci2exp(x0)),strcat(sci2exp(xd0)),strcat(sci2exp(id)));
-gr_i=[];
-x=standard_define([3,2],model,exprs,gr_i);
-}
-CONSTRAINT2_c.prototype.details = function CONSTRAINT2_c() {
-}
}