summaryrefslogtreecommitdiff
path: root/js/Misc
diff options
context:
space:
mode:
Diffstat (limited to 'js/Misc')
-rw-r--r--js/Misc/BACKLASH.js16
-rw-r--r--js/Misc/BOUNCE.js16
-rw-r--r--js/Misc/BOUNCEXY.js16
-rw-r--r--js/Misc/BPLATFORM.js16
-rw-r--r--js/Misc/CBLOCK.js16
-rw-r--r--js/Misc/CBLOCK4.js16
-rw-r--r--js/Misc/CONSTRAINT2_c.js16
-rw-r--r--js/Misc/CONSTRAINT_c.js16
-rw-r--r--js/Misc/DEADBAND.js16
-rw-r--r--js/Misc/DEBUG.js16
-rw-r--r--js/Misc/DEBUG_SCICOS.js16
-rw-r--r--js/Misc/DIFF_f.js16
-rw-r--r--js/Misc/DSUPER.js16
-rw-r--r--js/Misc/EDGETRIGGER.js16
-rw-r--r--js/Misc/EDGE_TRIGGER.js16
-rw-r--r--js/Misc/ENDBLK.js16
-rw-r--r--js/Misc/Extract_Activation.js16
-rw-r--r--js/Misc/HYSTHERESIS.js16
-rw-r--r--js/Misc/IMPSPLIT_f.js16
-rw-r--r--js/Misc/LOGICAL_OP.js16
-rw-r--r--js/Misc/MBLOCK.js16
-rw-r--r--js/Misc/MEMORY_f.js16
-rw-r--r--js/Misc/MPBLOCK.js16
-rw-r--r--js/Misc/PAL_f.js16
-rw-r--r--js/Misc/PENDULUM_ANIM.js16
-rw-r--r--js/Misc/RATELIMITER.js16
-rw-r--r--js/Misc/RELATIONALOP.js16
-rw-r--r--js/Misc/SPLIT_f.js16
-rw-r--r--js/Misc/SUPER_f.js16
-rw-r--r--js/Misc/TEXT_f.js16
-rw-r--r--js/Misc/c_block.js16
-rw-r--r--js/Misc/fortran_block.js16
-rw-r--r--js/Misc/func_block.js16
-rw-r--r--js/Misc/generic_block.js16
-rw-r--r--js/Misc/generic_block2.js16
-rw-r--r--js/Misc/generic_block3.js16
-rw-r--r--js/Misc/scifunc_block.js16
-rw-r--r--js/Misc/scifunc_block_m.js16
38 files changed, 304 insertions, 304 deletions
diff --git a/js/Misc/BACKLASH.js b/js/Misc/BACKLASH.js
index 2e9e8457..a8f07cf1 100644
--- a/js/Misc/BACKLASH.js
+++ b/js/Misc/BACKLASH.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Misc/BACKLASH.sci" */
function BACKLASH() {
-BACKLASH.prototype.define = function BACKLASH() {
+ BACKLASH.prototype.define = function BACKLASH() {
exprs=[["0"],["1"],["1"]];
model=scicos_model();
model.sim=list("backlash",4);
@@ -12,12 +12,12 @@ model.blocktype="c";
model.dep_ut=[true,false];
gr_i=[];
x=standard_define([3,2],model,exprs,gr_i);
-}
-BACKLASH.prototype.details = function BACKLASH() {
-}
-BACKLASH.prototype.get = function BACKLASH() {
-}
-BACKLASH.prototype.set = function BACKLASH() {
+ }
+ BACKLASH.prototype.details = function BACKLASH() {
+ }
+ BACKLASH.prototype.get = function BACKLASH() {
+ }
+ BACKLASH.prototype.set = function BACKLASH() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -43,5 +43,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Misc/BOUNCE.js b/js/Misc/BOUNCE.js
index 3127a1db..580b3272 100644
--- a/js/Misc/BOUNCE.js
+++ b/js/Misc/BOUNCE.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Misc/BOUNCE.sci" */
function BOUNCE() {
-BOUNCE.prototype.define = function BOUNCE() {
+ BOUNCE.prototype.define = function BOUNCE() {
n=2;
k=1;
ipar=[];
@@ -36,12 +36,12 @@ model.dep_ut=[false,true];
exprs=[[strcat(sci2exp(rpar1))],[strcat(sci2exp(rpar2))],[strcat(sci2exp(walls))],[strcat(sci2exp(x))],[strcat(sci2exp(xd))],[strcat(sci2exp(y))],[strcat(sci2exp(yd))]];
gr_i=[];
x=standard_define([3,2],model,exprs,gr_i);
-}
-BOUNCE.prototype.details = function BOUNCE() {
-}
-BOUNCE.prototype.get = function BOUNCE() {
-}
-BOUNCE.prototype.set = function BOUNCE() {
+ }
+ BOUNCE.prototype.details = function BOUNCE() {
+ }
+ BOUNCE.prototype.get = function BOUNCE() {
+ }
+ BOUNCE.prototype.set = function BOUNCE() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -103,5 +103,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Misc/BOUNCEXY.js b/js/Misc/BOUNCEXY.js
index d04df248..554c4adb 100644
--- a/js/Misc/BOUNCEXY.js
+++ b/js/Misc/BOUNCEXY.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Misc/BOUNCEXY.sci" */
function BOUNCEXY() {
-BOUNCEXY.prototype.define = function BOUNCEXY() {
+ BOUNCEXY.prototype.define = function BOUNCEXY() {
win=-1;
imode=1;
clrs=[[1],[2]];
@@ -33,12 +33,12 @@ model.dep_ut=[false,false];
exprs=[[strcat(sci2exp(clrs))],[strcat(sci2exp(siz))],[strcat(sci2exp(win))],[strcat(sci2exp(1))],[strcat(sci2exp(xmin))],[strcat(sci2exp(xmax))],[strcat(sci2exp(ymin))],[strcat(sci2exp(ymax))]];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-BOUNCEXY.prototype.details = function BOUNCEXY() {
-}
-BOUNCEXY.prototype.get = function BOUNCEXY() {
-}
-BOUNCEXY.prototype.set = function BOUNCEXY() {
+ }
+ BOUNCEXY.prototype.details = function BOUNCEXY() {
+ }
+ BOUNCEXY.prototype.get = function BOUNCEXY() {
+ }
+ BOUNCEXY.prototype.set = function BOUNCEXY() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -89,5 +89,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Misc/BPLATFORM.js b/js/Misc/BPLATFORM.js
index 803b269b..eddd8902 100644
--- a/js/Misc/BPLATFORM.js
+++ b/js/Misc/BPLATFORM.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Misc/BPLATFORM.sci" */
function BPLATFORM() {
-BPLATFORM.prototype.define = function BPLATFORM() {
+ BPLATFORM.prototype.define = function BPLATFORM() {
plen=2;
csiz=2;
phi=0;
@@ -19,12 +19,12 @@ model.dep_ut=[false,false];
exprs=string(model.rpar);
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-BPLATFORM.prototype.details = function BPLATFORM() {
-}
-BPLATFORM.prototype.get = function BPLATFORM() {
-}
-BPLATFORM.prototype.set = function BPLATFORM() {
+ }
+ BPLATFORM.prototype.details = function BPLATFORM() {
+ }
+ BPLATFORM.prototype.get = function BPLATFORM() {
+ }
+ BPLATFORM.prototype.set = function BPLATFORM() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -59,5 +59,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Misc/CBLOCK.js b/js/Misc/CBLOCK.js
index 12bbcb50..f967053d 100644
--- a/js/Misc/CBLOCK.js
+++ b/js/Misc/CBLOCK.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Misc/CBLOCK.sci" */
function CBLOCK() {
-CBLOCK.prototype.define = function CBLOCK() {
+ CBLOCK.prototype.define = function CBLOCK() {
in1=1;
out=1;
clkin=[];
@@ -30,12 +30,12 @@ model.nzcross=ng;
label=list(transpose([funam,"n",sci2exp(in1),sci2exp(out),sci2exp(clkin),sci2exp(clkout),sci2exp(x0),sci2exp(0),sci2exp(z0),sci2exp(rpar),sci2exp(ipar),sci2exp(auto),"y","n"]),[]);
gr_i=[];
x=standard_define([4,2],model,label,gr_i);
-}
-CBLOCK.prototype.details = function CBLOCK() {
-}
-CBLOCK.prototype.get = function CBLOCK() {
-}
-CBLOCK.prototype.set = function CBLOCK() {
+ }
+ CBLOCK.prototype.details = function CBLOCK() {
+ }
+ CBLOCK.prototype.get = function CBLOCK() {
+ }
+ CBLOCK.prototype.set = function CBLOCK() {
x=arg1;
model=arg1.model;
graphics=arg1.graphics;
@@ -124,5 +124,5 @@ if (ok||cancel) {
break;
}
}
-}
+ }
}
diff --git a/js/Misc/CBLOCK4.js b/js/Misc/CBLOCK4.js
index 952114ed..4e22b2f6 100644
--- a/js/Misc/CBLOCK4.js
+++ b/js/Misc/CBLOCK4.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Misc/CBLOCK4.sci" */
function CBLOCK4() {
-CBLOCK4.prototype.define = function CBLOCK4() {
+ CBLOCK4.prototype.define = function CBLOCK4() {
funam="toto";
model=scicos_model();
model.sim=list(" ",2004);
@@ -14,12 +14,12 @@ model.dep_ut=[true,false];
label=list([[funam],["n"],[sci2exp([model.in1,model.in2])],[sci2exp(model.intyp)],[sci2exp([model.out,model.out2])],[sci2exp(model.outtyp)],[sci2exp(model.evtin)],[sci2exp(model.evtout)],[sci2exp(model.state)],[sci2exp(model.dstate)],[sci2exp(model.odstate)],[sci2exp(model.rpar)],[sci2exp(model.ipar)],[sci2exp(model.opar)],[sci2exp(model.nmode)],[sci2exp(model.nzcross)],[sci2exp(model.firing)],["y"],["n"]],[]);
gr_i=[];
x=standard_define([4,2],model,label,gr_i);
-}
-CBLOCK4.prototype.details = function CBLOCK4() {
-}
-CBLOCK4.prototype.get = function CBLOCK4() {
-}
-CBLOCK4.prototype.set = function CBLOCK4() {
+ }
+ CBLOCK4.prototype.details = function CBLOCK4() {
+ }
+ CBLOCK4.prototype.get = function CBLOCK4() {
+ }
+ CBLOCK4.prototype.set = function CBLOCK4() {
x=arg1;
model=arg1.model;
graphics=arg1.graphics;
@@ -106,5 +106,5 @@ break;
}
}
}
-}
+ }
}
diff --git a/js/Misc/CONSTRAINT2_c.js b/js/Misc/CONSTRAINT2_c.js
index cdbb42d8..d0f0a2ca 100644
--- a/js/Misc/CONSTRAINT2_c.js
+++ b/js/Misc/CONSTRAINT2_c.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Misc/CONSTRAINT2_c.sci" */
function CONSTRAINT2_c() {
-CONSTRAINT2_c.prototype.define = function CONSTRAINT2_c() {
+ CONSTRAINT2_c.prototype.define = function CONSTRAINT2_c() {
x0=[0];
xd0=[0];
id=[0];
@@ -15,12 +15,12 @@ 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() {
+ }
+ CONSTRAINT2_c.prototype.details = function CONSTRAINT2_c() {
+ }
+ CONSTRAINT2_c.prototype.get = function CONSTRAINT2_c() {
+ }
+ CONSTRAINT2_c.prototype.set = function CONSTRAINT2_c() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -68,5 +68,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Misc/CONSTRAINT_c.js b/js/Misc/CONSTRAINT_c.js
index a8f723c3..53ec7ebd 100644
--- a/js/Misc/CONSTRAINT_c.js
+++ b/js/Misc/CONSTRAINT_c.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Misc/CONSTRAINT_c.sci" */
function CONSTRAINT_c() {
-CONSTRAINT_c.prototype.define = function CONSTRAINT_c() {
+ CONSTRAINT_c.prototype.define = function CONSTRAINT_c() {
x0=[[0],[0]];
model=scicos_model();
model.sim=list("constraint_c",10004);
@@ -13,12 +13,12 @@ model.dep_ut=[false,true];
exprs="0";
gr_i=[];
x=standard_define([3,2],model,exprs,gr_i);
-}
-CONSTRAINT_c.prototype.details = function CONSTRAINT_c() {
-}
-CONSTRAINT_c.prototype.get = function CONSTRAINT_c() {
-}
-CONSTRAINT_c.prototype.set = function CONSTRAINT_c() {
+ }
+ CONSTRAINT_c.prototype.details = function CONSTRAINT_c() {
+ }
+ CONSTRAINT_c.prototype.get = function CONSTRAINT_c() {
+ }
+ CONSTRAINT_c.prototype.set = function CONSTRAINT_c() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -46,5 +46,5 @@ break;
}
}
}
-}
+ }
}
diff --git a/js/Misc/DEADBAND.js b/js/Misc/DEADBAND.js
index 1b674b92..e4cb6a10 100644
--- a/js/Misc/DEADBAND.js
+++ b/js/Misc/DEADBAND.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Misc/DEADBAND.sci" */
function DEADBAND() {
-DEADBAND.prototype.define = function DEADBAND() {
+ DEADBAND.prototype.define = function DEADBAND() {
minp=-.5;
maxp=.5;
rpar=[[maxp],[minp]];
@@ -16,12 +16,12 @@ model.dep_ut=[true,false];
exprs=[[string(maxp)],[string(minp)],[string(model.nmode)]];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-DEADBAND.prototype.details = function DEADBAND() {
-}
-DEADBAND.prototype.get = function DEADBAND() {
-}
-DEADBAND.prototype.set = function DEADBAND() {
+ }
+ DEADBAND.prototype.details = function DEADBAND() {
+ }
+ DEADBAND.prototype.get = function DEADBAND() {
+ }
+ DEADBAND.prototype.set = function DEADBAND() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -49,5 +49,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Misc/DEBUG.js b/js/Misc/DEBUG.js
index a022bcfe..0368a759 100644
--- a/js/Misc/DEBUG.js
+++ b/js/Misc/DEBUG.js
@@ -1,18 +1,18 @@
/* autogenerated from "macros/Misc/DEBUG.sci" */
function DEBUG() {
-DEBUG.prototype.define = function DEBUG() {
+ DEBUG.prototype.define = function DEBUG() {
model=scicos_model();
model.sim=list("%debug_scicos",99);
model.blocktype="d";
exprs=list("","xcos_debug_gui(flag,block);");
gr_i=[];
x=standard_define([8,2],model,exprs,gr_i);
-}
-DEBUG.prototype.details = function DEBUG() {
-}
-DEBUG.prototype.get = function DEBUG() {
-}
-DEBUG.prototype.set = function DEBUG() {
+ }
+ DEBUG.prototype.details = function DEBUG() {
+ }
+ DEBUG.prototype.get = function DEBUG() {
+ }
+ DEBUG.prototype.set = function DEBUG() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -44,5 +44,5 @@ if (ok) {
graphics.exprs=exprs;
x.graphics=graphics;
}
-}
+ }
}
diff --git a/js/Misc/DEBUG_SCICOS.js b/js/Misc/DEBUG_SCICOS.js
index 201b2e74..fdc690a8 100644
--- a/js/Misc/DEBUG_SCICOS.js
+++ b/js/Misc/DEBUG_SCICOS.js
@@ -1,14 +1,14 @@
/* autogenerated from "macros/Misc/DEBUG_SCICOS.sci" */
function DEBUG_SCICOS() {
-DEBUG_SCICOS.prototype.define = function DEBUG_SCICOS() {
+ DEBUG_SCICOS.prototype.define = function DEBUG_SCICOS() {
x=DEBUG("define");
-}
-DEBUG_SCICOS.prototype.details = function DEBUG_SCICOS() {
-}
-DEBUG_SCICOS.prototype.get = function DEBUG_SCICOS() {
-}
-DEBUG_SCICOS.prototype.set = function DEBUG_SCICOS() {
+ }
+ DEBUG_SCICOS.prototype.details = function DEBUG_SCICOS() {
+ }
+ DEBUG_SCICOS.prototype.get = function DEBUG_SCICOS() {
+ }
+ DEBUG_SCICOS.prototype.set = function DEBUG_SCICOS() {
arg1.gui="DEBUG";
[x,y,typ]=DEBUG("set",arg1);
-}
+ }
}
diff --git a/js/Misc/DIFF_f.js b/js/Misc/DIFF_f.js
index 52c73a39..1d5279f3 100644
--- a/js/Misc/DIFF_f.js
+++ b/js/Misc/DIFF_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Misc/DIFF_f.sci" */
function DIFF_f() {
-DIFF_f.prototype.define = function DIFF_f() {
+ DIFF_f.prototype.define = function DIFF_f() {
x0=[[0],[0]];
model=scicos_model();
model.sim=list("diffblk",10001);
@@ -12,12 +12,12 @@ model.dep_ut=[false,true];
exprs=[[strcat(sci2exp(x0[1-1]))],[strcat(sci2exp(x0[2-1]))]];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-DIFF_f.prototype.details = function DIFF_f() {
-}
-DIFF_f.prototype.get = function DIFF_f() {
-}
-DIFF_f.prototype.set = function DIFF_f() {
+ }
+ DIFF_f.prototype.details = function DIFF_f() {
+ }
+ DIFF_f.prototype.get = function DIFF_f() {
+ }
+ DIFF_f.prototype.set = function DIFF_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -34,5 +34,5 @@ x.model=model;
break;
}
x.model.firing=[];
-}
+ }
}
diff --git a/js/Misc/DSUPER.js b/js/Misc/DSUPER.js
index 88f4a8e8..c7519c99 100644
--- a/js/Misc/DSUPER.js
+++ b/js/Misc/DSUPER.js
@@ -1,12 +1,12 @@
/* autogenerated from "macros/Misc/DSUPER.sci" */
function DSUPER() {
-DSUPER.prototype.define = function DSUPER() {
-}
-DSUPER.prototype.details = function DSUPER() {
-}
-DSUPER.prototype.get = function DSUPER() {
-}
-DSUPER.prototype.set = function DSUPER() {
+ DSUPER.prototype.define = function DSUPER() {
+ }
+ DSUPER.prototype.details = function DSUPER() {
+ }
+ DSUPER.prototype.get = function DSUPER() {
+ }
+ DSUPER.prototype.set = function DSUPER() {
y=needcompile;
typ=list();
graphics=arg1.graphics;
@@ -47,5 +47,5 @@ x.model.rpar=sblock;
} else {
x=arg1;
}
-}
+ }
}
diff --git a/js/Misc/EDGETRIGGER.js b/js/Misc/EDGETRIGGER.js
index 2a562620..e8cbd733 100644
--- a/js/Misc/EDGETRIGGER.js
+++ b/js/Misc/EDGETRIGGER.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Misc/EDGETRIGGER.sci" */
function EDGETRIGGER() {
-EDGETRIGGER.prototype.define = function EDGETRIGGER() {
+ EDGETRIGGER.prototype.define = function EDGETRIGGER() {
edge=1;
model=scicos_model();
model.sim=list("edgetrig",4);
@@ -14,12 +14,12 @@ model.dep_ut=[true,false];
exprs=[string(edge)];
gr_i=[];
x=standard_define([3,2],model,exprs,gr_i);
-}
-EDGETRIGGER.prototype.details = function EDGETRIGGER() {
-}
-EDGETRIGGER.prototype.get = function EDGETRIGGER() {
-}
-EDGETRIGGER.prototype.set = function EDGETRIGGER() {
+ }
+ EDGETRIGGER.prototype.details = function EDGETRIGGER() {
+ }
+ EDGETRIGGER.prototype.get = function EDGETRIGGER() {
+ }
+ EDGETRIGGER.prototype.set = function EDGETRIGGER() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -35,5 +35,5 @@ x.graphics=graphics;
x.model=model;
break;
}
-}
+ }
}
diff --git a/js/Misc/EDGE_TRIGGER.js b/js/Misc/EDGE_TRIGGER.js
index 7829f52f..3462f5e7 100644
--- a/js/Misc/EDGE_TRIGGER.js
+++ b/js/Misc/EDGE_TRIGGER.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Misc/EDGE_TRIGGER.sci" */
function EDGE_TRIGGER() {
-EDGE_TRIGGER.prototype.define = function EDGE_TRIGGER() {
+ EDGE_TRIGGER.prototype.define = function EDGE_TRIGGER() {
scs_m_1=scicos_diagram();
scs_m_1.objs[1-1]=EDGETRIGGER("define");
scs_m_1.objs[2-1]=IFTHEL_f("define");
@@ -79,12 +79,12 @@ model.evtout=1;
model.rpar=scs_m_1;
gr_i=[];
x=standard_define([3,2],model,[],gr_i);
-}
-EDGE_TRIGGER.prototype.details = function EDGE_TRIGGER() {
-}
-EDGE_TRIGGER.prototype.get = function EDGE_TRIGGER() {
-}
-EDGE_TRIGGER.prototype.set = function EDGE_TRIGGER() {
+ }
+ EDGE_TRIGGER.prototype.details = function EDGE_TRIGGER() {
+ }
+ EDGE_TRIGGER.prototype.get = function EDGE_TRIGGER() {
+ }
+ EDGE_TRIGGER.prototype.set = function EDGE_TRIGGER() {
for (i=1;i<=length(arg1.model.rpar.objs);i+=1) {
o=arg1.model.rpar.objs(i);
if (typeof(o)=="Block"&&o.gui=="EDGETRIGGER") {
@@ -152,5 +152,5 @@ y=max(y,needcompile);
}
x=arg1;
typ=newpar;
-}
+ }
}
diff --git a/js/Misc/ENDBLK.js b/js/Misc/ENDBLK.js
index a6eb57bd..f2ad14af 100644
--- a/js/Misc/ENDBLK.js
+++ b/js/Misc/ENDBLK.js
@@ -1,18 +1,18 @@
/* autogenerated from "macros/Misc/ENDBLK.sci" */
function ENDBLK() {
-ENDBLK.prototype.define = function ENDBLK() {
+ ENDBLK.prototype.define = function ENDBLK() {
scs_m_1=scicos_diagram(version="scicos4.2",props=scicos_params(wpar=[-159.096,811.104,-121.216,617.984,1323,1008,331,284,630,480,0,7,1.4],Title="ENDBLK",tol=[0.0001,0.000001,1.000e-10,100001,0,0],tf=100000,context=" ",void1=[],options=tlist(["scsopt","3D","Background","Link","ID","Cmap"],list(true,33),[8,1],[1,5],list([5,1],[4,1]),[0.8,0.8,0.8]),void2=[],void3=[],doc=list()));
scs_m_1.objs[1-1]=scicos_block(gui="END_c",graphics=scicos_graphics(orig=[272.104,249.11733],sz=[40,40],flip=true,theta=0,exprs="1.000E+08",pin=[],pout=[],pein=2,peout=2,gr_i=[],id="",in_implicit=[],out_implicit=[]),model=scicos_model(sim=list("scicosexit",4),in1=[],in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=1,evtout=1,state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="d",firing=1.000e+08,dep_ut=[false,false],label="",nzcross=0,nmode=0,equations=list()),doc=list());
scs_m_1.objs[2-1]=scicos_link(xx=[[292.104],[292.104],[261.83733],[261.83733],[292.104],[292.104]],yy=[[243.40305],[234.45067],[234.45067],[305.584],[305.584],[294.83162]],id="drawlink",thick=[0,0],ct=[5,-1],from=[1,1,0],to=[1,1,1]);
model=scicos_model(sim="csuper",in1=[],in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=scs_m_1,ipar=[],opar=list(),blocktype="h",firing=[],dep_ut=[false,false],label="",nzcross=0,nmode=0,equations=list());
gr_i=[];
x=standard_define([2,2],model,[],gr_i);
-}
-ENDBLK.prototype.details = function ENDBLK() {
-}
-ENDBLK.prototype.get = function ENDBLK() {
-}
-ENDBLK.prototype.set = function ENDBLK() {
+ }
+ ENDBLK.prototype.details = function ENDBLK() {
+ }
+ ENDBLK.prototype.get = function ENDBLK() {
+ }
+ ENDBLK.prototype.set = function ENDBLK() {
for (i=1;i<=length(arg1.model.rpar.objs);i+=1) {
o=arg1.model.rpar.objs(i);
if (typeof(o)=="Block"&&o.gui=="END_c") {
@@ -80,5 +80,5 @@ y=max(y,needcompile);
}
x=arg1;
typ=newpar;
-}
+ }
}
diff --git a/js/Misc/Extract_Activation.js b/js/Misc/Extract_Activation.js
index a72fcade..684f2ee9 100644
--- a/js/Misc/Extract_Activation.js
+++ b/js/Misc/Extract_Activation.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Misc/Extract_Activation.sci" */
function Extract_Activation() {
-Extract_Activation.prototype.define = function Extract_Activation() {
+ Extract_Activation.prototype.define = function Extract_Activation() {
scs_m_1=scicos_diagram();
scs_m_1.objs[1-1]=IFTHEL_f("define");
scs_m_1.objs[2-1]=CLKSOMV_f("define");
@@ -84,12 +84,12 @@ model.evtout=1;
model.rpar=scs_m_1;
gr_i=[];
x=standard_define([3,2],model,[],gr_i);
-}
-Extract_Activation.prototype.details = function Extract_Activation() {
-}
-Extract_Activation.prototype.get = function Extract_Activation() {
-}
-Extract_Activation.prototype.set = function Extract_Activation() {
+ }
+ Extract_Activation.prototype.details = function Extract_Activation() {
+ }
+ Extract_Activation.prototype.get = function Extract_Activation() {
+ }
+ Extract_Activation.prototype.set = function Extract_Activation() {
x=arg1;
-}
+ }
}
diff --git a/js/Misc/HYSTHERESIS.js b/js/Misc/HYSTHERESIS.js
index 010ac369..6083d128 100644
--- a/js/Misc/HYSTHERESIS.js
+++ b/js/Misc/HYSTHERESIS.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Misc/HYSTHERESIS.sci" */
function HYSTHERESIS() {
-HYSTHERESIS.prototype.define = function HYSTHERESIS() {
+ HYSTHERESIS.prototype.define = function HYSTHERESIS() {
in1=1;
ipar=[0];
nzz=2;
@@ -17,12 +17,12 @@ model.dep_ut=[true,false];
exprs=[[string(rpar)],[string(sign(nzz))]];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-HYSTHERESIS.prototype.details = function HYSTHERESIS() {
-}
-HYSTHERESIS.prototype.get = function HYSTHERESIS() {
-}
-HYSTHERESIS.prototype.set = function HYSTHERESIS() {
+ }
+ HYSTHERESIS.prototype.details = function HYSTHERESIS() {
+ }
+ HYSTHERESIS.prototype.get = function HYSTHERESIS() {
+ }
+ HYSTHERESIS.prototype.set = function HYSTHERESIS() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -46,5 +46,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Misc/IMPSPLIT_f.js b/js/Misc/IMPSPLIT_f.js
index 5a43582f..4c741509 100644
--- a/js/Misc/IMPSPLIT_f.js
+++ b/js/Misc/IMPSPLIT_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Misc/IMPSPLIT_f.sci" */
function IMPSPLIT_f() {
-IMPSPLIT_f.prototype.define = function IMPSPLIT_f() {
+ IMPSPLIT_f.prototype.define = function IMPSPLIT_f() {
model=scicos_model();
model.sim="limpsplit";
mo=modelica();
@@ -13,12 +13,12 @@ model.out=ones(size(mo.outputs,"*"),1);
x=standard_define([1,1]/3,model,[],[]);
x.graphics.in_implicit=["I"];
x.graphics.out_implicit=["I","I"];
-}
-IMPSPLIT_f.prototype.details = function IMPSPLIT_f() {
-}
-IMPSPLIT_f.prototype.get = function IMPSPLIT_f() {
-}
-IMPSPLIT_f.prototype.set = function IMPSPLIT_f() {
+ }
+ IMPSPLIT_f.prototype.details = function IMPSPLIT_f() {
+ }
+ IMPSPLIT_f.prototype.get = function IMPSPLIT_f() {
+ }
+ IMPSPLIT_f.prototype.set = function IMPSPLIT_f() {
x=arg1;
-}
+ }
}
diff --git a/js/Misc/LOGICAL_OP.js b/js/Misc/LOGICAL_OP.js
index b2a55c23..98b17ddc 100644
--- a/js/Misc/LOGICAL_OP.js
+++ b/js/Misc/LOGICAL_OP.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Misc/LOGICAL_OP.sci" */
function LOGICAL_OP() {
-LOGICAL_OP.prototype.define = function LOGICAL_OP() {
+ LOGICAL_OP.prototype.define = function LOGICAL_OP() {
in1=[[-1],[-1]];
ipar=[0];
nin=2;
@@ -14,12 +14,12 @@ model.dep_ut=[true,false];
exprs=[[string(nin)],[string(ipar)]];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-LOGICAL_OP.prototype.details = function LOGICAL_OP() {
-}
-LOGICAL_OP.prototype.get = function LOGICAL_OP() {
-}
-LOGICAL_OP.prototype.set = function LOGICAL_OP() {
+ }
+ LOGICAL_OP.prototype.details = function LOGICAL_OP() {
+ }
+ LOGICAL_OP.prototype.get = function LOGICAL_OP() {
+ }
+ LOGICAL_OP.prototype.set = function LOGICAL_OP() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -108,5 +108,5 @@ break;
}
}
}
-}
+ }
}
diff --git a/js/Misc/MBLOCK.js b/js/Misc/MBLOCK.js
index 7ddea15f..a557c31c 100644
--- a/js/Misc/MBLOCK.js
+++ b/js/Misc/MBLOCK.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Misc/MBLOCK.sci" */
function MBLOCK() {
-MBLOCK.prototype.define = function MBLOCK() {
+ MBLOCK.prototype.define = function MBLOCK() {
in1=["u1"];
intype=["I"];
out=[["y1"],["y2"]];
@@ -30,12 +30,12 @@ gr_i=[];
x=standard_define([3,2],model,exprs,gr_i);
x.graphics.in_implicit=intype;
x.graphics.out_implicit=outtype;
-}
-MBLOCK.prototype.details = function MBLOCK() {
-}
-MBLOCK.prototype.get = function MBLOCK() {
-}
-MBLOCK.prototype.set = function MBLOCK() {
+ }
+ MBLOCK.prototype.details = function MBLOCK() {
+ }
+ MBLOCK.prototype.get = function MBLOCK() {
+ }
+ MBLOCK.prototype.set = function MBLOCK() {
x=arg1;
model=arg1.model;
graphics=arg1.graphics;
@@ -269,5 +269,5 @@ x.graphics=graphics;
break;
}
}
-}
+ }
}
diff --git a/js/Misc/MEMORY_f.js b/js/Misc/MEMORY_f.js
index 9947d226..b125a2c6 100644
--- a/js/Misc/MEMORY_f.js
+++ b/js/Misc/MEMORY_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Misc/MEMORY_f.sci" */
function MEMORY_f() {
-MEMORY_f.prototype.define = function MEMORY_f() {
+ MEMORY_f.prototype.define = function MEMORY_f() {
z=0;
in1=1;
exprs=[[string(z)],[string(1)]];
@@ -15,12 +15,12 @@ model.blocktype="m";
model.dep_ut=[false,false];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-MEMORY_f.prototype.details = function MEMORY_f() {
-}
-MEMORY_f.prototype.get = function MEMORY_f() {
-}
-MEMORY_f.prototype.set = function MEMORY_f() {
+ }
+ MEMORY_f.prototype.details = function MEMORY_f() {
+ }
+ MEMORY_f.prototype.get = function MEMORY_f() {
+ }
+ MEMORY_f.prototype.set = function MEMORY_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -52,5 +52,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Misc/MPBLOCK.js b/js/Misc/MPBLOCK.js
index 5969115b..d9048ac5 100644
--- a/js/Misc/MPBLOCK.js
+++ b/js/Misc/MPBLOCK.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Misc/MPBLOCK.sci" */
function MPBLOCK() {
-MPBLOCK.prototype.define = function MPBLOCK() {
+ MPBLOCK.prototype.define = function MPBLOCK() {
in1=["u"];
intype=["I"];
out=[["y1"],["y2"]];
@@ -30,12 +30,12 @@ gr_i=[];
x=standard_define([3,2],model,exprs,gr_i);
x.graphics.in_implicit=intype;
x.graphics.out_implicit=outtype;
-}
-MPBLOCK.prototype.details = function MPBLOCK() {
-}
-MPBLOCK.prototype.get = function MPBLOCK() {
-}
-MPBLOCK.prototype.set = function MPBLOCK() {
+ }
+ MPBLOCK.prototype.details = function MPBLOCK() {
+ }
+ MPBLOCK.prototype.get = function MPBLOCK() {
+ }
+ MPBLOCK.prototype.set = function MPBLOCK() {
x=arg1;
model=arg1.model;
graphics=arg1.graphics;
@@ -261,5 +261,5 @@ x.graphics=graphics;
break;
}
}
-}
+ }
}
diff --git a/js/Misc/PAL_f.js b/js/Misc/PAL_f.js
index f27f6e8d..207c706c 100644
--- a/js/Misc/PAL_f.js
+++ b/js/Misc/PAL_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Misc/PAL_f.sci" */
function PAL_f() {
-PAL_f.prototype.define = function PAL_f() {
+ PAL_f.prototype.define = function PAL_f() {
scs=scicos_diagram();
scs.props.title="Palette";
model=scicos_model();
@@ -13,12 +13,12 @@ model.dep_ut=[false,false];
gr_i=[];
x=standard_define([2,2],model,[],gr_i);
x.graphics.id=scs.props.title(1);
-}
-PAL_f.prototype.details = function PAL_f() {
-}
-PAL_f.prototype.get = function PAL_f() {
-}
-PAL_f.prototype.set = function PAL_f() {
+ }
+ PAL_f.prototype.details = function PAL_f() {
+ }
+ PAL_f.prototype.get = function PAL_f() {
+ }
+ PAL_f.prototype.set = function PAL_f() {
[x,newparameters,needcompile,edited]=scicos(arg1.model.rpar);
arg1.graphics.id=x.props.title(1);
arg1.model.rpar=x;
@@ -26,5 +26,5 @@ x=arg1;
y=[];
typ=[];
%exit=resume(false)
-}
+ }
}
diff --git a/js/Misc/PENDULUM_ANIM.js b/js/Misc/PENDULUM_ANIM.js
index f709fd48..b5c3b29b 100644
--- a/js/Misc/PENDULUM_ANIM.js
+++ b/js/Misc/PENDULUM_ANIM.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Misc/PENDULUM_ANIM.sci" */
function PENDULUM_ANIM() {
-PENDULUM_ANIM.prototype.define = function PENDULUM_ANIM() {
+ PENDULUM_ANIM.prototype.define = function PENDULUM_ANIM() {
plen=2;
csiz=2;
phi=0;
@@ -19,12 +19,12 @@ model.dep_ut=[false,false];
exprs=string(model.rpar);
gr_i=[];
x=standard_define([3,3],model,exprs,gr_i);
-}
-PENDULUM_ANIM.prototype.details = function PENDULUM_ANIM() {
-}
-PENDULUM_ANIM.prototype.get = function PENDULUM_ANIM() {
-}
-PENDULUM_ANIM.prototype.set = function PENDULUM_ANIM() {
+ }
+ PENDULUM_ANIM.prototype.details = function PENDULUM_ANIM() {
+ }
+ PENDULUM_ANIM.prototype.get = function PENDULUM_ANIM() {
+ }
+ PENDULUM_ANIM.prototype.set = function PENDULUM_ANIM() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -59,5 +59,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Misc/RATELIMITER.js b/js/Misc/RATELIMITER.js
index 8905ca01..df9b3d18 100644
--- a/js/Misc/RATELIMITER.js
+++ b/js/Misc/RATELIMITER.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Misc/RATELIMITER.sci" */
function RATELIMITER() {
-RATELIMITER.prototype.define = function RATELIMITER() {
+ RATELIMITER.prototype.define = function RATELIMITER() {
minp=-1;
maxp=1;
rpar=[[maxp],[minp]];
@@ -14,12 +14,12 @@ model.dep_ut=[true,false];
exprs=[[string(maxp)],[string(minp)]];
gr_i=[];
x=standard_define([3.5,2],model,exprs,gr_i);
-}
-RATELIMITER.prototype.details = function RATELIMITER() {
-}
-RATELIMITER.prototype.get = function RATELIMITER() {
-}
-RATELIMITER.prototype.set = function RATELIMITER() {
+ }
+ RATELIMITER.prototype.details = function RATELIMITER() {
+ }
+ RATELIMITER.prototype.get = function RATELIMITER() {
+ }
+ RATELIMITER.prototype.set = function RATELIMITER() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -40,5 +40,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Misc/RELATIONALOP.js b/js/Misc/RELATIONALOP.js
index 96c00852..7f0c3ac3 100644
--- a/js/Misc/RELATIONALOP.js
+++ b/js/Misc/RELATIONALOP.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Misc/RELATIONALOP.sci" */
function RELATIONALOP() {
-RELATIONALOP.prototype.define = function RELATIONALOP() {
+ RELATIONALOP.prototype.define = function RELATIONALOP() {
ipar=[2];
label="&lt";
model=scicos_model();
@@ -14,12 +14,12 @@ exprs=[[string(ipar)],[string(0)]];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
x.graphics.style=["fontSize=13;fontStyle=1;displayedLabel="+label];
-}
-RELATIONALOP.prototype.details = function RELATIONALOP() {
-}
-RELATIONALOP.prototype.get = function RELATIONALOP() {
-}
-RELATIONALOP.prototype.set = function RELATIONALOP() {
+ }
+ RELATIONALOP.prototype.details = function RELATIONALOP() {
+ }
+ RELATIONALOP.prototype.get = function RELATIONALOP() {
+ }
+ RELATIONALOP.prototype.set = function RELATIONALOP() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -89,5 +89,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Misc/SPLIT_f.js b/js/Misc/SPLIT_f.js
index 170c13f8..44374442 100644
--- a/js/Misc/SPLIT_f.js
+++ b/js/Misc/SPLIT_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Misc/SPLIT_f.sci" */
function SPLIT_f() {
-SPLIT_f.prototype.define = function SPLIT_f() {
+ SPLIT_f.prototype.define = function SPLIT_f() {
model=scicos_model();
model.sim="lsplit";
model.in1=-1;
@@ -8,12 +8,12 @@ model.out=[[-1],[-1],[-1]];
model.blocktype="c";
model.dep_ut=[true,false];
x=standard_define([1,1]/3,model,[],[]);
-}
-SPLIT_f.prototype.details = function SPLIT_f() {
-}
-SPLIT_f.prototype.get = function SPLIT_f() {
-}
-SPLIT_f.prototype.set = function SPLIT_f() {
+ }
+ SPLIT_f.prototype.details = function SPLIT_f() {
+ }
+ SPLIT_f.prototype.get = function SPLIT_f() {
+ }
+ SPLIT_f.prototype.set = function SPLIT_f() {
x=arg1;
-}
+ }
}
diff --git a/js/Misc/SUPER_f.js b/js/Misc/SUPER_f.js
index 35d9c0c8..2cbd25ff 100644
--- a/js/Misc/SUPER_f.js
+++ b/js/Misc/SUPER_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Misc/SUPER_f.sci" */
function SUPER_f() {
-SUPER_f.prototype.define = function SUPER_f() {
+ SUPER_f.prototype.define = function SUPER_f() {
scs=scicos_diagram();
scs.props.title="Super Block";
in1=IN_f("define");
@@ -20,12 +20,12 @@ model.blocktype="h";
model.dep_ut=[false,false];
gr_i=[];
x=standard_define([2,2],model,[],gr_i);
-}
-SUPER_f.prototype.details = function SUPER_f() {
-}
-SUPER_f.prototype.get = function SUPER_f() {
-}
-SUPER_f.prototype.set = function SUPER_f() {
+ }
+ SUPER_f.prototype.details = function SUPER_f() {
+ }
+ SUPER_f.prototype.get = function SUPER_f() {
+ }
+ SUPER_f.prototype.set = function SUPER_f() {
xcos(arg1.model.rpar);
-}
+ }
}
diff --git a/js/Misc/TEXT_f.js b/js/Misc/TEXT_f.js
index 07e38785..7fc54bdf 100644
--- a/js/Misc/TEXT_f.js
+++ b/js/Misc/TEXT_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Misc/TEXT_f.sci" */
function TEXT_f() {
-TEXT_f.prototype.define = function TEXT_f() {
+ TEXT_f.prototype.define = function TEXT_f() {
font=2;
siz=1;
model=scicos_model();
@@ -13,12 +13,12 @@ graphics.orig=[0,0];
graphics.sz=[2,1];
graphics.exprs=exprs;
x=mlist(["Text","graphics","model","void","gui"],graphics,model," ","TEXT_f");
-}
-TEXT_f.prototype.details = function TEXT_f() {
-}
-TEXT_f.prototype.get = function TEXT_f() {
-}
-TEXT_f.prototype.set = function TEXT_f() {
+ }
+ TEXT_f.prototype.details = function TEXT_f() {
+ }
+ TEXT_f.prototype.get = function TEXT_f() {
+ }
+ TEXT_f.prototype.set = function TEXT_f() {
x=arg1;
graphics=arg1.graphics;
orig=graphics.orig;
@@ -62,5 +62,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Misc/c_block.js b/js/Misc/c_block.js
index ae72e6d7..fb6ba118 100644
--- a/js/Misc/c_block.js
+++ b/js/Misc/c_block.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Misc/c_block.sci" */
function c_block() {
-c_block.prototype.define = function c_block() {
+ c_block.prototype.define = function c_block() {
in1=1;
out=1;
clkin=[];
@@ -27,12 +27,12 @@ model.dep_ut=[true,false];
label=list([[sci2exp(in1)],[sci2exp(out)],[strcat(sci2exp(rpar))],[funam]],list([]));
gr_i=[];
x=standard_define([3,2],model,label,gr_i);
-}
-c_block.prototype.details = function c_block() {
-}
-c_block.prototype.get = function c_block() {
-}
-c_block.prototype.set = function c_block() {
+ }
+ c_block.prototype.details = function c_block() {
+ }
+ c_block.prototype.get = function c_block() {
+ }
+ c_block.prototype.set = function c_block() {
x=arg1;
model=arg1.model;
graphics=arg1.graphics;
@@ -70,5 +70,5 @@ x.graphics=graphics;
break;
}
}
-}
+ }
}
diff --git a/js/Misc/fortran_block.js b/js/Misc/fortran_block.js
index 47d6a4c4..2fcb385d 100644
--- a/js/Misc/fortran_block.js
+++ b/js/Misc/fortran_block.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Misc/fortran_block.sci" */
function fortran_block() {
-fortran_block.prototype.define = function fortran_block() {
+ fortran_block.prototype.define = function fortran_block() {
model=scicos_model();
model.sim=list(" ",1001);
model.in1=1;
@@ -18,12 +18,12 @@ funam="forty";
label=list([[sci2exp(model.in1)],[sci2exp(model.out)],[strcat(sci2exp(model.rpar))],[funam]],list([]));
gr_i=[];
x=standard_define([4,2],model,label,gr_i);
-}
-fortran_block.prototype.details = function fortran_block() {
-}
-fortran_block.prototype.get = function fortran_block() {
-}
-fortran_block.prototype.set = function fortran_block() {
+ }
+ fortran_block.prototype.details = function fortran_block() {
+ }
+ fortran_block.prototype.get = function fortran_block() {
+ }
+ fortran_block.prototype.set = function fortran_block() {
x=arg1;
model=arg1.model;
graphics=arg1.graphics;
@@ -61,5 +61,5 @@ x.graphics=graphics;
break;
}
}
-}
+ }
}
diff --git a/js/Misc/func_block.js b/js/Misc/func_block.js
index 147b231c..9280580b 100644
--- a/js/Misc/func_block.js
+++ b/js/Misc/func_block.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Misc/func_block.sci" */
function func_block() {
-func_block.prototype.define = function func_block() {
+ func_block.prototype.define = function func_block() {
model=scicos_model();
model.sim=" ";
model.in1=1;
@@ -10,12 +10,12 @@ model.dep_ut=[true,false];
exprs="v=sin(u);y=u*v";
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-func_block.prototype.details = function func_block() {
-}
-func_block.prototype.get = function func_block() {
-}
-func_block.prototype.set = function func_block() {
+ }
+ func_block.prototype.details = function func_block() {
+ }
+ func_block.prototype.get = function func_block() {
+ }
+ func_block.prototype.set = function func_block() {
model=arg1.model;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -28,5 +28,5 @@ graphics.exprs=exprs;
x.model=model;
x.graphics=graphics;
}
-}
+ }
}
diff --git a/js/Misc/generic_block.js b/js/Misc/generic_block.js
index 4168b876..43b51b77 100644
--- a/js/Misc/generic_block.js
+++ b/js/Misc/generic_block.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Misc/generic_block.sci" */
function generic_block() {
-generic_block.prototype.define = function generic_block() {
+ generic_block.prototype.define = function generic_block() {
model=scicos_model();
function_name="sinblk";
funtyp=1;
@@ -19,12 +19,12 @@ model.dep_ut=[true,false];
label=[[function_name],[sci2exp(funtyp)],[sci2exp(model.in1)],[sci2exp(model.out)],[sci2exp(model.evtin)],[sci2exp(model.evtout)],[sci2exp(model.state)],[sci2exp(model.dstate)],[sci2exp(model.rpar)],[sci2exp(model.ipar)],[sci2exp(model.firing)],["y"],["n"]];
gr_i=[];
x=standard_define([2,2],model,label,gr_i);
-}
-generic_block.prototype.details = function generic_block() {
-}
-generic_block.prototype.get = function generic_block() {
-}
-generic_block.prototype.set = function generic_block() {
+ }
+ generic_block.prototype.details = function generic_block() {
+ }
+ generic_block.prototype.get = function generic_block() {
+ }
+ generic_block.prototype.set = function generic_block() {
x=arg1;
model=arg1.model;
graphics=arg1.graphics;
@@ -93,5 +93,5 @@ break;
}
}
needcompile=resume(needcompile)
-}
+ }
}
diff --git a/js/Misc/generic_block2.js b/js/Misc/generic_block2.js
index 022ca310..c1bb7346 100644
--- a/js/Misc/generic_block2.js
+++ b/js/Misc/generic_block2.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Misc/generic_block2.sci" */
function generic_block2() {
-generic_block2.prototype.define = function generic_block2() {
+ generic_block2.prototype.define = function generic_block2() {
model=scicos_model();
function_name="sinblk";
funtyp=1;
@@ -19,12 +19,12 @@ model.dep_ut=[true,false];
label=[[function_name],[sci2exp(funtyp)],[sci2exp(model.in1)],[sci2exp(model.out)],[sci2exp(model.evtin)],[sci2exp(model.evtout)],[sci2exp(model.state)],[sci2exp(model.dstate)],[sci2exp(model.rpar)],[sci2exp(model.ipar)],[sci2exp(model.nmode)],[sci2exp(model.nzcross)],[sci2exp(model.firing)],["y"],["n"]];
gr_i=[];
x=standard_define([2,2],model,label,gr_i);
-}
-generic_block2.prototype.details = function generic_block2() {
-}
-generic_block2.prototype.get = function generic_block2() {
-}
-generic_block2.prototype.set = function generic_block2() {
+ }
+ generic_block2.prototype.details = function generic_block2() {
+ }
+ generic_block2.prototype.get = function generic_block2() {
+ }
+ generic_block2.prototype.set = function generic_block2() {
x=arg1;
model=arg1.model;
graphics=arg1.graphics;
@@ -95,5 +95,5 @@ break;
}
}
needcompile=resume(needcompile)
-}
+ }
}
diff --git a/js/Misc/generic_block3.js b/js/Misc/generic_block3.js
index 5896f051..57f37e7e 100644
--- a/js/Misc/generic_block3.js
+++ b/js/Misc/generic_block3.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Misc/generic_block3.sci" */
function generic_block3() {
-generic_block3.prototype.define = function generic_block3() {
+ generic_block3.prototype.define = function generic_block3() {
model=scicos_model();
function_name="sinblk";
funtyp=4;
@@ -15,12 +15,12 @@ model.dep_ut=[true,false];
label=[[function_name],[sci2exp(funtyp)],[sci2exp([model.in1,model.in2])],[sci2exp(model.intyp)],[sci2exp([model.out,model.out2]),sci2exp(model.outtyp)],[sci2exp(model.evtin)],[sci2exp(model.evtout)],[sci2exp(model.state)],[sci2exp(model.dstate)],[sci2exp(model.odstate)],[sci2exp(model.rpar)],[sci2exp(model.ipar)],[sci2exp(model.opar)],[sci2exp(model.nmode)],[sci2exp(model.nzcross)],[sci2exp(model.firing)],["y"],["n"]];
gr_i=[];
x=standard_define([4,2],model,label,gr_i);
-}
-generic_block3.prototype.details = function generic_block3() {
-}
-generic_block3.prototype.get = function generic_block3() {
-}
-generic_block3.prototype.set = function generic_block3() {
+ }
+ generic_block3.prototype.details = function generic_block3() {
+ }
+ generic_block3.prototype.get = function generic_block3() {
+ }
+ generic_block3.prototype.set = function generic_block3() {
x=arg1;
model=arg1.model;
graphics=arg1.graphics;
@@ -99,5 +99,5 @@ break;
}
}
needcompile=resume(needcompile)
-}
+ }
}
diff --git a/js/Misc/scifunc_block.js b/js/Misc/scifunc_block.js
index 2763d949..12da9da6 100644
--- a/js/Misc/scifunc_block.js
+++ b/js/Misc/scifunc_block.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Misc/scifunc_block.sci" */
function scifunc_block() {
-scifunc_block.prototype.define = function scifunc_block() {
+ scifunc_block.prototype.define = function scifunc_block() {
in1=1;
out=1;
clkin=[];
@@ -27,12 +27,12 @@ model.dep_ut=[true,false];
exprs=list([[sci2exp(in1)],[sci2exp(out)],[sci2exp(clkin)],[sci2exp(clkout)],[strcat(sci2exp(x0))],[strcat(sci2exp(z0))],[strcat(sci2exp(rpar))],[sci2exp(auto)]],list("y1=sin(u1)"," "," ","y1=sin(u1)"," "," "," "));
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-scifunc_block.prototype.details = function scifunc_block() {
-}
-scifunc_block.prototype.get = function scifunc_block() {
-}
-scifunc_block.prototype.set = function scifunc_block() {
+ }
+ scifunc_block.prototype.details = function scifunc_block() {
+ }
+ scifunc_block.prototype.get = function scifunc_block() {
+ }
+ scifunc_block.prototype.set = function scifunc_block() {
needcompile=0;
x=arg1;
model=arg1.model;
@@ -88,5 +88,5 @@ break;
}
}
needcompile=resume(needcompile)
-}
+ }
}
diff --git a/js/Misc/scifunc_block_m.js b/js/Misc/scifunc_block_m.js
index de06196c..e9d6bd44 100644
--- a/js/Misc/scifunc_block_m.js
+++ b/js/Misc/scifunc_block_m.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Misc/scifunc_block_m.sci" */
function scifunc_block_m() {
-scifunc_block_m.prototype.define = function scifunc_block_m() {
+ scifunc_block_m.prototype.define = function scifunc_block_m() {
in1=1;
out=1;
clkin=[];
@@ -32,12 +32,12 @@ model.dep_ut=[true,false];
exprs=list([[sci2exp([in1,in1])],[sci2exp([out,out])],[sci2exp(clkin)],[sci2exp(clkout)],[strcat(sci2exp(x0))],[strcat(sci2exp(z0))],[strcat(sci2exp(rpar))],[sci2exp(auto)],[sci2exp(0)]],list("y1=sin(u1)"," "," ","y1=sin(u1)"," "," "," "));
gr_i=[];
x=standard_define([4,2],model,exprs,gr_i);
-}
-scifunc_block_m.prototype.details = function scifunc_block_m() {
-}
-scifunc_block_m.prototype.get = function scifunc_block_m() {
-}
-scifunc_block_m.prototype.set = function scifunc_block_m() {
+ }
+ scifunc_block_m.prototype.details = function scifunc_block_m() {
+ }
+ scifunc_block_m.prototype.get = function scifunc_block_m() {
+ }
+ scifunc_block_m.prototype.set = function scifunc_block_m() {
needcompile=0;
x=arg1;
model=arg1.model;
@@ -90,5 +90,5 @@ break;
}
}
needcompile=resume(needcompile)
-}
+ }
}