summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/Branching/CLKFROM.js16
-rw-r--r--js/Branching/CLKGOTO.js16
-rw-r--r--js/Branching/CLKGotoTagVisibility.js16
-rw-r--r--js/Branching/DEMUX.js16
-rw-r--r--js/Branching/DEMUX_f.js16
-rw-r--r--js/Branching/ESELECT_f.js16
-rw-r--r--js/Branching/EXTRACTOR.js16
-rw-r--r--js/Branching/FROM.js16
-rw-r--r--js/Branching/FROMMO.js16
-rw-r--r--js/Branching/GOTO.js16
-rw-r--r--js/Branching/GOTOMO.js16
-rw-r--r--js/Branching/GotoTagVisibility.js16
-rw-r--r--js/Branching/GotoTagVisibilityMO.js16
-rw-r--r--js/Branching/ISELECT_f.js16
-rw-r--r--js/Branching/ISELECT_m.js16
-rw-r--r--js/Branching/MUX.js16
-rw-r--r--js/Branching/MUX_f.js16
-rw-r--r--js/Branching/M_SWITCH.js16
-rw-r--r--js/Branching/NRMSOM_f.js16
-rw-r--r--js/Branching/RELAY_f.js16
-rw-r--r--js/Branching/SCALAR2VECTOR.js16
-rw-r--r--js/Branching/SELECT_f.js16
-rw-r--r--js/Branching/SELECT_m.js16
-rw-r--r--js/Branching/SWITCH2.js16
-rw-r--r--js/Branching/SWITCH2_m.js16
-rw-r--r--js/Branching/SWITCH_f.js16
-rw-r--r--js/Electrical/CCS.js16
-rw-r--r--js/Electrical/CVS.js16
-rw-r--r--js/Electrical/Capacitor.js16
-rw-r--r--js/Electrical/ConstantVoltage.js16
-rw-r--r--js/Electrical/CurrentSensor.js16
-rw-r--r--js/Electrical/Diode.js16
-rw-r--r--js/Electrical/Ground.js16
-rw-r--r--js/Electrical/Gyrator.js16
-rw-r--r--js/Electrical/IdealTransformer.js16
-rw-r--r--js/Electrical/Inductor.js16
-rw-r--r--js/Electrical/MOTOR.js16
-rw-r--r--js/Electrical/NMOS.js16
-rw-r--r--js/Electrical/NPN.js16
-rw-r--r--js/Electrical/OpAmp.js16
-rw-r--r--js/Electrical/PMOS.js16
-rw-r--r--js/Electrical/PNP.js16
-rw-r--r--js/Electrical/PotentialSensor.js16
-rw-r--r--js/Electrical/Resistor.js16
-rw-r--r--js/Electrical/SineVoltage.js16
-rw-r--r--js/Electrical/Switch.js16
-rw-r--r--js/Electrical/VVsourceAC.js16
-rw-r--r--js/Electrical/VariableResistor.js16
-rw-r--r--js/Electrical/VoltageSensor.js16
-rw-r--r--js/Electrical/VsourceAC.js16
-rw-r--r--js/Events/ANDBLK.js16
-rw-r--r--js/Events/ANDLOG_f.js16
-rw-r--r--js/Events/CLKSOMV_f.js16
-rw-r--r--js/Events/CLKSOM_f.js16
-rw-r--r--js/Events/CLKSPLIT_f.js16
-rw-r--r--js/Events/END_c.js16
-rw-r--r--js/Events/EVTDLY_c.js16
-rw-r--r--js/Events/EVTDLY_f.js16
-rw-r--r--js/Events/EVTGEN_f.js16
-rw-r--r--js/Events/EVTVARDLY.js16
-rw-r--r--js/Events/HALT_f.js16
-rw-r--r--js/Events/IFTHEL_f.js16
-rw-r--r--js/Events/MCLOCK_f.js16
-rw-r--r--js/Events/MFCLCK_f.js16
-rw-r--r--js/Events/VirtualCLK0.js16
-rw-r--r--js/Events/freq_div.js16
-rw-r--r--js/Hydraulics/Bache.js16
-rw-r--r--js/Hydraulics/Flowmeter.js16
-rw-r--r--js/Hydraulics/PerteDP.js16
-rw-r--r--js/Hydraulics/PuitsP.js16
-rw-r--r--js/Hydraulics/SourceP.js16
-rw-r--r--js/Hydraulics/VanneReglante.js16
-rw-r--r--js/IntegerOp/BITCLEAR.js16
-rw-r--r--js/IntegerOp/BITSET.js16
-rw-r--r--js/IntegerOp/CONVERT.js16
-rw-r--r--js/IntegerOp/DFLIPFLOP.js16
-rw-r--r--js/IntegerOp/DLATCH.js16
-rw-r--r--js/IntegerOp/EXTRACTBITS.js16
-rw-r--r--js/IntegerOp/INTMUL.js16
-rw-r--r--js/IntegerOp/JKFLIPFLOP.js16
-rw-r--r--js/IntegerOp/LOGIC.js16
-rw-r--r--js/IntegerOp/SHIFT.js16
-rw-r--r--js/IntegerOp/SRFLIPFLOP.js16
-rw-r--r--js/Linear/BIGSOM_f.js16
-rw-r--r--js/Linear/CLINDUMMY_f.js16
-rw-r--r--js/Linear/CLSS.js16
-rw-r--r--js/Linear/CLSS_f.js16
-rw-r--r--js/Linear/DELAYV_f.js16
-rw-r--r--js/Linear/DELAY_f.js16
-rw-r--r--js/Linear/DERIV.js16
-rw-r--r--js/Linear/DIFF_c.js16
-rw-r--r--js/Linear/DLSS.js16
-rw-r--r--js/Linear/DLSS_f.js16
-rw-r--r--js/Linear/DOLLAR.js16
-rw-r--r--js/Linear/DOLLAR_f.js16
-rw-r--r--js/Linear/DOLLAR_m.js16
-rw-r--r--js/Linear/GAINBLK.js16
-rw-r--r--js/Linear/GAINBLK_f.js16
-rw-r--r--js/Linear/GAIN_f.js16
-rw-r--r--js/Linear/INTEGRAL.js16
-rw-r--r--js/Linear/INTEGRAL_f.js16
-rw-r--r--js/Linear/INTEGRAL_m.js16
-rw-r--r--js/Linear/PID.js16
-rw-r--r--js/Linear/REGISTER.js16
-rw-r--r--js/Linear/REGISTER_f.js16
-rw-r--r--js/Linear/SAMPHOLD.js16
-rw-r--r--js/Linear/SAMPHOLD_m.js16
-rw-r--r--js/Linear/SAMPLEHOLD_f.js16
-rw-r--r--js/Linear/SOM_f.js16
-rw-r--r--js/Linear/SUMMATION.js16
-rw-r--r--js/Linear/SUM_f.js16
-rw-r--r--js/Linear/TCLSS.js16
-rw-r--r--js/Linear/TCLSS_f.js16
-rw-r--r--js/Linear/TIME_DELAY.js16
-rw-r--r--js/Linear/VARIABLE_DELAY.js16
-rw-r--r--js/MatrixOp/CUMSUM.js16
-rw-r--r--js/MatrixOp/EXTRACT.js16
-rw-r--r--js/MatrixOp/EXTTRI.js16
-rw-r--r--js/MatrixOp/MATBKSL.js16
-rw-r--r--js/MatrixOp/MATCATH.js16
-rw-r--r--js/MatrixOp/MATCATV.js16
-rw-r--r--js/MatrixOp/MATDET.js16
-rw-r--r--js/MatrixOp/MATDIAG.js16
-rw-r--r--js/MatrixOp/MATDIV.js16
-rw-r--r--js/MatrixOp/MATEIG.js16
-rw-r--r--js/MatrixOp/MATEXPM.js16
-rw-r--r--js/MatrixOp/MATINV.js16
-rw-r--r--js/MatrixOp/MATLU.js16
-rw-r--r--js/MatrixOp/MATMAGPHI.js16
-rw-r--r--js/MatrixOp/MATMUL.js16
-rw-r--r--js/MatrixOp/MATPINV.js16
-rw-r--r--js/MatrixOp/MATRESH.js16
-rw-r--r--js/MatrixOp/MATSING.js16
-rw-r--r--js/MatrixOp/MATSUM.js16
-rw-r--r--js/MatrixOp/MATTRAN.js16
-rw-r--r--js/MatrixOp/MATZCONJ.js16
-rw-r--r--js/MatrixOp/MATZREIM.js16
-rw-r--r--js/MatrixOp/RICC.js16
-rw-r--r--js/MatrixOp/ROOTCOEF.js16
-rw-r--r--js/MatrixOp/SQRT.js16
-rw-r--r--js/MatrixOp/SUBMAT.js16
-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
-rw-r--r--js/NonLinear/ABSBLK_f.js16
-rw-r--r--js/NonLinear/ABS_VALUE.js16
-rw-r--r--js/NonLinear/COSBLK_f.js16
-rw-r--r--js/NonLinear/DLRADAPT_f.js16
-rw-r--r--js/NonLinear/EXPBLK_f.js16
-rw-r--r--js/NonLinear/EXPBLK_m.js16
-rw-r--r--js/NonLinear/FSV_f.js16
-rw-r--r--js/NonLinear/INTRP2BLK_f.js16
-rw-r--r--js/NonLinear/INTRPLBLK_f.js16
-rw-r--r--js/NonLinear/INVBLK.js16
-rw-r--r--js/NonLinear/INVBLK_f.js16
-rw-r--r--js/NonLinear/LOGBLK_f.js16
-rw-r--r--js/NonLinear/LOOKUP_f.js16
-rw-r--r--js/NonLinear/MAXMIN.js16
-rw-r--r--js/NonLinear/MAX_f.js16
-rw-r--r--js/NonLinear/MIN_f.js16
-rw-r--r--js/NonLinear/POWBLK_f.js16
-rw-r--r--js/NonLinear/PRODUCT.js16
-rw-r--r--js/NonLinear/PROD_f.js16
-rw-r--r--js/NonLinear/QUANT_f.js16
-rw-r--r--js/NonLinear/SATURATION.js16
-rw-r--r--js/NonLinear/SAT_f.js16
-rw-r--r--js/NonLinear/SIGNUM.js16
-rw-r--r--js/NonLinear/SINBLK_f.js16
-rw-r--r--js/NonLinear/TANBLK_f.js16
-rw-r--r--js/NonLinear/TrigFun.js16
-rw-r--r--js/PDE/PDE.js16
-rw-r--r--js/Sinks/AFFICH_m.js16
-rw-r--r--js/Sinks/BARXY.js16
-rw-r--r--js/Sinks/CANIMXY.js16
-rw-r--r--js/Sinks/CANIMXY3D.js16
-rw-r--r--js/Sinks/CEVENTSCOPE.js16
-rw-r--r--js/Sinks/CFSCOPE.js16
-rw-r--r--js/Sinks/CLKOUTV_f.js16
-rw-r--r--js/Sinks/CLKOUT_f.js16
-rw-r--r--js/Sinks/CMAT3D.js16
-rw-r--r--js/Sinks/CMATVIEW.js16
-rw-r--r--js/Sinks/CMSCOPE.js16
-rw-r--r--js/Sinks/CSCOPE.js16
-rw-r--r--js/Sinks/CSCOPXY.js16
-rw-r--r--js/Sinks/CSCOPXY3D.js16
-rw-r--r--js/Sinks/OUTIMPL_f.js16
-rw-r--r--js/Sinks/OUT_f.js16
-rw-r--r--js/Sinks/TOWS_c.js16
-rw-r--r--js/Sinks/TRASH_f.js16
-rw-r--r--js/Sinks/WFILE_f.js16
-rw-r--r--js/Sinks/WRITEAU_f.js16
-rw-r--r--js/Sinks/WRITEC_f.js16
-rw-r--r--js/Sources/CLKINV_f.js16
-rw-r--r--js/Sources/CLKIN_f.js16
-rw-r--r--js/Sources/CLOCK_c.js16
-rw-r--r--js/Sources/CLOCK_f.js16
-rw-r--r--js/Sources/CONST.js16
-rw-r--r--js/Sources/CONST_f.js16
-rw-r--r--js/Sources/CONST_m.js16
-rw-r--r--js/Sources/CURV_f.js16
-rw-r--r--js/Sources/Counter.js16
-rw-r--r--js/Sources/FROMWSB.js16
-rw-r--r--js/Sources/FROMWS_c.js16
-rw-r--r--js/Sources/GENSIN_f.js16
-rw-r--r--js/Sources/GENSQR_f.js16
-rw-r--r--js/Sources/GEN_SQR.js16
-rw-r--r--js/Sources/Ground_g.js16
-rw-r--r--js/Sources/INIMPL_f.js16
-rw-r--r--js/Sources/IN_f.js16
-rw-r--r--js/Sources/Modulo_Count.js16
-rw-r--r--js/Sources/PULSE_SC.js16
-rw-r--r--js/Sources/RAMP.js16
-rw-r--r--js/Sources/RAND_f.js16
-rw-r--r--js/Sources/RAND_m.js16
-rw-r--r--js/Sources/READAU_f.js16
-rw-r--r--js/Sources/READC_f.js16
-rw-r--r--js/Sources/RFILE_f.js16
-rw-r--r--js/Sources/SAWTOOTH_f.js16
-rw-r--r--js/Sources/STEP.js16
-rw-r--r--js/Sources/STEP_FUNCTION.js16
-rw-r--r--js/Sources/SampleCLK.js16
-rw-r--r--js/Sources/TIME_f.js16
-rw-r--r--js/Sources/TKSCALE.js16
-rw-r--r--js/Threshold/GENERAL_f.js16
-rw-r--r--js/Threshold/NEGTOPOS_f.js16
-rw-r--r--js/Threshold/POSTONEG_f.js16
-rw-r--r--js/Threshold/ZCROSS_f.js16
262 files changed, 2096 insertions, 2096 deletions
diff --git a/js/Branching/CLKFROM.js b/js/Branching/CLKFROM.js
index b6625614..c115234a 100644
--- a/js/Branching/CLKFROM.js
+++ b/js/Branching/CLKFROM.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Branching/CLKFROM.sci" */
function CLKFROM() {
-CLKFROM.prototype.define = function CLKFROM() {
+ CLKFROM.prototype.define = function CLKFROM() {
model=scicos_model();
model.sim="clkfrom";
model.evtout=1;
@@ -11,12 +11,12 @@ model.dep_ut=[false,false];
exprs="A";
x=standard_define([2,1],model,exprs," ");
x.graphics.id="From";
-}
-CLKFROM.prototype.details = function CLKFROM() {
-}
-CLKFROM.prototype.get = function CLKFROM() {
-}
-CLKFROM.prototype.set = function CLKFROM() {
+ }
+ CLKFROM.prototype.details = function CLKFROM() {
+ }
+ CLKFROM.prototype.get = function CLKFROM() {
+ }
+ CLKFROM.prototype.set = function CLKFROM() {
x=arg1;
graphics=arg1.graphics;
model=arg1.model;
@@ -39,5 +39,5 @@ x.model=model;
break;
}
needcompile=resume(needcompile)
-}
+ }
}
diff --git a/js/Branching/CLKGOTO.js b/js/Branching/CLKGOTO.js
index 5fe8d261..5abf8a5c 100644
--- a/js/Branching/CLKGOTO.js
+++ b/js/Branching/CLKGOTO.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Branching/CLKGOTO.sci" */
function CLKGOTO() {
-CLKGOTO.prototype.define = function CLKGOTO() {
+ CLKGOTO.prototype.define = function CLKGOTO() {
model=scicos_model();
model.sim="clkgoto";
model.evtin=1;
@@ -12,12 +12,12 @@ model.dep_ut=[false,false];
exprs=[["A"],[sci2exp(1)]];
x=standard_define([2,1],model,exprs," ");
x.graphics.id="Goto";
-}
-CLKGOTO.prototype.details = function CLKGOTO() {
-}
-CLKGOTO.prototype.get = function CLKGOTO() {
-}
-CLKGOTO.prototype.set = function CLKGOTO() {
+ }
+ CLKGOTO.prototype.details = function CLKGOTO() {
+ }
+ CLKGOTO.prototype.get = function CLKGOTO() {
+ }
+ CLKGOTO.prototype.set = function CLKGOTO() {
x=arg1;
graphics=arg1.graphics;
model=arg1.model;
@@ -48,5 +48,5 @@ break;
}
}
needcompile=resume(needcompile)
-}
+ }
}
diff --git a/js/Branching/CLKGotoTagVisibility.js b/js/Branching/CLKGotoTagVisibility.js
index 9dc0667b..d8522b53 100644
--- a/js/Branching/CLKGotoTagVisibility.js
+++ b/js/Branching/CLKGotoTagVisibility.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Branching/CLKGotoTagVisibility.sci" */
function CLKGotoTagVisibility() {
-CLKGotoTagVisibility.prototype.define = function CLKGotoTagVisibility() {
+ CLKGotoTagVisibility.prototype.define = function CLKGotoTagVisibility() {
model=scicos_model();
model.sim="clkgototagvisibility";
model.in1=[];
@@ -17,12 +17,12 @@ model.dep_ut=[false,false];
exprs="A";
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-CLKGotoTagVisibility.prototype.details = function CLKGotoTagVisibility() {
-}
-CLKGotoTagVisibility.prototype.get = function CLKGotoTagVisibility() {
-}
-CLKGotoTagVisibility.prototype.set = function CLKGotoTagVisibility() {
+ }
+ CLKGotoTagVisibility.prototype.details = function CLKGotoTagVisibility() {
+ }
+ CLKGotoTagVisibility.prototype.get = function CLKGotoTagVisibility() {
+ }
+ CLKGotoTagVisibility.prototype.set = function CLKGotoTagVisibility() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -45,5 +45,5 @@ break;
}
}
needcompile=resume(needcompile)
-}
+ }
}
diff --git a/js/Branching/DEMUX.js b/js/Branching/DEMUX.js
index 8108e90f..227bde07 100644
--- a/js/Branching/DEMUX.js
+++ b/js/Branching/DEMUX.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Branching/DEMUX.sci" */
function DEMUX() {
-DEMUX.prototype.define = function DEMUX() {
+ DEMUX.prototype.define = function DEMUX() {
out=2;
model=scicos_model();
model.sim=list("multiplex",4);
@@ -13,12 +13,12 @@ model.dep_ut=[true,false];
exprs=string(out);
gr_i=[];
x=standard_define([.5,2],model,exprs,gr_i);
-}
-DEMUX.prototype.details = function DEMUX() {
-}
-DEMUX.prototype.get = function DEMUX() {
-}
-DEMUX.prototype.set = function DEMUX() {
+ }
+ DEMUX.prototype.details = function DEMUX() {
+ }
+ DEMUX.prototype.get = function DEMUX() {
+ }
+ DEMUX.prototype.set = function DEMUX() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -59,5 +59,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Branching/DEMUX_f.js b/js/Branching/DEMUX_f.js
index 62148072..a104993b 100644
--- a/js/Branching/DEMUX_f.js
+++ b/js/Branching/DEMUX_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Branching/DEMUX_f.sci" */
function DEMUX_f() {
-DEMUX_f.prototype.define = function DEMUX_f() {
+ DEMUX_f.prototype.define = function DEMUX_f() {
out=2;
model=scicos_model();
model.sim=list("demux",1);
@@ -13,12 +13,12 @@ model.dep_ut=[true,false];
exprs=string(out);
gr_i=[];
x=standard_define([.5,2],model,exprs,gr_i);
-}
-DEMUX_f.prototype.details = function DEMUX_f() {
-}
-DEMUX_f.prototype.get = function DEMUX_f() {
-}
-DEMUX_f.prototype.set = function DEMUX_f() {
+ }
+ DEMUX_f.prototype.details = function DEMUX_f() {
+ }
+ DEMUX_f.prototype.get = function DEMUX_f() {
+ }
+ DEMUX_f.prototype.set = function DEMUX_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -59,5 +59,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Branching/ESELECT_f.js b/js/Branching/ESELECT_f.js
index 3df1e630..85efc4d4 100644
--- a/js/Branching/ESELECT_f.js
+++ b/js/Branching/ESELECT_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Branching/ESELECT_f.sci" */
function ESELECT_f() {
-ESELECT_f.prototype.define = function ESELECT_f() {
+ ESELECT_f.prototype.define = function ESELECT_f() {
out=2;
model=scicos_model();
model.sim=list("eselect",-2);
@@ -17,12 +17,12 @@ model.nzcross=0;
gr_i=[];
exprs=[[string(out)],[string(1)],[string(model.nmode)]];
x=standard_define([4,2],model,exprs,gr_i);
-}
-ESELECT_f.prototype.details = function ESELECT_f() {
-}
-ESELECT_f.prototype.get = function ESELECT_f() {
-}
-ESELECT_f.prototype.set = function ESELECT_f() {
+ }
+ ESELECT_f.prototype.details = function ESELECT_f() {
+ }
+ ESELECT_f.prototype.get = function ESELECT_f() {
+ }
+ ESELECT_f.prototype.set = function ESELECT_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -63,5 +63,5 @@ break;
}
}
}
-}
+ }
}
diff --git a/js/Branching/EXTRACTOR.js b/js/Branching/EXTRACTOR.js
index 3715884e..7a1ee136 100644
--- a/js/Branching/EXTRACTOR.js
+++ b/js/Branching/EXTRACTOR.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Branching/EXTRACTOR.sci" */
function EXTRACTOR() {
-EXTRACTOR.prototype.define = function EXTRACTOR() {
+ EXTRACTOR.prototype.define = function EXTRACTOR() {
ind=1;
model=scicos_model();
model.sim=list("extractor",4);
@@ -12,12 +12,12 @@ model.ipar=ind;
exprs=[sci2exp(ind)];
gr_i=[];
x=standard_define([3,2],model,exprs,gr_i);
-}
-EXTRACTOR.prototype.details = function EXTRACTOR() {
-}
-EXTRACTOR.prototype.get = function EXTRACTOR() {
-}
-EXTRACTOR.prototype.set = function EXTRACTOR() {
+ }
+ EXTRACTOR.prototype.details = function EXTRACTOR() {
+ }
+ EXTRACTOR.prototype.get = function EXTRACTOR() {
+ }
+ EXTRACTOR.prototype.set = function EXTRACTOR() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -38,5 +38,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Branching/FROM.js b/js/Branching/FROM.js
index 7c6375c1..765a40b6 100644
--- a/js/Branching/FROM.js
+++ b/js/Branching/FROM.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Branching/FROM.sci" */
function FROM() {
-FROM.prototype.define = function FROM() {
+ FROM.prototype.define = function FROM() {
model=scicos_model();
model.sim="from";
model.in1=[];
@@ -17,12 +17,12 @@ exprs=["A"];
gr_i=[];
x=standard_define([2,1],model,exprs,gr_i);
x.graphics.id="From";
-}
-FROM.prototype.details = function FROM() {
-}
-FROM.prototype.get = function FROM() {
-}
-FROM.prototype.set = function FROM() {
+ }
+ FROM.prototype.details = function FROM() {
+ }
+ FROM.prototype.get = function FROM() {
+ }
+ FROM.prototype.set = function FROM() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -45,5 +45,5 @@ break;
}
}
needcompile=resume(needcompile)
-}
+ }
}
diff --git a/js/Branching/FROMMO.js b/js/Branching/FROMMO.js
index fa8bd862..76243bce 100644
--- a/js/Branching/FROMMO.js
+++ b/js/Branching/FROMMO.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Branching/FROMMO.sci" */
function FROMMO() {
-FROMMO.prototype.define = function FROMMO() {
+ FROMMO.prototype.define = function FROMMO() {
model=scicos_model();
model.sim="frommo";
model.in1=[];
@@ -20,12 +20,12 @@ exprs=["A"];
gr_i=[];
x=standard_define([2,1],model,exprs,gr_i);
x.graphics.out_implicit=["I"];
-}
-FROMMO.prototype.details = function FROMMO() {
-}
-FROMMO.prototype.get = function FROMMO() {
-}
-FROMMO.prototype.set = function FROMMO() {
+ }
+ FROMMO.prototype.details = function FROMMO() {
+ }
+ FROMMO.prototype.get = function FROMMO() {
+ }
+ FROMMO.prototype.set = function FROMMO() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -48,5 +48,5 @@ break;
}
}
needcompile=resume(needcompile)
-}
+ }
}
diff --git a/js/Branching/GOTO.js b/js/Branching/GOTO.js
index 4cec350c..5c8b2ec8 100644
--- a/js/Branching/GOTO.js
+++ b/js/Branching/GOTO.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Branching/GOTO.sci" */
function GOTO() {
-GOTO.prototype.define = function GOTO() {
+ GOTO.prototype.define = function GOTO() {
model=scicos_model();
model.sim="goto";
model.in1=-1;
@@ -17,12 +17,12 @@ exprs=[["A"],[sci2exp(1)]];
gr_i=[];
x=standard_define([2,1],model,exprs,gr_i);
x.graphics.id="Goto";
-}
-GOTO.prototype.details = function GOTO() {
-}
-GOTO.prototype.get = function GOTO() {
-}
-GOTO.prototype.set = function GOTO() {
+ }
+ GOTO.prototype.details = function GOTO() {
+ }
+ GOTO.prototype.get = function GOTO() {
+ }
+ GOTO.prototype.set = function GOTO() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -52,5 +52,5 @@ break;
}
}
needcompile=resume(needcompile)
-}
+ }
}
diff --git a/js/Branching/GOTOMO.js b/js/Branching/GOTOMO.js
index 4b6bf046..3776d224 100644
--- a/js/Branching/GOTOMO.js
+++ b/js/Branching/GOTOMO.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Branching/GOTOMO.sci" */
function GOTOMO() {
-GOTOMO.prototype.define = function GOTOMO() {
+ GOTOMO.prototype.define = function GOTOMO() {
model=scicos_model();
model.sim="gotomo";
model.in1=-1;
@@ -20,12 +20,12 @@ exprs=[["A"],[sci2exp(1)]];
gr_i=[];
x=standard_define([2,1],model,exprs,gr_i);
x.graphics.in_implicit=["I"];
-}
-GOTOMO.prototype.details = function GOTOMO() {
-}
-GOTOMO.prototype.get = function GOTOMO() {
-}
-GOTOMO.prototype.set = function GOTOMO() {
+ }
+ GOTOMO.prototype.details = function GOTOMO() {
+ }
+ GOTOMO.prototype.get = function GOTOMO() {
+ }
+ GOTOMO.prototype.set = function GOTOMO() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -55,5 +55,5 @@ break;
}
}
needcompile=resume(needcompile)
-}
+ }
}
diff --git a/js/Branching/GotoTagVisibility.js b/js/Branching/GotoTagVisibility.js
index 8235f9b8..f81b8c1f 100644
--- a/js/Branching/GotoTagVisibility.js
+++ b/js/Branching/GotoTagVisibility.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Branching/GotoTagVisibility.sci" */
function GotoTagVisibility() {
-GotoTagVisibility.prototype.define = function GotoTagVisibility() {
+ GotoTagVisibility.prototype.define = function GotoTagVisibility() {
model=scicos_model();
model.sim="gototagvisibility";
model.in1=[];
@@ -17,12 +17,12 @@ model.dep_ut=[false,false];
exprs="A";
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-GotoTagVisibility.prototype.details = function GotoTagVisibility() {
-}
-GotoTagVisibility.prototype.get = function GotoTagVisibility() {
-}
-GotoTagVisibility.prototype.set = function GotoTagVisibility() {
+ }
+ GotoTagVisibility.prototype.details = function GotoTagVisibility() {
+ }
+ GotoTagVisibility.prototype.get = function GotoTagVisibility() {
+ }
+ GotoTagVisibility.prototype.set = function GotoTagVisibility() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -45,5 +45,5 @@ break;
}
}
needcompile=resume(needcompile)
-}
+ }
}
diff --git a/js/Branching/GotoTagVisibilityMO.js b/js/Branching/GotoTagVisibilityMO.js
index 49a2c9e1..39795841 100644
--- a/js/Branching/GotoTagVisibilityMO.js
+++ b/js/Branching/GotoTagVisibilityMO.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Branching/GotoTagVisibilityMO.sci" */
function GotoTagVisibilityMO() {
-GotoTagVisibilityMO.prototype.define = function GotoTagVisibilityMO() {
+ GotoTagVisibilityMO.prototype.define = function GotoTagVisibilityMO() {
model=scicos_model();
model.sim="gototagvisibilitymo";
model.in1=[];
@@ -17,12 +17,12 @@ model.dep_ut=[false,false];
exprs="A";
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-GotoTagVisibilityMO.prototype.details = function GotoTagVisibilityMO() {
-}
-GotoTagVisibilityMO.prototype.get = function GotoTagVisibilityMO() {
-}
-GotoTagVisibilityMO.prototype.set = function GotoTagVisibilityMO() {
+ }
+ GotoTagVisibilityMO.prototype.details = function GotoTagVisibilityMO() {
+ }
+ GotoTagVisibilityMO.prototype.get = function GotoTagVisibilityMO() {
+ }
+ GotoTagVisibilityMO.prototype.set = function GotoTagVisibilityMO() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -45,5 +45,5 @@ break;
}
}
needcompile=resume(needcompile)
-}
+ }
}
diff --git a/js/Branching/ISELECT_f.js b/js/Branching/ISELECT_f.js
index 81e149de..49100737 100644
--- a/js/Branching/ISELECT_f.js
+++ b/js/Branching/ISELECT_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Branching/ISELECT_f.sci" */
function ISELECT_f() {
-ISELECT_f.prototype.define = function ISELECT_f() {
+ ISELECT_f.prototype.define = function ISELECT_f() {
z0=0;
out=[[-1],[-1]];
nout=2;
@@ -15,12 +15,12 @@ model.dep_ut=[true,false];
exprs=[[string(nout)],[string(z0+1)]];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-ISELECT_f.prototype.details = function ISELECT_f() {
-}
-ISELECT_f.prototype.get = function ISELECT_f() {
-}
-ISELECT_f.prototype.set = function ISELECT_f() {
+ }
+ ISELECT_f.prototype.details = function ISELECT_f() {
+ }
+ ISELECT_f.prototype.get = function ISELECT_f() {
+ }
+ ISELECT_f.prototype.set = function ISELECT_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -43,5 +43,5 @@ break;
}
}
}
-}
+ }
}
diff --git a/js/Branching/ISELECT_m.js b/js/Branching/ISELECT_m.js
index e86fa950..0169a200 100644
--- a/js/Branching/ISELECT_m.js
+++ b/js/Branching/ISELECT_m.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Branching/ISELECT_m.sci" */
function ISELECT_m() {
-ISELECT_m.prototype.define = function ISELECT_m() {
+ ISELECT_m.prototype.define = function ISELECT_m() {
z0=1;
nout=2;
model=scicos_model();
@@ -23,12 +23,12 @@ model.dep_ut=[true,false];
exprs=[[sci2exp(1)],[sci2exp(nout)],[sci2exp(z0)]];
gr_i=[];
x=standard_define([3,2],model,exprs,gr_i);
-}
-ISELECT_m.prototype.details = function ISELECT_m() {
-}
-ISELECT_m.prototype.get = function ISELECT_m() {
-}
-ISELECT_m.prototype.set = function ISELECT_m() {
+ }
+ ISELECT_m.prototype.details = function ISELECT_m() {
+ }
+ ISELECT_m.prototype.get = function ISELECT_m() {
+ }
+ ISELECT_m.prototype.set = function ISELECT_m() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -60,5 +60,5 @@ break;
}
}
}
-}
+ }
}
diff --git a/js/Branching/MUX.js b/js/Branching/MUX.js
index f9e9140d..bbf0324e 100644
--- a/js/Branching/MUX.js
+++ b/js/Branching/MUX.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Branching/MUX.sci" */
function MUX() {
-MUX.prototype.define = function MUX() {
+ MUX.prototype.define = function MUX() {
in1=2;
model=scicos_model();
model.sim=list("multiplex",4);
@@ -12,12 +12,12 @@ model.dep_ut=[true,false];
exprs=string(in1);
gr_i=[];
x=standard_define([.5,2],model,exprs,gr_i);
-}
-MUX.prototype.details = function MUX() {
-}
-MUX.prototype.get = function MUX() {
-}
-MUX.prototype.set = function MUX() {
+ }
+ MUX.prototype.details = function MUX() {
+ }
+ MUX.prototype.get = function MUX() {
+ }
+ MUX.prototype.set = function MUX() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -58,5 +58,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Branching/MUX_f.js b/js/Branching/MUX_f.js
index 535f1cfa..2f6037ce 100644
--- a/js/Branching/MUX_f.js
+++ b/js/Branching/MUX_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Branching/MUX_f.sci" */
function MUX_f() {
-MUX_f.prototype.define = function MUX_f() {
+ MUX_f.prototype.define = function MUX_f() {
in1=2;
model=scicos_model();
model.sim=list("mux",1);
@@ -12,12 +12,12 @@ model.dep_ut=[true,false];
exprs=string(in1);
gr_i=[];
x=standard_define([0.5,2],model,exprs,gr_i);
-}
-MUX_f.prototype.details = function MUX_f() {
-}
-MUX_f.prototype.get = function MUX_f() {
-}
-MUX_f.prototype.set = function MUX_f() {
+ }
+ MUX_f.prototype.details = function MUX_f() {
+ }
+ MUX_f.prototype.get = function MUX_f() {
+ }
+ MUX_f.prototype.set = function MUX_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -58,5 +58,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Branching/M_SWITCH.js b/js/Branching/M_SWITCH.js
index 0ef06453..f9c44e75 100644
--- a/js/Branching/M_SWITCH.js
+++ b/js/Branching/M_SWITCH.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Branching/M_SWITCH.sci" */
function M_SWITCH() {
-M_SWITCH.prototype.define = function M_SWITCH() {
+ M_SWITCH.prototype.define = function M_SWITCH() {
in1=[[1],[-1],[-1]];
ipar=[[1],[3]];
nin=2;
@@ -14,12 +14,12 @@ model.dep_ut=[true,false];
exprs=[[string(nin)],[string(ipar)]];
gr_i=[];
x=standard_define([2.5,2],model,exprs,gr_i);
-}
-M_SWITCH.prototype.details = function M_SWITCH() {
-}
-M_SWITCH.prototype.get = function M_SWITCH() {
-}
-M_SWITCH.prototype.set = function M_SWITCH() {
+ }
+ M_SWITCH.prototype.details = function M_SWITCH() {
+ }
+ M_SWITCH.prototype.get = function M_SWITCH() {
+ }
+ M_SWITCH.prototype.set = function M_SWITCH() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -59,5 +59,5 @@ break;
}
}
}
-}
+ }
}
diff --git a/js/Branching/NRMSOM_f.js b/js/Branching/NRMSOM_f.js
index 0950b924..dbeb1f4c 100644
--- a/js/Branching/NRMSOM_f.js
+++ b/js/Branching/NRMSOM_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Branching/NRMSOM_f.sci" */
function NRMSOM_f() {
-NRMSOM_f.prototype.define = function NRMSOM_f() {
+ NRMSOM_f.prototype.define = function NRMSOM_f() {
in1=[[-1],[-1]];
nin=2;
model=scicos_model();
@@ -12,12 +12,12 @@ model.dep_ut=[true,false];
exprs=[string(nin)];
gr_i=[];
x=standard_define([.2,2],model,exprs,gr_i);
-}
-NRMSOM_f.prototype.details = function NRMSOM_f() {
-}
-NRMSOM_f.prototype.get = function NRMSOM_f() {
-}
-NRMSOM_f.prototype.set = function NRMSOM_f() {
+ }
+ NRMSOM_f.prototype.details = function NRMSOM_f() {
+ }
+ NRMSOM_f.prototype.get = function NRMSOM_f() {
+ }
+ NRMSOM_f.prototype.set = function NRMSOM_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -35,5 +35,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Branching/RELAY_f.js b/js/Branching/RELAY_f.js
index f2bf29f4..14d629dd 100644
--- a/js/Branching/RELAY_f.js
+++ b/js/Branching/RELAY_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Branching/RELAY_f.sci" */
function RELAY_f() {
-RELAY_f.prototype.define = function RELAY_f() {
+ RELAY_f.prototype.define = function RELAY_f() {
i0=0;
in1=[[-1],[-1]];
nin=2;
@@ -16,12 +16,12 @@ model.dep_ut=[true,true];
exprs=[[string(nin)],[string(i0+1)]];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-RELAY_f.prototype.details = function RELAY_f() {
-}
-RELAY_f.prototype.get = function RELAY_f() {
-}
-RELAY_f.prototype.set = function RELAY_f() {
+ }
+ RELAY_f.prototype.details = function RELAY_f() {
+ }
+ RELAY_f.prototype.get = function RELAY_f() {
+ }
+ RELAY_f.prototype.set = function RELAY_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -45,5 +45,5 @@ break;
}
}
}
-}
+ }
}
diff --git a/js/Branching/SCALAR2VECTOR.js b/js/Branching/SCALAR2VECTOR.js
index 3ff13b11..e7b20750 100644
--- a/js/Branching/SCALAR2VECTOR.js
+++ b/js/Branching/SCALAR2VECTOR.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Branching/SCALAR2VECTOR.sci" */
function SCALAR2VECTOR() {
-SCALAR2VECTOR.prototype.define = function SCALAR2VECTOR() {
+ SCALAR2VECTOR.prototype.define = function SCALAR2VECTOR() {
nout=-1;
model=scicos_model();
model.sim=list("scalar2vector",4);
@@ -11,12 +11,12 @@ model.dep_ut=[true,false];
exprs=[string([nout])];
gr_i=[];
x=standard_define([3,2],model,exprs,gr_i);
-}
-SCALAR2VECTOR.prototype.details = function SCALAR2VECTOR() {
-}
-SCALAR2VECTOR.prototype.get = function SCALAR2VECTOR() {
-}
-SCALAR2VECTOR.prototype.set = function SCALAR2VECTOR() {
+ }
+ SCALAR2VECTOR.prototype.details = function SCALAR2VECTOR() {
+ }
+ SCALAR2VECTOR.prototype.get = function SCALAR2VECTOR() {
+ }
+ SCALAR2VECTOR.prototype.set = function SCALAR2VECTOR() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -41,5 +41,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Branching/SELECT_f.js b/js/Branching/SELECT_f.js
index 577faf4f..e9d95076 100644
--- a/js/Branching/SELECT_f.js
+++ b/js/Branching/SELECT_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Branching/SELECT_f.sci" */
function SELECT_f() {
-SELECT_f.prototype.define = function SELECT_f() {
+ SELECT_f.prototype.define = function SELECT_f() {
z0=0;
in1=[[-1],[-1]];
nin=2;
@@ -15,12 +15,12 @@ model.dep_ut=[true,false];
exprs=[[string(nin)],[string(z0+1)]];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-SELECT_f.prototype.details = function SELECT_f() {
-}
-SELECT_f.prototype.get = function SELECT_f() {
-}
-SELECT_f.prototype.set = function SELECT_f() {
+ }
+ SELECT_f.prototype.details = function SELECT_f() {
+ }
+ SELECT_f.prototype.get = function SELECT_f() {
+ }
+ SELECT_f.prototype.set = function SELECT_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -43,5 +43,5 @@ break;
}
}
}
-}
+ }
}
diff --git a/js/Branching/SELECT_m.js b/js/Branching/SELECT_m.js
index eb7ee76c..e06aed6b 100644
--- a/js/Branching/SELECT_m.js
+++ b/js/Branching/SELECT_m.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Branching/SELECT_m.sci" */
function SELECT_m() {
-SELECT_m.prototype.define = function SELECT_m() {
+ SELECT_m.prototype.define = function SELECT_m() {
z0=1;
nin=2;
model=scicos_model();
@@ -23,12 +23,12 @@ model.dep_ut=[true,false];
exprs=[[sci2exp(1)],[sci2exp(nin)],[sci2exp(z0)]];
gr_i=[];
x=standard_define([3,2],model,exprs,gr_i);
-}
-SELECT_m.prototype.details = function SELECT_m() {
-}
-SELECT_m.prototype.get = function SELECT_m() {
-}
-SELECT_m.prototype.set = function SELECT_m() {
+ }
+ SELECT_m.prototype.details = function SELECT_m() {
+ }
+ SELECT_m.prototype.get = function SELECT_m() {
+ }
+ SELECT_m.prototype.set = function SELECT_m() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -60,5 +60,5 @@ break;
}
}
}
-}
+ }
}
diff --git a/js/Branching/SWITCH2.js b/js/Branching/SWITCH2.js
index 87107a84..ff1c7f1b 100644
--- a/js/Branching/SWITCH2.js
+++ b/js/Branching/SWITCH2.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Branching/SWITCH2.sci" */
function SWITCH2() {
-SWITCH2.prototype.define = function SWITCH2() {
+ SWITCH2.prototype.define = function SWITCH2() {
in1=[[-1],[1],[-1]];
ipar=[0];
nzz=1;
@@ -18,12 +18,12 @@ model.dep_ut=[true,false];
exprs=[[string(ipar)],[string(rpar)],[string(nzz)]];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-SWITCH2.prototype.details = function SWITCH2() {
-}
-SWITCH2.prototype.get = function SWITCH2() {
-}
-SWITCH2.prototype.set = function SWITCH2() {
+ }
+ SWITCH2.prototype.details = function SWITCH2() {
+ }
+ SWITCH2.prototype.get = function SWITCH2() {
+ }
+ SWITCH2.prototype.set = function SWITCH2() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -54,5 +54,5 @@ x.graphics=graphics;
x.model=model;
break;
}
-}
+ }
}
diff --git a/js/Branching/SWITCH2_m.js b/js/Branching/SWITCH2_m.js
index 9bdf4984..ad24aa83 100644
--- a/js/Branching/SWITCH2_m.js
+++ b/js/Branching/SWITCH2_m.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Branching/SWITCH2_m.sci" */
function SWITCH2_m() {
-SWITCH2_m.prototype.define = function SWITCH2_m() {
+ SWITCH2_m.prototype.define = function SWITCH2_m() {
ipar=[0];
nzz=1;
rpar=0;
@@ -21,12 +21,12 @@ model.dep_ut=[true,false];
exprs=[[sci2exp(1)],[string(ipar)],[string(rpar)],[string(nzz)]];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-SWITCH2_m.prototype.details = function SWITCH2_m() {
-}
-SWITCH2_m.prototype.get = function SWITCH2_m() {
-}
-SWITCH2_m.prototype.set = function SWITCH2_m() {
+ }
+ SWITCH2_m.prototype.details = function SWITCH2_m() {
+ }
+ SWITCH2_m.prototype.get = function SWITCH2_m() {
+ }
+ SWITCH2_m.prototype.set = function SWITCH2_m() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -71,5 +71,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Branching/SWITCH_f.js b/js/Branching/SWITCH_f.js
index 4f194c7e..02d8f0b1 100644
--- a/js/Branching/SWITCH_f.js
+++ b/js/Branching/SWITCH_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Branching/SWITCH_f.sci" */
function SWITCH_f() {
-SWITCH_f.prototype.define = function SWITCH_f() {
+ SWITCH_f.prototype.define = function SWITCH_f() {
i0=0;
in1=[[-1],[-1]];
nin=2;
@@ -15,12 +15,12 @@ model.dep_ut=[true,true];
exprs=[[string(nin)],[string(i0+1)]];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-SWITCH_f.prototype.details = function SWITCH_f() {
-}
-SWITCH_f.prototype.get = function SWITCH_f() {
-}
-SWITCH_f.prototype.set = function SWITCH_f() {
+ }
+ SWITCH_f.prototype.details = function SWITCH_f() {
+ }
+ SWITCH_f.prototype.get = function SWITCH_f() {
+ }
+ SWITCH_f.prototype.set = function SWITCH_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -44,5 +44,5 @@ break;
}
}
}
-}
+ }
}
diff --git a/js/Electrical/CCS.js b/js/Electrical/CCS.js
index e971b2cd..de996d4f 100644
--- a/js/Electrical/CCS.js
+++ b/js/Electrical/CCS.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Electrical/CCS.sci" */
function CCS() {
-CCS.prototype.define = function CCS() {
+ CCS.prototype.define = function CCS() {
ModelName="CCS";
PrametersValue=[];
ParametersName=[];
@@ -47,16 +47,16 @@ model.out=ones(size(MO,"*"),1);
x=standard_define([2.1,3],model,exprs,list(gr_i,0));
x.graphics.in_implicit=Typein;
x.graphics.out_implicit=Typeout;
-}
-CCS.prototype.details = function CCS() {
-}
-CCS.prototype.get = function CCS() {
-}
-CCS.prototype.set = function CCS() {
+ }
+ CCS.prototype.details = function CCS() {
+ }
+ CCS.prototype.get = function CCS() {
+ }
+ CCS.prototype.set = function CCS() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
model=arg1.model;
x=arg1;
-}
+ }
}
diff --git a/js/Electrical/CVS.js b/js/Electrical/CVS.js
index de2c5078..372998d0 100644
--- a/js/Electrical/CVS.js
+++ b/js/Electrical/CVS.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Electrical/CVS.sci" */
function CVS() {
-CVS.prototype.define = function CVS() {
+ CVS.prototype.define = function CVS() {
ModelName="CVS";
PrametersValue=[];
ParametersName=[];
@@ -47,16 +47,16 @@ model.out=ones(size(MO,"*"),1);
x=standard_define([2.1,3],model,exprs,list(gr_i,0));
x.graphics.in_implicit=Typein;
x.graphics.out_implicit=Typeout;
-}
-CVS.prototype.details = function CVS() {
-}
-CVS.prototype.get = function CVS() {
-}
-CVS.prototype.set = function CVS() {
+ }
+ CVS.prototype.details = function CVS() {
+ }
+ CVS.prototype.get = function CVS() {
+ }
+ CVS.prototype.set = function CVS() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
model=arg1.model;
x=arg1;
-}
+ }
}
diff --git a/js/Electrical/Capacitor.js b/js/Electrical/Capacitor.js
index 775bd0fe..af6dc5c6 100644
--- a/js/Electrical/Capacitor.js
+++ b/js/Electrical/Capacitor.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Electrical/Capacitor.sci" */
function Capacitor() {
-Capacitor.prototype.define = function Capacitor() {
+ Capacitor.prototype.define = function Capacitor() {
model=scicos_model();
C=0.01;
v=0;
@@ -21,12 +21,12 @@ gr_i=[];
x=standard_define([2,1.1],model,exprs,list(gr_i,0));
x.graphics.in_implicit=["I"];
x.graphics.out_implicit=["I"];
-}
-Capacitor.prototype.details = function Capacitor() {
-}
-Capacitor.prototype.get = function Capacitor() {
-}
-Capacitor.prototype.set = function Capacitor() {
+ }
+ Capacitor.prototype.details = function Capacitor() {
+ }
+ Capacitor.prototype.get = function Capacitor() {
+ }
+ Capacitor.prototype.set = function Capacitor() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -43,5 +43,5 @@ x.graphics=graphics;
x.model=model;
break;
}
-}
+ }
}
diff --git a/js/Electrical/ConstantVoltage.js b/js/Electrical/ConstantVoltage.js
index 3c704577..a1b5e336 100644
--- a/js/Electrical/ConstantVoltage.js
+++ b/js/Electrical/ConstantVoltage.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Electrical/ConstantVoltage.sci" */
function ConstantVoltage() {
-ConstantVoltage.prototype.define = function ConstantVoltage() {
+ ConstantVoltage.prototype.define = function ConstantVoltage() {
V=0.01;
model=scicos_model();
model.rpar=V;
@@ -20,12 +20,12 @@ gr_i=[];
x=standard_define([1.5,1.1],model,exprs,list(gr_i,0));
x.graphics.in_implicit=["I"];
x.graphics.out_implicit=["I"];
-}
-ConstantVoltage.prototype.details = function ConstantVoltage() {
-}
-ConstantVoltage.prototype.get = function ConstantVoltage() {
-}
-ConstantVoltage.prototype.set = function ConstantVoltage() {
+ }
+ ConstantVoltage.prototype.details = function ConstantVoltage() {
+ }
+ ConstantVoltage.prototype.get = function ConstantVoltage() {
+ }
+ ConstantVoltage.prototype.set = function ConstantVoltage() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -42,5 +42,5 @@ x.graphics=graphics;
x.model=model;
break;
}
-}
+ }
}
diff --git a/js/Electrical/CurrentSensor.js b/js/Electrical/CurrentSensor.js
index 83e2e4ba..2d402e32 100644
--- a/js/Electrical/CurrentSensor.js
+++ b/js/Electrical/CurrentSensor.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Electrical/CurrentSensor.sci" */
function CurrentSensor() {
-CurrentSensor.prototype.define = function CurrentSensor() {
+ CurrentSensor.prototype.define = function CurrentSensor() {
model=scicos_model();
model.in1=1;
model.out=[[1],[1]];
@@ -17,12 +17,12 @@ gr_i=[];
x=standard_define([2,2],model,exprs,list(gr_i,0));
x.graphics.in_implicit=["I"];
x.graphics.out_implicit=[["I"],["E"]];
-}
-CurrentSensor.prototype.details = function CurrentSensor() {
-}
-CurrentSensor.prototype.get = function CurrentSensor() {
-}
-CurrentSensor.prototype.set = function CurrentSensor() {
+ }
+ CurrentSensor.prototype.details = function CurrentSensor() {
+ }
+ CurrentSensor.prototype.get = function CurrentSensor() {
+ }
+ CurrentSensor.prototype.set = function CurrentSensor() {
x=arg1;
-}
+ }
}
diff --git a/js/Electrical/Diode.js b/js/Electrical/Diode.js
index 8e7f6ea4..4a0c2d68 100644
--- a/js/Electrical/Diode.js
+++ b/js/Electrical/Diode.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Electrical/Diode.sci" */
function Diode() {
-Diode.prototype.define = function Diode() {
+ Diode.prototype.define = function Diode() {
Ids=1.e-6;
Vt=0.04;
Maxexp=15;
@@ -23,12 +23,12 @@ gr_i=[];
x=standard_define([2,1],model,exprs,list(gr_i,0));
x.graphics.in_implicit=["I"];
x.graphics.out_implicit=["I"];
-}
-Diode.prototype.details = function Diode() {
-}
-Diode.prototype.get = function Diode() {
-}
-Diode.prototype.set = function Diode() {
+ }
+ Diode.prototype.details = function Diode() {
+ }
+ Diode.prototype.get = function Diode() {
+ }
+ Diode.prototype.set = function Diode() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -45,5 +45,5 @@ x.graphics=graphics;
x.model=model;
break;
}
-}
+ }
}
diff --git a/js/Electrical/Ground.js b/js/Electrical/Ground.js
index bde01b03..988e612d 100644
--- a/js/Electrical/Ground.js
+++ b/js/Electrical/Ground.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Electrical/Ground.sci" */
function Ground() {
-Ground.prototype.define = function Ground() {
+ Ground.prototype.define = function Ground() {
model=scicos_model();
model.in1=[1];
model.out=[];
@@ -16,12 +16,12 @@ gr_i=[];
x=standard_define([1,1],model,exprs,list(gr_i,0));
x.graphics.in_implicit=["I"];
x.graphics.out_implicit=["I"];
-}
-Ground.prototype.details = function Ground() {
-}
-Ground.prototype.get = function Ground() {
-}
-Ground.prototype.set = function Ground() {
+ }
+ Ground.prototype.details = function Ground() {
+ }
+ Ground.prototype.get = function Ground() {
+ }
+ Ground.prototype.set = function Ground() {
x=arg1;
-}
+ }
}
diff --git a/js/Electrical/Gyrator.js b/js/Electrical/Gyrator.js
index 45b037fd..e276a4fa 100644
--- a/js/Electrical/Gyrator.js
+++ b/js/Electrical/Gyrator.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Electrical/Gyrator.sci" */
function Gyrator() {
-Gyrator.prototype.define = function Gyrator() {
+ Gyrator.prototype.define = function Gyrator() {
ModelName="Gyrator";
PrametersValue=[[1],[1]];
ParametersName=[["G1"],["G2"]];
@@ -47,12 +47,12 @@ model.out=ones(size(MO,"*"),1);
x=standard_define([2,2],model,exprs,list(gr_i,0));
x.graphics.in_implicit=Typein;
x.graphics.out_implicit=Typeout;
-}
-Gyrator.prototype.details = function Gyrator() {
-}
-Gyrator.prototype.get = function Gyrator() {
-}
-Gyrator.prototype.set = function Gyrator() {
+ }
+ Gyrator.prototype.details = function Gyrator() {
+ }
+ Gyrator.prototype.get = function Gyrator() {
+ }
+ Gyrator.prototype.set = function Gyrator() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -68,5 +68,5 @@ x.model.equations.parameters[2-1]=list(G1,G2);
x.graphics.exprs=exprs;
break;
}
-}
+ }
}
diff --git a/js/Electrical/IdealTransformer.js b/js/Electrical/IdealTransformer.js
index 9682b5df..e2eb30c2 100644
--- a/js/Electrical/IdealTransformer.js
+++ b/js/Electrical/IdealTransformer.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Electrical/IdealTransformer.sci" */
function IdealTransformer() {
-IdealTransformer.prototype.define = function IdealTransformer() {
+ IdealTransformer.prototype.define = function IdealTransformer() {
ModelName="IdealTransformer";
PrametersValue=[1];
ParametersName=["N"];
@@ -47,12 +47,12 @@ model.out=ones(size(MO,"*"),1);
x=standard_define([2,2],model,exprs,list(gr_i,0));
x.graphics.in_implicit=Typein;
x.graphics.out_implicit=Typeout;
-}
-IdealTransformer.prototype.details = function IdealTransformer() {
-}
-IdealTransformer.prototype.get = function IdealTransformer() {
-}
-IdealTransformer.prototype.set = function IdealTransformer() {
+ }
+ IdealTransformer.prototype.details = function IdealTransformer() {
+ }
+ IdealTransformer.prototype.get = function IdealTransformer() {
+ }
+ IdealTransformer.prototype.set = function IdealTransformer() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -68,5 +68,5 @@ x.model.equations.parameters[2-1]=list(N);
x.graphics.exprs=exprs;
break;
}
-}
+ }
}
diff --git a/js/Electrical/Inductor.js b/js/Electrical/Inductor.js
index 1f6873a4..eb924ec6 100644
--- a/js/Electrical/Inductor.js
+++ b/js/Electrical/Inductor.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Electrical/Inductor.sci" */
function Inductor() {
-Inductor.prototype.define = function Inductor() {
+ Inductor.prototype.define = function Inductor() {
model=scicos_model();
model.in1=[1];
model.out=[1];
@@ -20,12 +20,12 @@ gr_i=[];
x=standard_define([2,0.9],model,exprs,list(gr_i,0));
x.graphics.in_implicit=["I"];
x.graphics.out_implicit=["I"];
-}
-Inductor.prototype.details = function Inductor() {
-}
-Inductor.prototype.get = function Inductor() {
-}
-Inductor.prototype.set = function Inductor() {
+ }
+ Inductor.prototype.details = function Inductor() {
+ }
+ Inductor.prototype.get = function Inductor() {
+ }
+ Inductor.prototype.set = function Inductor() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -42,5 +42,5 @@ x.graphics=graphics;
x.model=model;
break;
}
-}
+ }
}
diff --git a/js/Electrical/MOTOR.js b/js/Electrical/MOTOR.js
index 9302de75..bc9cff54 100644
--- a/js/Electrical/MOTOR.js
+++ b/js/Electrical/MOTOR.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Electrical/MOTOR.sci" */
function MOTOR() {
-MOTOR.prototype.define = function MOTOR() {
+ MOTOR.prototype.define = function MOTOR() {
model=scicos_model();
model.out=[[1],[1]];
model.in1=[1];
@@ -12,12 +12,12 @@ exprs="";
x=standard_define([2,2],model,exprs,gr_i);
x.graphics.out_implicit=[["I"],["I"]];
x.graphics.in_implicit=["I"];
-}
-MOTOR.prototype.details = function MOTOR() {
-}
-MOTOR.prototype.get = function MOTOR() {
-}
-MOTOR.prototype.set = function MOTOR() {
+ }
+ MOTOR.prototype.details = function MOTOR() {
+ }
+ MOTOR.prototype.get = function MOTOR() {
+ }
+ MOTOR.prototype.set = function MOTOR() {
x=arg1;
-}
+ }
}
diff --git a/js/Electrical/NMOS.js b/js/Electrical/NMOS.js
index 0d2b3585..1e9c7b77 100644
--- a/js/Electrical/NMOS.js
+++ b/js/Electrical/NMOS.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Electrical/NMOS.sci" */
function NMOS() {
-NMOS.prototype.define = function NMOS() {
+ NMOS.prototype.define = function NMOS() {
model=scicos_model();
W=20.e-6;
L=6.e-6;
@@ -27,12 +27,12 @@ gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
x.graphics.in_implicit=["I"];
x.graphics.out_implicit=[["I"],["I"],["I"]];
-}
-NMOS.prototype.details = function NMOS() {
-}
-NMOS.prototype.get = function NMOS() {
-}
-NMOS.prototype.set = function NMOS() {
+ }
+ NMOS.prototype.details = function NMOS() {
+ }
+ NMOS.prototype.get = function NMOS() {
+ }
+ NMOS.prototype.set = function NMOS() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -48,5 +48,5 @@ x.graphics=graphics;
x.model=model;
break;
}
-}
+ }
}
diff --git a/js/Electrical/NPN.js b/js/Electrical/NPN.js
index 812d8e6f..57b98315 100644
--- a/js/Electrical/NPN.js
+++ b/js/Electrical/NPN.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Electrical/NPN.sci" */
function NPN() {
-NPN.prototype.define = function NPN() {
+ NPN.prototype.define = function NPN() {
ModelName="NPN";
PrametersValue=[[50],[0.1],[0],[0.02],[1.200e-10],[5.000e-09],[1.000e-12],[4.000e-13],[5.000e-13],[0.8],[0.4],[0.8],[0.333],[1.000e-15],[1.000e-15],[0.02585],[40]];
ParametersName=[["Bf"],["Br"],["Is"],["Vak"],["Tauf"],["Taur"],["Ccs"],["Cje"],["Cjc"],["Phie"],["Me"],["Phic"],["Mc"],["Gbc"],["Gbe"],["Vt"],["EMinMax"]];
@@ -47,12 +47,12 @@ model.out=ones(size(MO,"*"),1);
x=standard_define([2,2],model,exprs,list(gr_i,0));
x.graphics.in_implicit=Typein;
x.graphics.out_implicit=Typeout;
-}
-NPN.prototype.details = function NPN() {
-}
-NPN.prototype.get = function NPN() {
-}
-NPN.prototype.set = function NPN() {
+ }
+ NPN.prototype.details = function NPN() {
+ }
+ NPN.prototype.get = function NPN() {
+ }
+ NPN.prototype.set = function NPN() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -68,5 +68,5 @@ x.model.equations.parameters[2-1]=list(Bf,Br,Is,Vak,Tauf,Taur,Ccs,Cje,Cjc,Phie,M
x.graphics.exprs=exprs;
break;
}
-}
+ }
}
diff --git a/js/Electrical/OpAmp.js b/js/Electrical/OpAmp.js
index 0dabe285..aacad068 100644
--- a/js/Electrical/OpAmp.js
+++ b/js/Electrical/OpAmp.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Electrical/OpAmp.sci" */
function OpAmp() {
-OpAmp.prototype.define = function OpAmp() {
+ OpAmp.prototype.define = function OpAmp() {
S=[];
Z=[];
model=scicos_model();
@@ -21,12 +21,12 @@ gr_i=[];
x=standard_define([3,5],model,exprs,gr_i);
x.graphics.in_implicit=[["I"],["I"]];
x.graphics.out_implicit=["I"];
-}
-OpAmp.prototype.details = function OpAmp() {
-}
-OpAmp.prototype.get = function OpAmp() {
-}
-OpAmp.prototype.set = function OpAmp() {
+ }
+ OpAmp.prototype.details = function OpAmp() {
+ }
+ OpAmp.prototype.get = function OpAmp() {
+ }
+ OpAmp.prototype.set = function OpAmp() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -42,5 +42,5 @@ x.graphics=graphics;
x.model=model;
break;
}
-}
+ }
}
diff --git a/js/Electrical/PMOS.js b/js/Electrical/PMOS.js
index cb152d79..0078c1d4 100644
--- a/js/Electrical/PMOS.js
+++ b/js/Electrical/PMOS.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Electrical/PMOS.sci" */
function PMOS() {
-PMOS.prototype.define = function PMOS() {
+ PMOS.prototype.define = function PMOS() {
model=scicos_model();
W=50.0e-6;
L=6.0e-6;
@@ -27,12 +27,12 @@ gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
x.graphics.in_implicit=["I"];
x.graphics.out_implicit=[["I"],["I"],["I"]];
-}
-PMOS.prototype.details = function PMOS() {
-}
-PMOS.prototype.get = function PMOS() {
-}
-PMOS.prototype.set = function PMOS() {
+ }
+ PMOS.prototype.details = function PMOS() {
+ }
+ PMOS.prototype.get = function PMOS() {
+ }
+ PMOS.prototype.set = function PMOS() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -48,5 +48,5 @@ x.graphics=graphics;
x.model=model;
break;
}
-}
+ }
}
diff --git a/js/Electrical/PNP.js b/js/Electrical/PNP.js
index 58a7978c..8ffce6fc 100644
--- a/js/Electrical/PNP.js
+++ b/js/Electrical/PNP.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Electrical/PNP.sci" */
function PNP() {
-PNP.prototype.define = function PNP() {
+ PNP.prototype.define = function PNP() {
ModelName="PNP";
PrametersValue=[[50],[0.1],[0],[0.02],[1.200e-10],[5.000e-09],[1.000e-12],[4.000e-13],[5.000e-13],[0.8],[0.4],[0.8],[0.333],[1.000e-15],[1.000e-15],[0.02585],[40]];
ParametersName=[["Bf"],["Br"],["Is"],["Vak"],["Tauf"],["Taur"],["Ccs"],["Cje"],["Cjc"],["Phie"],["Me"],["Phic"],["Mc"],["Gbc"],["Gbe"],["Vt"],["EMinMax"]];
@@ -47,12 +47,12 @@ model.out=ones(size(MO,"*"),1);
x=standard_define([2,2],model,exprs,list(gr_i,0));
x.graphics.in_implicit=Typein;
x.graphics.out_implicit=Typeout;
-}
-PNP.prototype.details = function PNP() {
-}
-PNP.prototype.get = function PNP() {
-}
-PNP.prototype.set = function PNP() {
+ }
+ PNP.prototype.details = function PNP() {
+ }
+ PNP.prototype.get = function PNP() {
+ }
+ PNP.prototype.set = function PNP() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -68,5 +68,5 @@ x.model.equations.parameters[2-1]=list(Bf,Br,Is,Vak,Tauf,Taur,Ccs,Cje,Cjc,Phie,M
x.graphics.exprs=exprs;
break;
}
-}
+ }
}
diff --git a/js/Electrical/PotentialSensor.js b/js/Electrical/PotentialSensor.js
index b0cbe948..076df0e4 100644
--- a/js/Electrical/PotentialSensor.js
+++ b/js/Electrical/PotentialSensor.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Electrical/PotentialSensor.sci" */
function PotentialSensor() {
-PotentialSensor.prototype.define = function PotentialSensor() {
+ PotentialSensor.prototype.define = function PotentialSensor() {
model=scicos_model();
model.in1=[1];
model.out=[1];
@@ -17,12 +17,12 @@ gr_i=[];
x=standard_define([2,2],model,"",list(gr_i,0));
x.graphics.in_implicit=["I"];
x.graphics.out_implicit=["E"];
-}
-PotentialSensor.prototype.details = function PotentialSensor() {
-}
-PotentialSensor.prototype.get = function PotentialSensor() {
-}
-PotentialSensor.prototype.set = function PotentialSensor() {
+ }
+ PotentialSensor.prototype.details = function PotentialSensor() {
+ }
+ PotentialSensor.prototype.get = function PotentialSensor() {
+ }
+ PotentialSensor.prototype.set = function PotentialSensor() {
x=arg1;
-}
+ }
}
diff --git a/js/Electrical/Resistor.js b/js/Electrical/Resistor.js
index d1afe3e9..c6435662 100644
--- a/js/Electrical/Resistor.js
+++ b/js/Electrical/Resistor.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Electrical/Resistor.sci" */
function Resistor() {
-Resistor.prototype.define = function Resistor() {
+ Resistor.prototype.define = function Resistor() {
model=scicos_model();
R=0.01;
model.rpar=R;
@@ -20,12 +20,12 @@ gr_i=[];
x=standard_define([2,1],model,exprs,list(gr_i,0));
x.graphics.in_implicit=["I"];
x.graphics.out_implicit=["I"];
-}
-Resistor.prototype.details = function Resistor() {
-}
-Resistor.prototype.get = function Resistor() {
-}
-Resistor.prototype.set = function Resistor() {
+ }
+ Resistor.prototype.details = function Resistor() {
+ }
+ Resistor.prototype.get = function Resistor() {
+ }
+ Resistor.prototype.set = function Resistor() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -42,5 +42,5 @@ x.graphics=graphics;
x.model=model;
break;
}
-}
+ }
}
diff --git a/js/Electrical/SineVoltage.js b/js/Electrical/SineVoltage.js
index d25df493..c13c9f86 100644
--- a/js/Electrical/SineVoltage.js
+++ b/js/Electrical/SineVoltage.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Electrical/SineVoltage.sci" */
function SineVoltage() {
-SineVoltage.prototype.define = function SineVoltage() {
+ SineVoltage.prototype.define = function SineVoltage() {
model=scicos_model();
model.in1=[1];
model.out=[1];
@@ -24,12 +24,12 @@ gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
x.graphics.in_implicit=["I"];
x.graphics.out_implicit=["I"];
-}
-SineVoltage.prototype.details = function SineVoltage() {
-}
-SineVoltage.prototype.get = function SineVoltage() {
-}
-SineVoltage.prototype.set = function SineVoltage() {
+ }
+ SineVoltage.prototype.details = function SineVoltage() {
+ }
+ SineVoltage.prototype.get = function SineVoltage() {
+ }
+ SineVoltage.prototype.set = function SineVoltage() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -46,5 +46,5 @@ x.graphics=graphics;
x.model=model;
break;
}
-}
+ }
}
diff --git a/js/Electrical/Switch.js b/js/Electrical/Switch.js
index bcb3ab7a..e611b5f4 100644
--- a/js/Electrical/Switch.js
+++ b/js/Electrical/Switch.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Electrical/Switch.sci" */
function Switch() {
-Switch.prototype.define = function Switch() {
+ Switch.prototype.define = function Switch() {
model=scicos_model();
Ron=0.01;
Roff=1e5;
@@ -23,12 +23,12 @@ gr_i=[];
x=standard_define([2,2],model,exprs,list(gr_i,0));
x.graphics.in_implicit=[["I"],["E"]];
x.graphics.out_implicit=["I"];
-}
-Switch.prototype.details = function Switch() {
-}
-Switch.prototype.get = function Switch() {
-}
-Switch.prototype.set = function Switch() {
+ }
+ Switch.prototype.details = function Switch() {
+ }
+ Switch.prototype.get = function Switch() {
+ }
+ Switch.prototype.set = function Switch() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -44,5 +44,5 @@ x.graphics=graphics;
x.model=model;
break;
}
-}
+ }
}
diff --git a/js/Electrical/VVsourceAC.js b/js/Electrical/VVsourceAC.js
index 78e04caa..e6f30fa4 100644
--- a/js/Electrical/VVsourceAC.js
+++ b/js/Electrical/VVsourceAC.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Electrical/VVsourceAC.sci" */
function VVsourceAC() {
-VVsourceAC.prototype.define = function VVsourceAC() {
+ VVsourceAC.prototype.define = function VVsourceAC() {
model=scicos_model();
model.in1=[[1],[1]];
model.out=[1];
@@ -21,12 +21,12 @@ gr_i=[];
x=standard_define([2,2],model,exprs,list(gr_i,0));
x.graphics.in_implicit=["I","E"];
x.graphics.out_implicit=["I"];
-}
-VVsourceAC.prototype.details = function VVsourceAC() {
-}
-VVsourceAC.prototype.get = function VVsourceAC() {
-}
-VVsourceAC.prototype.set = function VVsourceAC() {
+ }
+ VVsourceAC.prototype.details = function VVsourceAC() {
+ }
+ VVsourceAC.prototype.get = function VVsourceAC() {
+ }
+ VVsourceAC.prototype.set = function VVsourceAC() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -43,5 +43,5 @@ x.graphics=graphics;
x.model=model;
break;
}
-}
+ }
}
diff --git a/js/Electrical/VariableResistor.js b/js/Electrical/VariableResistor.js
index fafa9ec2..2244b1a3 100644
--- a/js/Electrical/VariableResistor.js
+++ b/js/Electrical/VariableResistor.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Electrical/VariableResistor.sci" */
function VariableResistor() {
-VariableResistor.prototype.define = function VariableResistor() {
+ VariableResistor.prototype.define = function VariableResistor() {
model=scicos_model();
model.sim="VariableResistor";
model.blocktype="c";
@@ -17,12 +17,12 @@ gr_i=[];
x=standard_define([2,2],model,exprs,list(gr_i,0));
x.graphics.in_implicit=["I","E"];
x.graphics.out_implicit=["I"];
-}
-VariableResistor.prototype.details = function VariableResistor() {
-}
-VariableResistor.prototype.get = function VariableResistor() {
-}
-VariableResistor.prototype.set = function VariableResistor() {
+ }
+ VariableResistor.prototype.details = function VariableResistor() {
+ }
+ VariableResistor.prototype.get = function VariableResistor() {
+ }
+ VariableResistor.prototype.set = function VariableResistor() {
x=arg1;
-}
+ }
}
diff --git a/js/Electrical/VoltageSensor.js b/js/Electrical/VoltageSensor.js
index a016ca91..ac5028b2 100644
--- a/js/Electrical/VoltageSensor.js
+++ b/js/Electrical/VoltageSensor.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Electrical/VoltageSensor.sci" */
function VoltageSensor() {
-VoltageSensor.prototype.define = function VoltageSensor() {
+ VoltageSensor.prototype.define = function VoltageSensor() {
model=scicos_model();
model.in1=1;
model.out=[[1],[1]];
@@ -17,12 +17,12 @@ gr_i=[];
x=standard_define([2,2],model,exprs,list(gr_i,0));
x.graphics.in_implicit=["I"];
x.graphics.out_implicit=[["I"],["E"]];
-}
-VoltageSensor.prototype.details = function VoltageSensor() {
-}
-VoltageSensor.prototype.get = function VoltageSensor() {
-}
-VoltageSensor.prototype.set = function VoltageSensor() {
+ }
+ VoltageSensor.prototype.details = function VoltageSensor() {
+ }
+ VoltageSensor.prototype.get = function VoltageSensor() {
+ }
+ VoltageSensor.prototype.set = function VoltageSensor() {
x=arg1;
-}
+ }
}
diff --git a/js/Electrical/VsourceAC.js b/js/Electrical/VsourceAC.js
index 7281c7e5..483a49df 100644
--- a/js/Electrical/VsourceAC.js
+++ b/js/Electrical/VsourceAC.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Electrical/VsourceAC.sci" */
function VsourceAC() {
-VsourceAC.prototype.define = function VsourceAC() {
+ VsourceAC.prototype.define = function VsourceAC() {
model=scicos_model();
model.in1=[1];
model.out=[1];
@@ -21,12 +21,12 @@ gr_i=[];
x=standard_define([2,2],model,exprs,list(gr_i,0));
x.graphics.in_implicit=["I"];
x.graphics.out_implicit=["I"];
-}
-VsourceAC.prototype.details = function VsourceAC() {
-}
-VsourceAC.prototype.get = function VsourceAC() {
-}
-VsourceAC.prototype.set = function VsourceAC() {
+ }
+ VsourceAC.prototype.details = function VsourceAC() {
+ }
+ VsourceAC.prototype.get = function VsourceAC() {
+ }
+ VsourceAC.prototype.set = function VsourceAC() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -43,5 +43,5 @@ x.graphics=graphics;
x.model=model;
break;
}
-}
+ }
}
diff --git a/js/Events/ANDBLK.js b/js/Events/ANDBLK.js
index 94a386e6..0e30b548 100644
--- a/js/Events/ANDBLK.js
+++ b/js/Events/ANDBLK.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Events/ANDBLK.sci" */
function ANDBLK() {
-ANDBLK.prototype.define = function ANDBLK() {
+ ANDBLK.prototype.define = function ANDBLK() {
andlog=ANDLOG_f("define");
andlog.graphics.orig=[194,133];
andlog.graphics.sz=[60,60];
@@ -65,12 +65,12 @@ x.model.blocktype="h";
x.model.firing=false;
x.model.dep_ut=[false,false];
x.model.rpar=diagram;
-}
-ANDBLK.prototype.details = function ANDBLK() {
-}
-ANDBLK.prototype.get = function ANDBLK() {
-}
-ANDBLK.prototype.set = function ANDBLK() {
+ }
+ ANDBLK.prototype.details = function ANDBLK() {
+ }
+ ANDBLK.prototype.get = function ANDBLK() {
+ }
+ ANDBLK.prototype.set = function ANDBLK() {
x=arg1;
-}
+ }
}
diff --git a/js/Events/ANDLOG_f.js b/js/Events/ANDLOG_f.js
index ee95c338..2077bae8 100644
--- a/js/Events/ANDLOG_f.js
+++ b/js/Events/ANDLOG_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Events/ANDLOG_f.sci" */
function ANDLOG_f() {
-ANDLOG_f.prototype.define = function ANDLOG_f() {
+ ANDLOG_f.prototype.define = function ANDLOG_f() {
model=scicos_model();
model.sim="andlog";
model.out=1;
@@ -10,12 +10,12 @@ model.firing=[];
model.dep_ut=[false,false];
gr_i=[];
x=standard_define([3,3],model,[],gr_i);
-}
-ANDLOG_f.prototype.details = function ANDLOG_f() {
-}
-ANDLOG_f.prototype.get = function ANDLOG_f() {
-}
-ANDLOG_f.prototype.set = function ANDLOG_f() {
+ }
+ ANDLOG_f.prototype.details = function ANDLOG_f() {
+ }
+ ANDLOG_f.prototype.get = function ANDLOG_f() {
+ }
+ ANDLOG_f.prototype.set = function ANDLOG_f() {
x=arg1;
-}
+ }
}
diff --git a/js/Events/CLKSOMV_f.js b/js/Events/CLKSOMV_f.js
index 3ccb3a66..73c0972e 100644
--- a/js/Events/CLKSOMV_f.js
+++ b/js/Events/CLKSOMV_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Events/CLKSOMV_f.sci" */
function CLKSOMV_f() {
-CLKSOMV_f.prototype.define = function CLKSOMV_f() {
+ CLKSOMV_f.prototype.define = function CLKSOMV_f() {
model=scicos_model();
model.sim="sum";
model.evtin=[[1],[1],[1]];
@@ -10,12 +10,12 @@ model.firing=-1;
model.dep_ut=[false,false];
gr_i=[];
x=standard_define([2,2],model,[],gr_i);
-}
-CLKSOMV_f.prototype.details = function CLKSOMV_f() {
-}
-CLKSOMV_f.prototype.get = function CLKSOMV_f() {
-}
-CLKSOMV_f.prototype.set = function CLKSOMV_f() {
+ }
+ CLKSOMV_f.prototype.details = function CLKSOMV_f() {
+ }
+ CLKSOMV_f.prototype.get = function CLKSOMV_f() {
+ }
+ CLKSOMV_f.prototype.set = function CLKSOMV_f() {
x=arg1;
-}
+ }
}
diff --git a/js/Events/CLKSOM_f.js b/js/Events/CLKSOM_f.js
index 86db77cf..5cedc0bd 100644
--- a/js/Events/CLKSOM_f.js
+++ b/js/Events/CLKSOM_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Events/CLKSOM_f.sci" */
function CLKSOM_f() {
-CLKSOM_f.prototype.define = function CLKSOM_f() {
+ CLKSOM_f.prototype.define = function CLKSOM_f() {
model=scicos_model();
model.sim="sum";
model.evtin=[[1],[1],[1]];
@@ -10,12 +10,12 @@ model.firing=-1;
model.dep_ut=[false,false];
gr_i=[];
x=standard_define([1,1]/1.2,model,[],gr_i);
-}
-CLKSOM_f.prototype.details = function CLKSOM_f() {
-}
-CLKSOM_f.prototype.get = function CLKSOM_f() {
-}
-CLKSOM_f.prototype.set = function CLKSOM_f() {
+ }
+ CLKSOM_f.prototype.details = function CLKSOM_f() {
+ }
+ CLKSOM_f.prototype.get = function CLKSOM_f() {
+ }
+ CLKSOM_f.prototype.set = function CLKSOM_f() {
x=arg1;
-}
+ }
}
diff --git a/js/Events/CLKSPLIT_f.js b/js/Events/CLKSPLIT_f.js
index b8416e0b..ad33c184 100644
--- a/js/Events/CLKSPLIT_f.js
+++ b/js/Events/CLKSPLIT_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Events/CLKSPLIT_f.sci" */
function CLKSPLIT_f() {
-CLKSPLIT_f.prototype.define = function CLKSPLIT_f() {
+ CLKSPLIT_f.prototype.define = function CLKSPLIT_f() {
model=scicos_model();
model.sim="split";
model.evtin=1;
@@ -9,12 +9,12 @@ model.blocktype="d";
model.firing=[false,false,false];
model.dep_ut=[false,false];
x=standard_define([1,1]/3,model,[],[]);
-}
-CLKSPLIT_f.prototype.details = function CLKSPLIT_f() {
-}
-CLKSPLIT_f.prototype.get = function CLKSPLIT_f() {
-}
-CLKSPLIT_f.prototype.set = function CLKSPLIT_f() {
+ }
+ CLKSPLIT_f.prototype.details = function CLKSPLIT_f() {
+ }
+ CLKSPLIT_f.prototype.get = function CLKSPLIT_f() {
+ }
+ CLKSPLIT_f.prototype.set = function CLKSPLIT_f() {
x=arg1;
-}
+ }
}
diff --git a/js/Events/END_c.js b/js/Events/END_c.js
index 4c7fbf5e..e34071ec 100644
--- a/js/Events/END_c.js
+++ b/js/Events/END_c.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Events/END_c.sci" */
function END_c() {
-END_c.prototype.define = function END_c() {
+ END_c.prototype.define = function END_c() {
tf=100000000;
model=scicos_model();
model.sim=list("scicosexit",4);
@@ -12,12 +12,12 @@ model.dep_ut=[false,false];
exprs=string(tf);
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-END_c.prototype.details = function END_c() {
-}
-END_c.prototype.get = function END_c() {
-}
-END_c.prototype.set = function END_c() {
+ }
+ END_c.prototype.details = function END_c() {
+ }
+ END_c.prototype.get = function END_c() {
+ }
+ END_c.prototype.set = function END_c() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -35,5 +35,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Events/EVTDLY_c.js b/js/Events/EVTDLY_c.js
index 39d4ed47..baf4439f 100644
--- a/js/Events/EVTDLY_c.js
+++ b/js/Events/EVTDLY_c.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Events/EVTDLY_c.sci" */
function EVTDLY_c() {
-EVTDLY_c.prototype.define = function EVTDLY_c() {
+ EVTDLY_c.prototype.define = function EVTDLY_c() {
dt=0.1;
ff=0.0;
model=scicos_model();
@@ -14,12 +14,12 @@ model.dep_ut=[false,false];
exprs=[[string(dt)],[sci2exp(ff)]];
gr_i=[];
x=standard_define([3,2],model,exprs,gr_i);
-}
-EVTDLY_c.prototype.details = function EVTDLY_c() {
-}
-EVTDLY_c.prototype.get = function EVTDLY_c() {
-}
-EVTDLY_c.prototype.set = function EVTDLY_c() {
+ }
+ EVTDLY_c.prototype.details = function EVTDLY_c() {
+ }
+ EVTDLY_c.prototype.get = function EVTDLY_c() {
+ }
+ EVTDLY_c.prototype.set = function EVTDLY_c() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -42,5 +42,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Events/EVTDLY_f.js b/js/Events/EVTDLY_f.js
index 73ff8181..0b7ba439 100644
--- a/js/Events/EVTDLY_f.js
+++ b/js/Events/EVTDLY_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Events/EVTDLY_f.sci" */
function EVTDLY_f() {
-EVTDLY_f.prototype.define = function EVTDLY_f() {
+ EVTDLY_f.prototype.define = function EVTDLY_f() {
dt=0.1;
ff=dt;
model=scicos_model();
@@ -14,12 +14,12 @@ model.dep_ut=[false,false];
exprs=[[string(dt)],[sci2exp(ff)]];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-EVTDLY_f.prototype.details = function EVTDLY_f() {
-}
-EVTDLY_f.prototype.get = function EVTDLY_f() {
-}
-EVTDLY_f.prototype.set = function EVTDLY_f() {
+ }
+ EVTDLY_f.prototype.details = function EVTDLY_f() {
+ }
+ EVTDLY_f.prototype.get = function EVTDLY_f() {
+ }
+ EVTDLY_f.prototype.set = function EVTDLY_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -42,5 +42,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Events/EVTGEN_f.js b/js/Events/EVTGEN_f.js
index 8335466f..db20fd28 100644
--- a/js/Events/EVTGEN_f.js
+++ b/js/Events/EVTGEN_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Events/EVTGEN_f.sci" */
function EVTGEN_f() {
-EVTGEN_f.prototype.define = function EVTGEN_f() {
+ EVTGEN_f.prototype.define = function EVTGEN_f() {
tt=0;
model=scicos_model();
model.sim="trash";
@@ -11,12 +11,12 @@ model.dep_ut=[false,false];
exprs=string(tt);
gr_i=[];
x=standard_define([3,2],model,exprs,gr_i);
-}
-EVTGEN_f.prototype.details = function EVTGEN_f() {
-}
-EVTGEN_f.prototype.get = function EVTGEN_f() {
-}
-EVTGEN_f.prototype.set = function EVTGEN_f() {
+ }
+ EVTGEN_f.prototype.details = function EVTGEN_f() {
+ }
+ EVTGEN_f.prototype.get = function EVTGEN_f() {
+ }
+ EVTGEN_f.prototype.set = function EVTGEN_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -34,5 +34,5 @@ x.graphics=graphics;
x.model=model;
break;
}
-}
+ }
}
diff --git a/js/Events/EVTVARDLY.js b/js/Events/EVTVARDLY.js
index 39640d4b..e3791414 100644
--- a/js/Events/EVTVARDLY.js
+++ b/js/Events/EVTVARDLY.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Events/EVTVARDLY.sci" */
function EVTVARDLY() {
-EVTVARDLY.prototype.define = function EVTVARDLY() {
+ EVTVARDLY.prototype.define = function EVTVARDLY() {
model=scicos_model();
model.sim=list("evtvardly",4);
model.in1=1;
@@ -13,12 +13,12 @@ model.dep_ut=[true,false];
exprs=string(model.firing);
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-EVTVARDLY.prototype.details = function EVTVARDLY() {
-}
-EVTVARDLY.prototype.get = function EVTVARDLY() {
-}
-EVTVARDLY.prototype.set = function EVTVARDLY() {
+ }
+ EVTVARDLY.prototype.details = function EVTVARDLY() {
+ }
+ EVTVARDLY.prototype.get = function EVTVARDLY() {
+ }
+ EVTVARDLY.prototype.set = function EVTVARDLY() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -34,5 +34,5 @@ x.graphics=graphics;
x.model=model;
break;
}
-}
+ }
}
diff --git a/js/Events/HALT_f.js b/js/Events/HALT_f.js
index ebaf6100..90e8c60a 100644
--- a/js/Events/HALT_f.js
+++ b/js/Events/HALT_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Events/HALT_f.sci" */
function HALT_f() {
-HALT_f.prototype.define = function HALT_f() {
+ HALT_f.prototype.define = function HALT_f() {
n=0;
model=scicos_model();
model.sim="hltblk";
@@ -12,12 +12,12 @@ model.dep_ut=[false,false];
exprs=string(n);
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-HALT_f.prototype.details = function HALT_f() {
-}
-HALT_f.prototype.get = function HALT_f() {
-}
-HALT_f.prototype.set = function HALT_f() {
+ }
+ HALT_f.prototype.details = function HALT_f() {
+ }
+ HALT_f.prototype.get = function HALT_f() {
+ }
+ HALT_f.prototype.set = function HALT_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -35,5 +35,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Events/IFTHEL_f.js b/js/Events/IFTHEL_f.js
index 6072ba6f..e02dff47 100644
--- a/js/Events/IFTHEL_f.js
+++ b/js/Events/IFTHEL_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Events/IFTHEL_f.sci" */
function IFTHEL_f() {
-IFTHEL_f.prototype.define = function IFTHEL_f() {
+ IFTHEL_f.prototype.define = function IFTHEL_f() {
model=scicos_model();
model.sim=list("ifthel",-1);
model.in1=1;
@@ -16,12 +16,12 @@ model.nzcross=1;
gr_i=[];
exprs=[[string(model.in1)],[string(model.nmode)]];
x=standard_define([3,3],model,exprs,gr_i);
-}
-IFTHEL_f.prototype.details = function IFTHEL_f() {
-}
-IFTHEL_f.prototype.get = function IFTHEL_f() {
-}
-IFTHEL_f.prototype.set = function IFTHEL_f() {
+ }
+ IFTHEL_f.prototype.details = function IFTHEL_f() {
+ }
+ IFTHEL_f.prototype.get = function IFTHEL_f() {
+ }
+ IFTHEL_f.prototype.set = function IFTHEL_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -56,5 +56,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Events/MCLOCK_f.js b/js/Events/MCLOCK_f.js
index 0f5f1d23..aac463a8 100644
--- a/js/Events/MCLOCK_f.js
+++ b/js/Events/MCLOCK_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Events/MCLOCK_f.sci" */
function MCLOCK_f() {
-MCLOCK_f.prototype.define = function MCLOCK_f() {
+ MCLOCK_f.prototype.define = function MCLOCK_f() {
nn=2;
dt=0.1;
exprs=[[string(dt)],[string(nn)]];
@@ -67,12 +67,12 @@ x.model.evtout=[[1],[1]];
x.model.blocktype="h";
x.model.rpar=diagram;
x.graphics.peout=[[0],[0]];
-}
-MCLOCK_f.prototype.details = function MCLOCK_f() {
-}
-MCLOCK_f.prototype.get = function MCLOCK_f() {
-}
-MCLOCK_f.prototype.set = function MCLOCK_f() {
+ }
+ MCLOCK_f.prototype.details = function MCLOCK_f() {
+ }
+ MCLOCK_f.prototype.get = function MCLOCK_f() {
+ }
+ MCLOCK_f.prototype.set = function MCLOCK_f() {
for (i=1;i<=length(arg1.model.rpar.objs);i+=1) {
o=arg1.model.rpar.objs(i);
if (typeof(o)=="Block"&&o.gui=="MFCLCK_f") {
@@ -91,5 +91,5 @@ newpar[size(newpar)+1-1]=path;
x=arg1;
y=0;
typ=newpar;
-}
+ }
}
diff --git a/js/Events/MFCLCK_f.js b/js/Events/MFCLCK_f.js
index 30aa11a3..89d4e2f0 100644
--- a/js/Events/MFCLCK_f.js
+++ b/js/Events/MFCLCK_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Events/MFCLCK_f.sci" */
function MFCLCK_f() {
-MFCLCK_f.prototype.define = function MFCLCK_f() {
+ MFCLCK_f.prototype.define = function MFCLCK_f() {
nn=2;
dt=0.1;
model=scicos_model();
@@ -16,12 +16,12 @@ model.dep_ut=[false,false];
exprs=[[string(dt)],[string(nn)]];
gr_i=[];
x=standard_define([3,2],model,exprs,gr_i);
-}
-MFCLCK_f.prototype.details = function MFCLCK_f() {
-}
-MFCLCK_f.prototype.get = function MFCLCK_f() {
-}
-MFCLCK_f.prototype.set = function MFCLCK_f() {
+ }
+ MFCLCK_f.prototype.details = function MFCLCK_f() {
+ }
+ MFCLCK_f.prototype.get = function MFCLCK_f() {
+ }
+ MFCLCK_f.prototype.set = function MFCLCK_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -37,5 +37,5 @@ graphics.exprs=exprs;
x.graphics=graphics;
x.model=model;
}
-}
+ }
}
diff --git a/js/Events/VirtualCLK0.js b/js/Events/VirtualCLK0.js
index 55e6e0e0..adc195cb 100644
--- a/js/Events/VirtualCLK0.js
+++ b/js/Events/VirtualCLK0.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Events/VirtualCLK0.sci" */
function VirtualCLK0() {
-VirtualCLK0.prototype.define = function VirtualCLK0() {
+ VirtualCLK0.prototype.define = function VirtualCLK0() {
model=scicos_model();
model.sim="vrtclk0";
model.evtin=1;
@@ -11,12 +11,12 @@ model.firing=-1;
model.dep_ut=[false,false];
exprs=[];
x=standard_define([2,2],model,exprs," ");
-}
-VirtualCLK0.prototype.details = function VirtualCLK0() {
-}
-VirtualCLK0.prototype.get = function VirtualCLK0() {
-}
-VirtualCLK0.prototype.set = function VirtualCLK0() {
+ }
+ VirtualCLK0.prototype.details = function VirtualCLK0() {
+ }
+ VirtualCLK0.prototype.get = function VirtualCLK0() {
+ }
+ VirtualCLK0.prototype.set = function VirtualCLK0() {
x=arg1;
-}
+ }
}
diff --git a/js/Events/freq_div.js b/js/Events/freq_div.js
index 14d400d2..6d8dae12 100644
--- a/js/Events/freq_div.js
+++ b/js/Events/freq_div.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Events/freq_div.sci" */
function freq_div() {
-freq_div.prototype.define = function freq_div() {
+ freq_div.prototype.define = function freq_div() {
scs_m_1=scicos_diagram();
scs_m_1.objs[1-1]=Modulo_Count("define");
scs_m_1.objs[2-1]=CLKINV_f("define");
@@ -105,12 +105,12 @@ model.evtout=1;
model.rpar=scs_m_1;
gr_i=[];
x=standard_define([3,2],model,[],gr_i);
-}
-freq_div.prototype.details = function freq_div() {
-}
-freq_div.prototype.get = function freq_div() {
-}
-freq_div.prototype.set = function freq_div() {
+ }
+ freq_div.prototype.details = function freq_div() {
+ }
+ freq_div.prototype.get = function freq_div() {
+ }
+ freq_div.prototype.set = function freq_div() {
for (i=1;i<=length(arg1.model.rpar.objs);i+=1) {
o=arg1.model.rpar.objs(i);
if (typeof(o)=="Block"&&o.gui=="Modulo_Count") {
@@ -194,5 +194,5 @@ y=max(y,needcompile);
}
x=arg1;
typ=newpar;
-}
+ }
}
diff --git a/js/Hydraulics/Bache.js b/js/Hydraulics/Bache.js
index 012be294..46b88005 100644
--- a/js/Hydraulics/Bache.js
+++ b/js/Hydraulics/Bache.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Hydraulics/Bache.sci" */
function Bache() {
-Bache.prototype.define = function Bache() {
+ Bache.prototype.define = function Bache() {
in1=2;
out=3;
model=scicos_model();
@@ -32,12 +32,12 @@ gr_i=[];
x=standard_define([2,2],model,exprs,list(gr_i,0));
x.graphics.in_implicit=[["I"],["I"]];
x.graphics.out_implicit=[["I"],["I"],["E"]];
-}
-Bache.prototype.details = function Bache() {
-}
-Bache.prototype.get = function Bache() {
-}
-Bache.prototype.set = function Bache() {
+ }
+ Bache.prototype.details = function Bache() {
+ }
+ Bache.prototype.get = function Bache() {
+ }
+ Bache.prototype.set = function Bache() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -54,5 +54,5 @@ x.graphics=graphics;
x.model=model;
break;
}
-}
+ }
}
diff --git a/js/Hydraulics/Flowmeter.js b/js/Hydraulics/Flowmeter.js
index b93415e4..6b035647 100644
--- a/js/Hydraulics/Flowmeter.js
+++ b/js/Hydraulics/Flowmeter.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Hydraulics/Flowmeter.sci" */
function Flowmeter() {
-Flowmeter.prototype.define = function Flowmeter() {
+ Flowmeter.prototype.define = function Flowmeter() {
ModelName="Flowmeter";
PrametersValue=1;
ParametersName="Qini";
@@ -47,12 +47,12 @@ model.out=ones(size(MO,"*"),1);
x=standard_define([2,2],model,exprs,list(gr_i,0));
x.graphics.in_implicit=Typein;
x.graphics.out_implicit=Typeout;
-}
-Flowmeter.prototype.details = function Flowmeter() {
-}
-Flowmeter.prototype.get = function Flowmeter() {
-}
-Flowmeter.prototype.set = function Flowmeter() {
+ }
+ Flowmeter.prototype.details = function Flowmeter() {
+ }
+ Flowmeter.prototype.get = function Flowmeter() {
+ }
+ Flowmeter.prototype.set = function Flowmeter() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -68,5 +68,5 @@ x.model.equations.parameters[2-1]=list(Qini);
x.graphics.exprs=exprs;
break;
}
-}
+ }
}
diff --git a/js/Hydraulics/PerteDP.js b/js/Hydraulics/PerteDP.js
index dce5711b..e1386713 100644
--- a/js/Hydraulics/PerteDP.js
+++ b/js/Hydraulics/PerteDP.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Hydraulics/PerteDP.sci" */
function PerteDP() {
-PerteDP.prototype.define = function PerteDP() {
+ PerteDP.prototype.define = function PerteDP() {
model=scicos_model();
model.in1=[1];
model.out=[1];
@@ -27,12 +27,12 @@ gr_i=[];
x=standard_define([2,1],model,exprs,list(gr_i,0));
x.graphics.in_implicit=["I"];
x.graphics.out_implicit=["I"];
-}
-PerteDP.prototype.details = function PerteDP() {
-}
-PerteDP.prototype.get = function PerteDP() {
-}
-PerteDP.prototype.set = function PerteDP() {
+ }
+ PerteDP.prototype.details = function PerteDP() {
+ }
+ PerteDP.prototype.get = function PerteDP() {
+ }
+ PerteDP.prototype.set = function PerteDP() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -49,5 +49,5 @@ x.graphics=graphics;
x.model=model;
break;
}
-}
+ }
}
diff --git a/js/Hydraulics/PuitsP.js b/js/Hydraulics/PuitsP.js
index 7ad470c6..532d7209 100644
--- a/js/Hydraulics/PuitsP.js
+++ b/js/Hydraulics/PuitsP.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Hydraulics/PuitsP.sci" */
function PuitsP() {
-PuitsP.prototype.define = function PuitsP() {
+ PuitsP.prototype.define = function PuitsP() {
model=scicos_model();
P0=100000;
T0=290;
@@ -20,12 +20,12 @@ exprs=[[string(P0)],[string(T0)],[string(H0)],[string(option_temperature)]];
gr_i=[];
x=standard_define([2.5,2],model,exprs,list(gr_i,0));
x.graphics.in_implicit=["I"];
-}
-PuitsP.prototype.details = function PuitsP() {
-}
-PuitsP.prototype.get = function PuitsP() {
-}
-PuitsP.prototype.set = function PuitsP() {
+ }
+ PuitsP.prototype.details = function PuitsP() {
+ }
+ PuitsP.prototype.get = function PuitsP() {
+ }
+ PuitsP.prototype.set = function PuitsP() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -42,5 +42,5 @@ x.graphics=graphics;
x.model=model;
break;
}
-}
+ }
}
diff --git a/js/Hydraulics/SourceP.js b/js/Hydraulics/SourceP.js
index f6256723..877e4856 100644
--- a/js/Hydraulics/SourceP.js
+++ b/js/Hydraulics/SourceP.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Hydraulics/SourceP.sci" */
function SourceP() {
-SourceP.prototype.define = function SourceP() {
+ SourceP.prototype.define = function SourceP() {
model=scicos_model();
P0=300000;
T0=290;
@@ -22,12 +22,12 @@ exprs=[[string(P0)],[string(T0)],[string(H0)],[string(option_temperature)]];
gr_i=[];
x=standard_define([2.5,2],model,exprs,list(gr_i,0));
x.graphics.out_implicit=["I"];
-}
-SourceP.prototype.details = function SourceP() {
-}
-SourceP.prototype.get = function SourceP() {
-}
-SourceP.prototype.set = function SourceP() {
+ }
+ SourceP.prototype.details = function SourceP() {
+ }
+ SourceP.prototype.get = function SourceP() {
+ }
+ SourceP.prototype.set = function SourceP() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -44,5 +44,5 @@ x.graphics=graphics;
x.model=model;
break;
}
-}
+ }
}
diff --git a/js/Hydraulics/VanneReglante.js b/js/Hydraulics/VanneReglante.js
index 3b6fc5cc..40bf5a47 100644
--- a/js/Hydraulics/VanneReglante.js
+++ b/js/Hydraulics/VanneReglante.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Hydraulics/VanneReglante.sci" */
function VanneReglante() {
-VanneReglante.prototype.define = function VanneReglante() {
+ VanneReglante.prototype.define = function VanneReglante() {
model=scicos_model();
model.in1=[[1],[1]];
model.out=[1];
@@ -23,12 +23,12 @@ gr_i=[];
x=standard_define([2,2],model,exprs,list(gr_i,0));
x.graphics.in_implicit=[["I"],["E"]];
x.graphics.out_implicit=["I"];
-}
-VanneReglante.prototype.details = function VanneReglante() {
-}
-VanneReglante.prototype.get = function VanneReglante() {
-}
-VanneReglante.prototype.set = function VanneReglante() {
+ }
+ VanneReglante.prototype.details = function VanneReglante() {
+ }
+ VanneReglante.prototype.get = function VanneReglante() {
+ }
+ VanneReglante.prototype.set = function VanneReglante() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -45,5 +45,5 @@ x.graphics=graphics;
x.model=model;
break;
}
-}
+ }
}
diff --git a/js/IntegerOp/BITCLEAR.js b/js/IntegerOp/BITCLEAR.js
index e6411ee2..8b4d4858 100644
--- a/js/IntegerOp/BITCLEAR.js
+++ b/js/IntegerOp/BITCLEAR.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/IntegerOp/BITCLEAR.sci" */
function BITCLEAR() {
-BITCLEAR.prototype.define = function BITCLEAR() {
+ BITCLEAR.prototype.define = function BITCLEAR() {
model=scicos_model();
model.sim=list("bit_clear_32",4);
model.in1=1;
@@ -15,12 +15,12 @@ model.dep_ut=[true,false];
exprs=[[sci2exp(3)],[sci2exp(0)]];
gr_i=[];
x=standard_define([4,2],model,exprs,gr_i);
-}
-BITCLEAR.prototype.details = function BITCLEAR() {
-}
-BITCLEAR.prototype.get = function BITCLEAR() {
-}
-BITCLEAR.prototype.set = function BITCLEAR() {
+ }
+ BITCLEAR.prototype.details = function BITCLEAR() {
+ }
+ BITCLEAR.prototype.get = function BITCLEAR() {
+ }
+ BITCLEAR.prototype.set = function BITCLEAR() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -82,5 +82,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/IntegerOp/BITSET.js b/js/IntegerOp/BITSET.js
index bb6f0bf2..e3318fbe 100644
--- a/js/IntegerOp/BITSET.js
+++ b/js/IntegerOp/BITSET.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/IntegerOp/BITSET.sci" */
function BITSET() {
-BITSET.prototype.define = function BITSET() {
+ BITSET.prototype.define = function BITSET() {
model=scicos_model();
model.sim=list("bit_set_32",4);
model.in1=1;
@@ -15,12 +15,12 @@ model.dep_ut=[true,false];
exprs=[[sci2exp(3)],[sci2exp(0)]];
gr_i=[];
x=standard_define([4,2],model,exprs,gr_i);
-}
-BITSET.prototype.details = function BITSET() {
-}
-BITSET.prototype.get = function BITSET() {
-}
-BITSET.prototype.set = function BITSET() {
+ }
+ BITSET.prototype.details = function BITSET() {
+ }
+ BITSET.prototype.get = function BITSET() {
+ }
+ BITSET.prototype.set = function BITSET() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -80,5 +80,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/IntegerOp/CONVERT.js b/js/IntegerOp/CONVERT.js
index 11af1bfd..daf04285 100644
--- a/js/IntegerOp/CONVERT.js
+++ b/js/IntegerOp/CONVERT.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/IntegerOp/CONVERT.sci" */
function CONVERT() {
-CONVERT.prototype.define = function CONVERT() {
+ CONVERT.prototype.define = function CONVERT() {
sgn=2;
model=scicos_model();
model.sim=list("convert",4);
@@ -17,12 +17,12 @@ model.dep_ut=[true,false];
exprs=[[sci2exp(1)],[sci2exp(3)],[sci2exp(0)]];
gr_i=[];
x=standard_define([3,2],model,exprs,gr_i);
-}
-CONVERT.prototype.details = function CONVERT() {
-}
-CONVERT.prototype.get = function CONVERT() {
-}
-CONVERT.prototype.set = function CONVERT() {
+ }
+ CONVERT.prototype.details = function CONVERT() {
+ }
+ CONVERT.prototype.get = function CONVERT() {
+ }
+ CONVERT.prototype.set = function CONVERT() {
x=arg1;
graphics=arg1.graphics;
model=arg1.model;
@@ -366,5 +366,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/IntegerOp/DFLIPFLOP.js b/js/IntegerOp/DFLIPFLOP.js
index 8662151a..dcf097e3 100644
--- a/js/IntegerOp/DFLIPFLOP.js
+++ b/js/IntegerOp/DFLIPFLOP.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/IntegerOp/DFLIPFLOP.sci" */
function DFLIPFLOP() {
-DFLIPFLOP.prototype.define = function DFLIPFLOP() {
+ DFLIPFLOP.prototype.define = function DFLIPFLOP() {
scs_m=scicos_diagram(version="scicos4.2",props=scicos_params(wpar=[600,450,0,0,600,450],Title=["DFLIPFLOP"],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.objs[1-1]=scicos_block(gui="CONST_m",graphics=scicos_graphics(orig=[109.62561,263.44465],sz=[[20],[20]],flip=true,theta=0,exprs="int8(0)",pin=[],pout=6,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim=list("cstblk4_m",4),in1=[],in2=[],intyp=1,out=1,out2=1,outtyp=5,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(int8(0)),blocktype="d",firing=[],dep_ut=[false,false],label="",nzcross=0,nmode=0,equations=list()),doc=list());
scs_m.objs[2-1]=scicos_block(gui="IFTHEL_f",graphics=scicos_graphics(orig=[239.98293,378.2166],sz=[60,60],flip=true,theta=0,exprs=[["1"],["1"]],pin=29,pout=[],pein=22,peout=[[16],[44]],gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim=list("ifthel",-1),in1=1,in2=1,intyp=-1,out=[],out2=[],outtyp=1,evtin=1,evtout=[[1],[1]],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="l",firing=[-1,-1],dep_ut=[true,false],label="",nzcross=1,nmode=1,equations=list()),doc=list());
@@ -90,12 +90,12 @@ model.dep_ut=[true,false];
model.rpar=scs_m;
gr_i=[];
x=standard_define([2,3],model,[],gr_i);
-}
-DFLIPFLOP.prototype.details = function DFLIPFLOP() {
-}
-DFLIPFLOP.prototype.get = function DFLIPFLOP() {
-}
-DFLIPFLOP.prototype.set = function DFLIPFLOP() {
+ }
+ DFLIPFLOP.prototype.details = function DFLIPFLOP() {
+ }
+ DFLIPFLOP.prototype.get = function DFLIPFLOP() {
+ }
+ DFLIPFLOP.prototype.set = function DFLIPFLOP() {
x=arg1;
-}
+ }
}
diff --git a/js/IntegerOp/DLATCH.js b/js/IntegerOp/DLATCH.js
index 07e68848..00832d76 100644
--- a/js/IntegerOp/DLATCH.js
+++ b/js/IntegerOp/DLATCH.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/IntegerOp/DLATCH.sci" */
function DLATCH() {
-DLATCH.prototype.define = function DLATCH() {
+ DLATCH.prototype.define = function DLATCH() {
scs_m=scicos_diagram(version="scicos4.2",props=scicos_params(wpar=[600,450,0,0,600,450],Title=["DLATCH"],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.objs[1-1]=scicos_block(gui="CONST_m",graphics=scicos_graphics(orig=[109.62561,263.44465],sz=[[20],[20]],flip=true,theta=0,exprs="int8(0)",pin=[],pout=7,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim=list("cstblk4_m",4),in1=[],in2=[],intyp=1,out=1,out2=1,outtyp=5,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(int8(0)),blocktype="d",firing=[],dep_ut=[false,false],label="",nzcross=0,nmode=0,equations=list()),doc=list());
scs_m.objs[2-1]=scicos_block(gui="IFTHEL_f",graphics=scicos_graphics(orig=[233.37693,320.30536],sz=[60,60],flip=true,theta=0,exprs=[["0"],["1"]],pin=13,pout=[],pein=[],peout=[[6],[0]],gr_i=list([["txt=[\'If in>0\';\' \';\' then else\'];"],["xstringb(orig(1),orig(2),txt,sz(1),sz(2),\'fill\');"]],8),id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim=list("ifthel",-1),in1=1,in2=1,intyp=-1,out=[],out2=[],outtyp=1,evtin=[],evtout=[[1],[1]],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="l",firing=[-1,-1],dep_ut=[true,false],label="",nzcross=1,nmode=1,equations=list()),doc=list());
@@ -35,12 +35,12 @@ model.dep_ut=[true,false];
model.rpar=scs_m;
gr_i=[];
x=standard_define([2,3],model,[],gr_i);
-}
-DLATCH.prototype.details = function DLATCH() {
-}
-DLATCH.prototype.get = function DLATCH() {
-}
-DLATCH.prototype.set = function DLATCH() {
+ }
+ DLATCH.prototype.details = function DLATCH() {
+ }
+ DLATCH.prototype.get = function DLATCH() {
+ }
+ DLATCH.prototype.set = function DLATCH() {
x=arg1;
-}
+ }
}
diff --git a/js/IntegerOp/EXTRACTBITS.js b/js/IntegerOp/EXTRACTBITS.js
index e465eb83..f9608a18 100644
--- a/js/IntegerOp/EXTRACTBITS.js
+++ b/js/IntegerOp/EXTRACTBITS.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/IntegerOp/EXTRACTBITS.sci" */
function EXTRACTBITS() {
-EXTRACTBITS.prototype.define = function EXTRACTBITS() {
+ EXTRACTBITS.prototype.define = function EXTRACTBITS() {
numb=[];
model=scicos_model();
model.sim=list("extract_bit_32_UH0",4);
@@ -16,12 +16,12 @@ model.dep_ut=[true,false];
exprs=[[sci2exp(3)],[sci2exp(1)],[sci2exp(0)],[sci2exp(0)]];
gr_i=[];
x=standard_define([4,2],model,exprs,gr_i);
-}
-EXTRACTBITS.prototype.details = function EXTRACTBITS() {
-}
-EXTRACTBITS.prototype.get = function EXTRACTBITS() {
-}
-EXTRACTBITS.prototype.set = function EXTRACTBITS() {
+ }
+ EXTRACTBITS.prototype.details = function EXTRACTBITS() {
+ }
+ EXTRACTBITS.prototype.get = function EXTRACTBITS() {
+ }
+ EXTRACTBITS.prototype.set = function EXTRACTBITS() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -225,5 +225,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/IntegerOp/INTMUL.js b/js/IntegerOp/INTMUL.js
index 12f43e18..d094feb2 100644
--- a/js/IntegerOp/INTMUL.js
+++ b/js/IntegerOp/INTMUL.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/IntegerOp/INTMUL.sci" */
function INTMUL() {
-INTMUL.prototype.define = function INTMUL() {
+ INTMUL.prototype.define = function INTMUL() {
sgn=0;
model=scicos_model();
model.sim=list("matmul_i32",4);
@@ -17,12 +17,12 @@ model.dep_ut=[true,false];
exprs=[[sci2exp(3)],[sci2exp(0)]];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-INTMUL.prototype.details = function INTMUL() {
-}
-INTMUL.prototype.get = function INTMUL() {
-}
-INTMUL.prototype.set = function INTMUL() {
+ }
+ INTMUL.prototype.details = function INTMUL() {
+ }
+ INTMUL.prototype.get = function INTMUL() {
+ }
+ INTMUL.prototype.set = function INTMUL() {
x=arg1;
graphics=arg1.graphics;
model=arg1.model;
@@ -102,5 +102,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/IntegerOp/JKFLIPFLOP.js b/js/IntegerOp/JKFLIPFLOP.js
index 3c0ae862..2ecc001c 100644
--- a/js/IntegerOp/JKFLIPFLOP.js
+++ b/js/IntegerOp/JKFLIPFLOP.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/IntegerOp/JKFLIPFLOP.sci" */
function JKFLIPFLOP() {
-JKFLIPFLOP.prototype.define = function JKFLIPFLOP() {
+ JKFLIPFLOP.prototype.define = function JKFLIPFLOP() {
scs_m=scicos_diagram(version="scicos4.2",props=scicos_params(wpar=[600,450,0,0,600,450],Title=["JKFLIPFLOP"],tol=[[0.0001],[0.000001],[1.000e-10],[100001],[0],[0],[0]],tf=60,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.objs[1-1]=scicos_block(gui="DOLLAR_m",graphics=scicos_graphics(orig=[299.96961,261.584],sz=[40,40],flip=false,theta=0,exprs=[["int8(0)"],["1"]],pin=7,pout=5,pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit="E"),model=scicos_model(sim=list("dollar4_m",4),in1=1,in2=1,intyp=5,out=1,out2=1,outtyp=5,evtin=[],evtout=[],state=[],dstate=[],odstate=list(int8(0)),rpar=[],ipar=[],opar=list(),blocktype="d",firing=[],dep_ut=[false,false],label="",nzcross=0,nmode=0,equations=list()),doc=list());
scs_m_1=scicos_diagram(version="scicos4.2",props=scicos_params(wpar=[600,450,0,0,600,450],Title=["EDGE_TRIGGER","./"],tol=[[0.0001],[0.000001],[1.000e-10],[100001],[0],[0],[0]],tf=30,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()));
@@ -46,12 +46,12 @@ model.dep_ut=[true,false];
model.rpar=scs_m;
gr_i=[];
x=standard_define([2,3],model,[],gr_i);
-}
-JKFLIPFLOP.prototype.details = function JKFLIPFLOP() {
-}
-JKFLIPFLOP.prototype.get = function JKFLIPFLOP() {
-}
-JKFLIPFLOP.prototype.set = function JKFLIPFLOP() {
+ }
+ JKFLIPFLOP.prototype.details = function JKFLIPFLOP() {
+ }
+ JKFLIPFLOP.prototype.get = function JKFLIPFLOP() {
+ }
+ JKFLIPFLOP.prototype.set = function JKFLIPFLOP() {
for (i=1;i<=length(arg1.model.rpar.objs);i+=1) {
o=arg1.model.rpar.objs(i);
if (typeof(o)=="Block"&&o.gui=="DOLLAR_m") {
@@ -90,5 +90,5 @@ needcompile=2;
x=arg1;
y=needcompile;
typ=newpar;
-}
+ }
}
diff --git a/js/IntegerOp/LOGIC.js b/js/IntegerOp/LOGIC.js
index c5f9a45a..06861382 100644
--- a/js/IntegerOp/LOGIC.js
+++ b/js/IntegerOp/LOGIC.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/IntegerOp/LOGIC.sci" */
function LOGIC() {
-LOGIC.prototype.define = function LOGIC() {
+ LOGIC.prototype.define = function LOGIC() {
mat=[[0],[0],[0],[1]];
model=scicos_model();
model.sim=list("logic",4);
@@ -18,12 +18,12 @@ model.dep_ut=[true,false];
exprs=[[sci2exp(mat)],[sci2exp(0)]];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-LOGIC.prototype.details = function LOGIC() {
-}
-LOGIC.prototype.get = function LOGIC() {
-}
-LOGIC.prototype.set = function LOGIC() {
+ }
+ LOGIC.prototype.details = function LOGIC() {
+ }
+ LOGIC.prototype.get = function LOGIC() {
+ }
+ LOGIC.prototype.set = function LOGIC() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -62,5 +62,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/IntegerOp/SHIFT.js b/js/IntegerOp/SHIFT.js
index 9e330e39..ea5b3f67 100644
--- a/js/IntegerOp/SHIFT.js
+++ b/js/IntegerOp/SHIFT.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/IntegerOp/SHIFT.sci" */
function SHIFT() {
-SHIFT.prototype.define = function SHIFT() {
+ SHIFT.prototype.define = function SHIFT() {
sgn=[[0],[0]];
OPER=0;
model=scicos_model();
@@ -18,12 +18,12 @@ model.dep_ut=[true,false];
exprs=[[sci2exp(3)],[sci2exp(0)],[sci2exp(0)]];
gr_i=[];
x=standard_define([3,2],model,exprs,gr_i);
-}
-SHIFT.prototype.details = function SHIFT() {
-}
-SHIFT.prototype.get = function SHIFT() {
-}
-SHIFT.prototype.set = function SHIFT() {
+ }
+ SHIFT.prototype.details = function SHIFT() {
+ }
+ SHIFT.prototype.get = function SHIFT() {
+ }
+ SHIFT.prototype.set = function SHIFT() {
x=arg1;
graphics=arg1.graphics;
model=arg1.model;
@@ -117,5 +117,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/IntegerOp/SRFLIPFLOP.js b/js/IntegerOp/SRFLIPFLOP.js
index 487f3e86..de1bd644 100644
--- a/js/IntegerOp/SRFLIPFLOP.js
+++ b/js/IntegerOp/SRFLIPFLOP.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/IntegerOp/SRFLIPFLOP.sci" */
function SRFLIPFLOP() {
-SRFLIPFLOP.prototype.define = function SRFLIPFLOP() {
+ SRFLIPFLOP.prototype.define = function SRFLIPFLOP() {
scs_m=scicos_diagram(version="scicos4.2",props=scicos_params(wpar=[600,450,0,0,600,450],Title=["SRFLIPFLOP"],tol=[[0.0001],[0.000001],[1.000e-10],[100001],[0],[0],[0]],tf=60,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.objs[1-1]=scicos_block(gui="LOGIC",graphics=scicos_graphics(orig=[298.504,201.45067],sz=[40,40],flip=true,theta=0,exprs=[["[0 1;1 0;1 0;1 0;0 1;0 1;0 0;0 0]"],["1"]],pin=[[4],[10],[12]],pout=[[3],[8]],pein=[],peout=[],gr_i=[],id="",in_implicit=[["E"],["E"],["E"]],out_implicit=[["E"],["E"]]),model=scicos_model(sim=list("logic",4),in1=[[1],[1],[1]],in2=[[1],[1],[1]],intyp=[[5],[5],[5]],out=[[1],[1]],out2=[[1],[1]],outtyp=[[5],[5]],evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(int8([[0,1],[1,0],[1,0],[1,0],[0,1],[0,1],[0,0],[0,0]])),blocktype="c",firing=false,dep_ut=[true,false],label="",nzcross=0,nmode=0,equations=list()),doc=list());
scs_m.objs[2-1]=scicos_block(gui="DOLLAR_m",graphics=scicos_graphics(orig=[299.23733,254.25067],sz=[40,40],flip=false,theta=0,exprs=[["int8(0)"],["1"]],pin=6,pout=4,pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit="E"),model=scicos_model(sim=list("dollar4_m",4),in1=1,in2=1,intyp=5,out=1,out2=1,outtyp=5,evtin=[],evtout=[],state=[],dstate=[],odstate=list(int8(0)),rpar=[],ipar=[],opar=list(),blocktype="d",firing=[],dep_ut=[false,false],label="",nzcross=0,nmode=0,equations=list()),doc=list());
@@ -30,12 +30,12 @@ model.dep_ut=[true,false];
model.rpar=scs_m;
gr_i=[];
x=standard_define([2,3],model,[],gr_i);
-}
-SRFLIPFLOP.prototype.details = function SRFLIPFLOP() {
-}
-SRFLIPFLOP.prototype.get = function SRFLIPFLOP() {
-}
-SRFLIPFLOP.prototype.set = function SRFLIPFLOP() {
+ }
+ SRFLIPFLOP.prototype.details = function SRFLIPFLOP() {
+ }
+ SRFLIPFLOP.prototype.get = function SRFLIPFLOP() {
+ }
+ SRFLIPFLOP.prototype.set = function SRFLIPFLOP() {
for (i=1;i<=length(arg1.model.rpar.objs);i+=1) {
o=arg1.model.rpar.objs(i);
if (typeof(o)=="Block"&&o.gui=="DOLLAR_m") {
@@ -74,5 +74,5 @@ needcompile=2;
x=arg1;
y=needcompile;
typ=newpar;
-}
+ }
}
diff --git a/js/Linear/BIGSOM_f.js b/js/Linear/BIGSOM_f.js
index 8fbd341d..13cca127 100644
--- a/js/Linear/BIGSOM_f.js
+++ b/js/Linear/BIGSOM_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Linear/BIGSOM_f.sci" */
function BIGSOM_f() {
-BIGSOM_f.prototype.define = function BIGSOM_f() {
+ BIGSOM_f.prototype.define = function BIGSOM_f() {
sgn=[[1],[1]];
model=scicos_model();
model.sim=list("sum",2);
@@ -12,12 +12,12 @@ model.dep_ut=[true,false];
exprs=sci2exp(sgn);
gr_i=[];
x=standard_define([2,3],model,exprs,gr_i);
-}
-BIGSOM_f.prototype.details = function BIGSOM_f() {
-}
-BIGSOM_f.prototype.get = function BIGSOM_f() {
-}
-BIGSOM_f.prototype.set = function BIGSOM_f() {
+ }
+ BIGSOM_f.prototype.details = function BIGSOM_f() {
+ }
+ BIGSOM_f.prototype.get = function BIGSOM_f() {
+ }
+ BIGSOM_f.prototype.set = function BIGSOM_f() {
x=arg1;
graphics=arg1.graphics;
model=arg1.model;
@@ -37,5 +37,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Linear/CLINDUMMY_f.js b/js/Linear/CLINDUMMY_f.js
index c72b5713..3fc5112a 100644
--- a/js/Linear/CLINDUMMY_f.js
+++ b/js/Linear/CLINDUMMY_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Linear/CLINDUMMY_f.sci" */
function CLINDUMMY_f() {
-CLINDUMMY_f.prototype.define = function CLINDUMMY_f() {
+ CLINDUMMY_f.prototype.define = function CLINDUMMY_f() {
x0=0;
model=scicos_model();
model.sim=list("cdummy",4);
@@ -10,12 +10,12 @@ model.firing=[];
model.dep_ut=[false,true];
gr_i=[];
x=standard_define([3,2],model,[],gr_i);
-}
-CLINDUMMY_f.prototype.details = function CLINDUMMY_f() {
-}
-CLINDUMMY_f.prototype.get = function CLINDUMMY_f() {
-}
-CLINDUMMY_f.prototype.set = function CLINDUMMY_f() {
+ }
+ CLINDUMMY_f.prototype.details = function CLINDUMMY_f() {
+ }
+ CLINDUMMY_f.prototype.get = function CLINDUMMY_f() {
+ }
+ CLINDUMMY_f.prototype.set = function CLINDUMMY_f() {
x=arg1;
-}
+ }
}
diff --git a/js/Linear/CLSS.js b/js/Linear/CLSS.js
index d4465f5e..1bd13689 100644
--- a/js/Linear/CLSS.js
+++ b/js/Linear/CLSS.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Linear/CLSS.sci" */
function CLSS() {
-CLSS.prototype.define = function CLSS() {
+ CLSS.prototype.define = function CLSS() {
x0=0;
A=-1;
B=1;
@@ -19,12 +19,12 @@ model.dep_ut=[false,true];
exprs=[[strcat(sci2exp(A))],[strcat(sci2exp(B))],[strcat(sci2exp(C))],[strcat(sci2exp(D))],[strcat(sci2exp(x0))]];
gr_i=[];
x=standard_define([4,2],model,exprs,gr_i);
-}
-CLSS.prototype.details = function CLSS() {
-}
-CLSS.prototype.get = function CLSS() {
-}
-CLSS.prototype.set = function CLSS() {
+ }
+ CLSS.prototype.details = function CLSS() {
+ }
+ CLSS.prototype.get = function CLSS() {
+ }
+ CLSS.prototype.set = function CLSS() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -83,5 +83,5 @@ break;
}
}
}
-}
+ }
}
diff --git a/js/Linear/CLSS_f.js b/js/Linear/CLSS_f.js
index a3af3879..fe2c0dbc 100644
--- a/js/Linear/CLSS_f.js
+++ b/js/Linear/CLSS_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Linear/CLSS_f.sci" */
function CLSS_f() {
-CLSS_f.prototype.define = function CLSS_f() {
+ CLSS_f.prototype.define = function CLSS_f() {
x0=0;
A=-1;
B=1;
@@ -19,12 +19,12 @@ model.dep_ut=[false,true];
exprs=[[strcat(sci2exp(A))],[strcat(sci2exp(B))],[strcat(sci2exp(C))],[strcat(sci2exp(D))],[strcat(sci2exp(x0))]];
gr_i=[];
x=standard_define([4,2],model,exprs,gr_i);
-}
-CLSS_f.prototype.details = function CLSS_f() {
-}
-CLSS_f.prototype.get = function CLSS_f() {
-}
-CLSS_f.prototype.set = function CLSS_f() {
+ }
+ CLSS_f.prototype.details = function CLSS_f() {
+ }
+ CLSS_f.prototype.get = function CLSS_f() {
+ }
+ CLSS_f.prototype.set = function CLSS_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -73,5 +73,5 @@ break;
}
}
}
-}
+ }
}
diff --git a/js/Linear/DELAYV_f.js b/js/Linear/DELAYV_f.js
index 8ecb2401..410c96f4 100644
--- a/js/Linear/DELAYV_f.js
+++ b/js/Linear/DELAYV_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Linear/DELAYV_f.sci" */
function DELAYV_f() {
-DELAYV_f.prototype.define = function DELAYV_f() {
+ DELAYV_f.prototype.define = function DELAYV_f() {
nin=1;
z0=zeros(11,1);
zz0=z0.slice(1-1,$-1);
@@ -19,12 +19,12 @@ model.dep_ut=[true,false];
exprs=[[string(nin)],[strcat(string(z0.slice(1-1,$-1)),";")],[string(T)]];
gr_i=[];
x=standard_define([3,2],model,exprs,gr_i);
-}
-DELAYV_f.prototype.details = function DELAYV_f() {
-}
-DELAYV_f.prototype.get = function DELAYV_f() {
-}
-DELAYV_f.prototype.set = function DELAYV_f() {
+ }
+ DELAYV_f.prototype.details = function DELAYV_f() {
+ }
+ DELAYV_f.prototype.get = function DELAYV_f() {
+ }
+ DELAYV_f.prototype.set = function DELAYV_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -58,5 +58,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Linear/DELAY_f.js b/js/Linear/DELAY_f.js
index 05949aa7..667c4976 100644
--- a/js/Linear/DELAY_f.js
+++ b/js/Linear/DELAY_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Linear/DELAY_f.sci" */
function DELAY_f() {
-DELAY_f.prototype.define = function DELAY_f() {
+ DELAY_f.prototype.define = function DELAY_f() {
evtdly=EVTDLY_f("define");
evtdly.graphics.orig=[243,296];
evtdly.graphics.sz=[40,40];
@@ -63,12 +63,12 @@ x.graphics.in_implicit=["E"];
x.graphics.in_style="";
x.graphics.out_implicit=["E"];
x.graphics.out_style="";
-}
-DELAY_f.prototype.details = function DELAY_f() {
-}
-DELAY_f.prototype.get = function DELAY_f() {
-}
-DELAY_f.prototype.set = function DELAY_f() {
+ }
+ DELAY_f.prototype.details = function DELAY_f() {
+ }
+ DELAY_f.prototype.get = function DELAY_f() {
+ }
+ DELAY_f.prototype.set = function DELAY_f() {
ppath=list(0,0);
for (i=1;i<=length(arg1.model.rpar.objs);i+=1) {
o=arg1.model.rpar.objs(i);
@@ -124,5 +124,5 @@ break;
needcompile=0;
y=needcompile;
typ=newpar;
-}
+ }
}
diff --git a/js/Linear/DERIV.js b/js/Linear/DERIV.js
index 6ba258e6..acec98d0 100644
--- a/js/Linear/DERIV.js
+++ b/js/Linear/DERIV.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Linear/DERIV.sci" */
function DERIV() {
-DERIV.prototype.define = function DERIV() {
+ DERIV.prototype.define = function DERIV() {
model=scicos_model();
model.sim=list("deriv",4);
model.in1=-1;
@@ -10,12 +10,12 @@ model.dep_ut=[true,false];
exprs=[];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-DERIV.prototype.details = function DERIV() {
-}
-DERIV.prototype.get = function DERIV() {
-}
-DERIV.prototype.set = function DERIV() {
+ }
+ DERIV.prototype.details = function DERIV() {
+ }
+ DERIV.prototype.get = function DERIV() {
+ }
+ DERIV.prototype.set = function DERIV() {
x=arg1;
-}
+ }
}
diff --git a/js/Linear/DIFF_c.js b/js/Linear/DIFF_c.js
index 7f5905ab..e6eef6ff 100644
--- a/js/Linear/DIFF_c.js
+++ b/js/Linear/DIFF_c.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Linear/DIFF_c.sci" */
function DIFF_c() {
-DIFF_c.prototype.define = function DIFF_c() {
+ DIFF_c.prototype.define = function DIFF_c() {
x0=[[0],[0]];
model=scicos_model();
model.sim=list("diffblk_c",10004);
@@ -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_c.prototype.details = function DIFF_c() {
-}
-DIFF_c.prototype.get = function DIFF_c() {
-}
-DIFF_c.prototype.set = function DIFF_c() {
+ }
+ DIFF_c.prototype.details = function DIFF_c() {
+ }
+ DIFF_c.prototype.get = function DIFF_c() {
+ }
+ DIFF_c.prototype.set = function DIFF_c() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -51,5 +51,5 @@ break;
}
}
x.model.firing=[];
-}
+ }
}
diff --git a/js/Linear/DLSS.js b/js/Linear/DLSS.js
index 48f4069a..eacdb24b 100644
--- a/js/Linear/DLSS.js
+++ b/js/Linear/DLSS.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Linear/DLSS.sci" */
function DLSS() {
-DLSS.prototype.define = function DLSS() {
+ DLSS.prototype.define = function DLSS() {
x0=0;
A=-1;
B=1;
@@ -18,12 +18,12 @@ model.dep_ut=[false,false];
exprs=[[strcat(sci2exp(A))],[strcat(sci2exp(B))],[strcat(sci2exp(C))],[strcat(sci2exp(D))],[strcat(sci2exp(x0))]];
gr_i=[];
x=standard_define([4,2],model,exprs,gr_i);
-}
-DLSS.prototype.details = function DLSS() {
-}
-DLSS.prototype.get = function DLSS() {
-}
-DLSS.prototype.set = function DLSS() {
+ }
+ DLSS.prototype.details = function DLSS() {
+ }
+ DLSS.prototype.get = function DLSS() {
+ }
+ DLSS.prototype.set = function DLSS() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -82,5 +82,5 @@ break;
}
}
}
-}
+ }
}
diff --git a/js/Linear/DLSS_f.js b/js/Linear/DLSS_f.js
index 3eeb691a..f521b0e4 100644
--- a/js/Linear/DLSS_f.js
+++ b/js/Linear/DLSS_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Linear/DLSS_f.sci" */
function DLSS_f() {
-DLSS_f.prototype.define = function DLSS_f() {
+ DLSS_f.prototype.define = function DLSS_f() {
x0=0;
A=-1;
B=1;
@@ -18,12 +18,12 @@ model.dep_ut=[false,false];
exprs=[[strcat(sci2exp(A))],[strcat(sci2exp(B))],[strcat(sci2exp(C))],[strcat(sci2exp(D))],[strcat(sci2exp(x0))]];
gr_i=[];
x=standard_define([4,2],model,exprs,gr_i);
-}
-DLSS_f.prototype.details = function DLSS_f() {
-}
-DLSS_f.prototype.get = function DLSS_f() {
-}
-DLSS_f.prototype.set = function DLSS_f() {
+ }
+ DLSS_f.prototype.details = function DLSS_f() {
+ }
+ DLSS_f.prototype.get = function DLSS_f() {
+ }
+ DLSS_f.prototype.set = function DLSS_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -72,5 +72,5 @@ break;
}
}
}
-}
+ }
}
diff --git a/js/Linear/DOLLAR.js b/js/Linear/DOLLAR.js
index abcad365..359b75ec 100644
--- a/js/Linear/DOLLAR.js
+++ b/js/Linear/DOLLAR.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Linear/DOLLAR.sci" */
function DOLLAR() {
-DOLLAR.prototype.define = function DOLLAR() {
+ DOLLAR.prototype.define = function DOLLAR() {
z=0;
inh=0;
in1=1;
@@ -15,12 +15,12 @@ model.blocktype="d";
model.dep_ut=[false,false];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-DOLLAR.prototype.details = function DOLLAR() {
-}
-DOLLAR.prototype.get = function DOLLAR() {
-}
-DOLLAR.prototype.set = function DOLLAR() {
+ }
+ DOLLAR.prototype.details = function DOLLAR() {
+ }
+ DOLLAR.prototype.get = function DOLLAR() {
+ }
+ DOLLAR.prototype.set = function DOLLAR() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -86,5 +86,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Linear/DOLLAR_f.js b/js/Linear/DOLLAR_f.js
index 203d8dad..ef8a8f98 100644
--- a/js/Linear/DOLLAR_f.js
+++ b/js/Linear/DOLLAR_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Linear/DOLLAR_f.sci" */
function DOLLAR_f() {
-DOLLAR_f.prototype.define = function DOLLAR_f() {
+ DOLLAR_f.prototype.define = function DOLLAR_f() {
z=0;
inh=0;
in1=1;
@@ -15,12 +15,12 @@ model.blocktype="d";
model.dep_ut=[false,false];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-DOLLAR_f.prototype.details = function DOLLAR_f() {
-}
-DOLLAR_f.prototype.get = function DOLLAR_f() {
-}
-DOLLAR_f.prototype.set = function DOLLAR_f() {
+ }
+ DOLLAR_f.prototype.details = function DOLLAR_f() {
+ }
+ DOLLAR_f.prototype.get = function DOLLAR_f() {
+ }
+ DOLLAR_f.prototype.set = function DOLLAR_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -51,5 +51,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Linear/DOLLAR_m.js b/js/Linear/DOLLAR_m.js
index d7ce7a98..f4cdefb2 100644
--- a/js/Linear/DOLLAR_m.js
+++ b/js/Linear/DOLLAR_m.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Linear/DOLLAR_m.sci" */
function DOLLAR_m() {
-DOLLAR_m.prototype.define = function DOLLAR_m() {
+ DOLLAR_m.prototype.define = function DOLLAR_m() {
z=0;
inh=0;
in1=1;
@@ -15,12 +15,12 @@ model.blocktype="d";
model.dep_ut=[false,false];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-DOLLAR_m.prototype.details = function DOLLAR_m() {
-}
-DOLLAR_m.prototype.get = function DOLLAR_m() {
-}
-DOLLAR_m.prototype.set = function DOLLAR_m() {
+ }
+ DOLLAR_m.prototype.details = function DOLLAR_m() {
+ }
+ DOLLAR_m.prototype.get = function DOLLAR_m() {
+ }
+ DOLLAR_m.prototype.set = function DOLLAR_m() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -86,5 +86,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Linear/GAINBLK.js b/js/Linear/GAINBLK.js
index 83aad919..2f188149 100644
--- a/js/Linear/GAINBLK.js
+++ b/js/Linear/GAINBLK.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Linear/GAINBLK.sci" */
function GAINBLK() {
-GAINBLK.prototype.define = function GAINBLK() {
+ GAINBLK.prototype.define = function GAINBLK() {
gain=1;
in1=-1;
out=-1;
@@ -18,12 +18,12 @@ model.dep_ut=[true,false];
exprs=[strcat(sci2exp(gain))];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-GAINBLK.prototype.details = function GAINBLK() {
-}
-GAINBLK.prototype.get = function GAINBLK() {
-}
-GAINBLK.prototype.set = function GAINBLK() {
+ }
+ GAINBLK.prototype.details = function GAINBLK() {
+ }
+ GAINBLK.prototype.get = function GAINBLK() {
+ }
+ GAINBLK.prototype.set = function GAINBLK() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -143,5 +143,5 @@ break;
}
}
}
-}
+ }
}
diff --git a/js/Linear/GAINBLK_f.js b/js/Linear/GAINBLK_f.js
index 08505007..ad391196 100644
--- a/js/Linear/GAINBLK_f.js
+++ b/js/Linear/GAINBLK_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Linear/GAINBLK_f.sci" */
function GAINBLK_f() {
-GAINBLK_f.prototype.define = function GAINBLK_f() {
+ GAINBLK_f.prototype.define = function GAINBLK_f() {
gain=1;
in1=1;
out=1;
@@ -14,12 +14,12 @@ model.dep_ut=[true,false];
exprs=[strcat(sci2exp(gain))];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-GAINBLK_f.prototype.details = function GAINBLK_f() {
-}
-GAINBLK_f.prototype.get = function GAINBLK_f() {
-}
-GAINBLK_f.prototype.set = function GAINBLK_f() {
+ }
+ GAINBLK_f.prototype.details = function GAINBLK_f() {
+ }
+ GAINBLK_f.prototype.get = function GAINBLK_f() {
+ }
+ GAINBLK_f.prototype.set = function GAINBLK_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -43,5 +43,5 @@ break;
}
}
}
-}
+ }
}
diff --git a/js/Linear/GAIN_f.js b/js/Linear/GAIN_f.js
index 6e8f10bc..fcca61a8 100644
--- a/js/Linear/GAIN_f.js
+++ b/js/Linear/GAIN_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Linear/GAIN_f.sci" */
function GAIN_f() {
-GAIN_f.prototype.define = function GAIN_f() {
+ GAIN_f.prototype.define = function GAIN_f() {
gain=1;
in1=1;
out=1;
@@ -14,12 +14,12 @@ model.dep_ut=[true,false];
exprs=[[strcat(sci2exp(gain))],[strcat(sci2exp(in1))],[strcat(sci2exp(out))]];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-GAIN_f.prototype.details = function GAIN_f() {
-}
-GAIN_f.prototype.get = function GAIN_f() {
-}
-GAIN_f.prototype.set = function GAIN_f() {
+ }
+ GAIN_f.prototype.details = function GAIN_f() {
+ }
+ GAIN_f.prototype.get = function GAIN_f() {
+ }
+ GAIN_f.prototype.set = function GAIN_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -43,5 +43,5 @@ break;
}
}
}
-}
+ }
}
diff --git a/js/Linear/INTEGRAL.js b/js/Linear/INTEGRAL.js
index 04e3bca9..539b6c49 100644
--- a/js/Linear/INTEGRAL.js
+++ b/js/Linear/INTEGRAL.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Linear/INTEGRAL.sci" */
function INTEGRAL() {
-INTEGRAL.prototype.define = function INTEGRAL() {
+ INTEGRAL.prototype.define = function INTEGRAL() {
maxp=1;
minp=-1;
rpar=[];
@@ -16,12 +16,12 @@ exprs=string([[0],[0],[0],[maxp],[minp]]);
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
x.graphics.id="1/s";
-}
-INTEGRAL.prototype.details = function INTEGRAL() {
-}
-INTEGRAL.prototype.get = function INTEGRAL() {
-}
-INTEGRAL.prototype.set = function INTEGRAL() {
+ }
+ INTEGRAL.prototype.details = function INTEGRAL() {
+ }
+ INTEGRAL.prototype.get = function INTEGRAL() {
+ }
+ INTEGRAL.prototype.set = function INTEGRAL() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -76,5 +76,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Linear/INTEGRAL_f.js b/js/Linear/INTEGRAL_f.js
index b3711642..95cc752c 100644
--- a/js/Linear/INTEGRAL_f.js
+++ b/js/Linear/INTEGRAL_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Linear/INTEGRAL_f.sci" */
function INTEGRAL_f() {
-INTEGRAL_f.prototype.define = function INTEGRAL_f() {
+ INTEGRAL_f.prototype.define = function INTEGRAL_f() {
x0=0;
model=scicos_model();
model.sim="integr";
@@ -12,12 +12,12 @@ model.dep_ut=[false,true];
exprs=strcat(sci2exp(x0));
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-INTEGRAL_f.prototype.details = function INTEGRAL_f() {
-}
-INTEGRAL_f.prototype.get = function INTEGRAL_f() {
-}
-INTEGRAL_f.prototype.set = function INTEGRAL_f() {
+ }
+ INTEGRAL_f.prototype.details = function INTEGRAL_f() {
+ }
+ INTEGRAL_f.prototype.get = function INTEGRAL_f() {
+ }
+ INTEGRAL_f.prototype.set = function INTEGRAL_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -34,5 +34,5 @@ x.model=model;
break;
}
x.model.firing=[];
-}
+ }
}
diff --git a/js/Linear/INTEGRAL_m.js b/js/Linear/INTEGRAL_m.js
index d1497320..d18b4af5 100644
--- a/js/Linear/INTEGRAL_m.js
+++ b/js/Linear/INTEGRAL_m.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Linear/INTEGRAL_m.sci" */
function INTEGRAL_m() {
-INTEGRAL_m.prototype.define = function INTEGRAL_m() {
+ INTEGRAL_m.prototype.define = function INTEGRAL_m() {
maxp=1;
minp=-1;
rpar=[];
@@ -17,12 +17,12 @@ model.dep_ut=[false,true];
exprs=string([[0],[0],[0],[maxp],[minp]]);
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-INTEGRAL_m.prototype.details = function INTEGRAL_m() {
-}
-INTEGRAL_m.prototype.get = function INTEGRAL_m() {
-}
-INTEGRAL_m.prototype.set = function INTEGRAL_m() {
+ }
+ INTEGRAL_m.prototype.details = function INTEGRAL_m() {
+ }
+ INTEGRAL_m.prototype.get = function INTEGRAL_m() {
+ }
+ INTEGRAL_m.prototype.set = function INTEGRAL_m() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -119,5 +119,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Linear/PID.js b/js/Linear/PID.js
index 34d08bd4..4bba0cfd 100644
--- a/js/Linear/PID.js
+++ b/js/Linear/PID.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Linear/PID.sci" */
function PID() {
-PID.prototype.define = function PID() {
+ PID.prototype.define = function PID() {
scs_m=scicos_diagram(version="scicos4.2",props=scicos_params(wpar=[600,450,0,0,600,450],Title=["PID"],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.objs[1-1]=scicos_block(gui="INTEGRAL_m",graphics=scicos_graphics(orig=[318.304,183.11733],sz=[40,40],flip=true,theta=0,exprs=[["0"],["0"],["0"],["1"],["-1"]],pin=7,pout=9,pein=[],peout=[],gr_i=[],id="1/s",in_implicit="E",out_implicit="E"),model=scicos_model(sim=list("integral_func",4),in1=1,in2=1,intyp=1,out=1,out2=1,outtyp=1,evtin=[],evtout=[],state=0,dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="c",firing=[],dep_ut=[false,true],label="",nzcross=0,nmode=0,equations=list()),doc=list());
scs_m.objs[2-1]=scicos_block(gui="SUMMATION",graphics=scicos_graphics(orig=[387.97067,172.85067],sz=[40,60],flip=true,theta=0,exprs=[["1"],["[1;1;1]"]],pin=[[10],[9],[11]],pout=19,pein=[],peout=[],gr_i=[],id="",in_implicit=[["E"],["E"],["E"]],out_implicit="E"),model=scicos_model(sim=list("summation",4),in1=[[-1],[-1],[-1]],in2=[[-2],[-2],[-2]],intyp=[[1],[1],[1]],out=-1,out2=-2,outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[[1],[1],[1]],opar=list(),blocktype="c",firing=[],dep_ut=[true,false],label="",nzcross=0,nmode=0,equations=list()),doc=list());
@@ -37,12 +37,12 @@ model.dep_ut=[false,false];
model.rpar=scs_m;
gr_i=[];
x=standard_define([2,2],model,[],gr_i);
-}
-PID.prototype.details = function PID() {
-}
-PID.prototype.get = function PID() {
-}
-PID.prototype.set = function PID() {
+ }
+ PID.prototype.details = function PID() {
+ }
+ PID.prototype.get = function PID() {
+ }
+ PID.prototype.set = function PID() {
ppath=list(0,0,0);
for (i=1;i<=length(arg1.model.rpar.objs);i+=1) {
o=arg1.model.rpar.objs(i);
@@ -112,5 +112,5 @@ needcompile=2;
x=arg1;
y=max(y,needcompile);
typ=newpar;
-}
+ }
}
diff --git a/js/Linear/REGISTER.js b/js/Linear/REGISTER.js
index b716157a..ce6d6c13 100644
--- a/js/Linear/REGISTER.js
+++ b/js/Linear/REGISTER.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Linear/REGISTER.sci" */
function REGISTER() {
-REGISTER.prototype.define = function REGISTER() {
+ REGISTER.prototype.define = function REGISTER() {
z0=zeros(10,1);
model=scicos_model();
model.sim=list("delay4",4);
@@ -13,12 +13,12 @@ model.dep_ut=[false,false];
exprs=strcat(string(z0),";");
gr_i=[];
x=standard_define([3,2],model,exprs,gr_i);
-}
-REGISTER.prototype.details = function REGISTER() {
-}
-REGISTER.prototype.get = function REGISTER() {
-}
-REGISTER.prototype.set = function REGISTER() {
+ }
+ REGISTER.prototype.details = function REGISTER() {
+ }
+ REGISTER.prototype.get = function REGISTER() {
+ }
+ REGISTER.prototype.set = function REGISTER() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -77,5 +77,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Linear/REGISTER_f.js b/js/Linear/REGISTER_f.js
index d9a3cbdb..786d8d1a 100644
--- a/js/Linear/REGISTER_f.js
+++ b/js/Linear/REGISTER_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Linear/REGISTER_f.sci" */
function REGISTER_f() {
-REGISTER_f.prototype.define = function REGISTER_f() {
+ REGISTER_f.prototype.define = function REGISTER_f() {
z0=zeros(10,1);
model=scicos_model();
model.sim="delay";
@@ -13,12 +13,12 @@ model.dep_ut=[false,false];
exprs=strcat(string(z0),";");
gr_i=[];
x=standard_define([2.5,2.5],model,exprs,gr_i);
-}
-REGISTER_f.prototype.details = function REGISTER_f() {
-}
-REGISTER_f.prototype.get = function REGISTER_f() {
-}
-REGISTER_f.prototype.set = function REGISTER_f() {
+ }
+ REGISTER_f.prototype.details = function REGISTER_f() {
+ }
+ REGISTER_f.prototype.get = function REGISTER_f() {
+ }
+ REGISTER_f.prototype.set = function REGISTER_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -40,5 +40,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Linear/SAMPHOLD.js b/js/Linear/SAMPHOLD.js
index ef4e4595..5c155e3b 100644
--- a/js/Linear/SAMPHOLD.js
+++ b/js/Linear/SAMPHOLD.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Linear/SAMPHOLD.sci" */
function SAMPHOLD() {
-SAMPHOLD.prototype.define = function SAMPHOLD() {
+ SAMPHOLD.prototype.define = function SAMPHOLD() {
in1=-1;
model=scicos_model();
model.sim=list("samphold4",4);
@@ -11,13 +11,13 @@ model.blocktype="d";
model.dep_ut=[true,false];
gr_i=[];
x=standard_define([2,2],model," ",gr_i);
-}
-SAMPHOLD.prototype.details = function SAMPHOLD() {
-}
-SAMPHOLD.prototype.get = function SAMPHOLD() {
-}
-SAMPHOLD.prototype.set = function SAMPHOLD() {
+ }
+ SAMPHOLD.prototype.details = function SAMPHOLD() {
+ }
+ SAMPHOLD.prototype.get = function SAMPHOLD() {
+ }
+ SAMPHOLD.prototype.set = function SAMPHOLD() {
x=arg1;
x.model.firing=[];
-}
+ }
}
diff --git a/js/Linear/SAMPHOLD_m.js b/js/Linear/SAMPHOLD_m.js
index bcbcc7cd..3f022788 100644
--- a/js/Linear/SAMPHOLD_m.js
+++ b/js/Linear/SAMPHOLD_m.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Linear/SAMPHOLD_m.sci" */
function SAMPHOLD_m() {
-SAMPHOLD_m.prototype.define = function SAMPHOLD_m() {
+ SAMPHOLD_m.prototype.define = function SAMPHOLD_m() {
model=scicos_model();
model.sim=list("samphold4_m",4);
model.in1=-1;
@@ -15,12 +15,12 @@ model.dep_ut=[true,false];
label=[sci2exp(1)];
gr_i=[];
x=standard_define([2,2],model,label,gr_i);
-}
-SAMPHOLD_m.prototype.details = function SAMPHOLD_m() {
-}
-SAMPHOLD_m.prototype.get = function SAMPHOLD_m() {
-}
-SAMPHOLD_m.prototype.set = function SAMPHOLD_m() {
+ }
+ SAMPHOLD_m.prototype.details = function SAMPHOLD_m() {
+ }
+ SAMPHOLD_m.prototype.get = function SAMPHOLD_m() {
+ }
+ SAMPHOLD_m.prototype.set = function SAMPHOLD_m() {
x=arg1;
x.model.firing=[];
graphics=arg1.graphics;
@@ -47,5 +47,5 @@ break;
}
}
}
-}
+ }
}
diff --git a/js/Linear/SAMPLEHOLD_f.js b/js/Linear/SAMPLEHOLD_f.js
index bfc5e184..96624e37 100644
--- a/js/Linear/SAMPLEHOLD_f.js
+++ b/js/Linear/SAMPLEHOLD_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Linear/SAMPLEHOLD_f.sci" */
function SAMPLEHOLD_f() {
-SAMPLEHOLD_f.prototype.define = function SAMPLEHOLD_f() {
+ SAMPLEHOLD_f.prototype.define = function SAMPLEHOLD_f() {
in1=-1;
model=scicos_model();
model.sim="samphold";
@@ -11,13 +11,13 @@ model.blocktype="d";
model.dep_ut=[true,false];
gr_i=[];
x=standard_define([2,2],model," ",gr_i);
-}
-SAMPLEHOLD_f.prototype.details = function SAMPLEHOLD_f() {
-}
-SAMPLEHOLD_f.prototype.get = function SAMPLEHOLD_f() {
-}
-SAMPLEHOLD_f.prototype.set = function SAMPLEHOLD_f() {
+ }
+ SAMPLEHOLD_f.prototype.details = function SAMPLEHOLD_f() {
+ }
+ SAMPLEHOLD_f.prototype.get = function SAMPLEHOLD_f() {
+ }
+ SAMPLEHOLD_f.prototype.set = function SAMPLEHOLD_f() {
x=arg1;
x.model.firing=[];
-}
+ }
}
diff --git a/js/Linear/SOM_f.js b/js/Linear/SOM_f.js
index 2f948a32..3d201947 100644
--- a/js/Linear/SOM_f.js
+++ b/js/Linear/SOM_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Linear/SOM_f.sci" */
function SOM_f() {
-SOM_f.prototype.define = function SOM_f() {
+ SOM_f.prototype.define = function SOM_f() {
sgn=[[1],[1],[1]];
model=scicos_model();
model.sim=list("sum",2);
@@ -12,12 +12,12 @@ model.dep_ut=[true,false];
exprs=[[sci2exp(1)],[sci2exp(sgn)]];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-SOM_f.prototype.details = function SOM_f() {
-}
-SOM_f.prototype.get = function SOM_f() {
-}
-SOM_f.prototype.set = function SOM_f() {
+ }
+ SOM_f.prototype.details = function SOM_f() {
+ }
+ SOM_f.prototype.get = function SOM_f() {
+ }
+ SOM_f.prototype.set = function SOM_f() {
x=arg1;
graphics=arg1.graphics;
model=arg1.model;
@@ -36,5 +36,5 @@ labs=["down","right","up"];
str=[["This sum block is obsolete","parameters cannot be modified. Please replace it with new sum block"],["and gain blocks in the linear palette"," ","Input ports are located at up, side and down positions.","Current gains are:"]];
str=[[str],[(part(labs.slice(),1,7)+exprs.slice())]];
message(str);
-}
+ }
}
diff --git a/js/Linear/SUMMATION.js b/js/Linear/SUMMATION.js
index 4b54dda9..53da4f34 100644
--- a/js/Linear/SUMMATION.js
+++ b/js/Linear/SUMMATION.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Linear/SUMMATION.sci" */
function SUMMATION() {
-SUMMATION.prototype.define = function SUMMATION() {
+ SUMMATION.prototype.define = function SUMMATION() {
sgn=[[1],[-1]];
model=scicos_model();
model.sim=list("summation",4);
@@ -14,12 +14,12 @@ model.dep_ut=[true,false];
exprs=sci2exp(sgn);
gr_i=[];
x=standard_define([2,3],model,exprs,gr_i);
-}
-SUMMATION.prototype.details = function SUMMATION() {
-}
-SUMMATION.prototype.get = function SUMMATION() {
-}
-SUMMATION.prototype.set = function SUMMATION() {
+ }
+ SUMMATION.prototype.details = function SUMMATION() {
+ }
+ SUMMATION.prototype.get = function SUMMATION() {
+ }
+ SUMMATION.prototype.set = function SUMMATION() {
x=arg1;
graphics=arg1.graphics;
model=arg1.model;
@@ -133,5 +133,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Linear/SUM_f.js b/js/Linear/SUM_f.js
index 2fae7a87..15e8df7a 100644
--- a/js/Linear/SUM_f.js
+++ b/js/Linear/SUM_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Linear/SUM_f.sci" */
function SUM_f() {
-SUM_f.prototype.define = function SUM_f() {
+ SUM_f.prototype.define = function SUM_f() {
model=scicos_model();
model.sim=list("plusblk",2);
model.in1=[[-1],[-1],[-1]];
@@ -10,12 +10,12 @@ model.dep_ut=[true,false];
gr_i=[];
exprs=[];
x=standard_define([1,1],model,exprs,gr_i);
-}
-SUM_f.prototype.details = function SUM_f() {
-}
-SUM_f.prototype.get = function SUM_f() {
-}
-SUM_f.prototype.set = function SUM_f() {
+ }
+ SUM_f.prototype.details = function SUM_f() {
+ }
+ SUM_f.prototype.get = function SUM_f() {
+ }
+ SUM_f.prototype.set = function SUM_f() {
x=arg1;
-}
+ }
}
diff --git a/js/Linear/TCLSS.js b/js/Linear/TCLSS.js
index d26c9112..df49ee89 100644
--- a/js/Linear/TCLSS.js
+++ b/js/Linear/TCLSS.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Linear/TCLSS.sci" */
function TCLSS() {
-TCLSS.prototype.define = function TCLSS() {
+ TCLSS.prototype.define = function TCLSS() {
x0=0;
A=0;
B=1;
@@ -21,12 +21,12 @@ model.dep_ut=[false,true];
exprs=[[strcat(sci2exp(A))],[strcat(sci2exp(B))],[strcat(sci2exp(C))],[strcat(sci2exp(D))],[strcat(sci2exp(x0))]];
gr_i=[];
x=standard_define([3,2],model,exprs,gr_i);
-}
-TCLSS.prototype.details = function TCLSS() {
-}
-TCLSS.prototype.get = function TCLSS() {
-}
-TCLSS.prototype.set = function TCLSS() {
+ }
+ TCLSS.prototype.details = function TCLSS() {
+ }
+ TCLSS.prototype.get = function TCLSS() {
+ }
+ TCLSS.prototype.set = function TCLSS() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -80,5 +80,5 @@ break;
}
}
}
-}
+ }
}
diff --git a/js/Linear/TCLSS_f.js b/js/Linear/TCLSS_f.js
index 838267e2..9da638ee 100644
--- a/js/Linear/TCLSS_f.js
+++ b/js/Linear/TCLSS_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Linear/TCLSS_f.sci" */
function TCLSS_f() {
-TCLSS_f.prototype.define = function TCLSS_f() {
+ TCLSS_f.prototype.define = function TCLSS_f() {
x0=0;
A=0;
B=1;
@@ -21,12 +21,12 @@ model.dep_ut=[false,true];
exprs=[[strcat(sci2exp(A))],[strcat(sci2exp(B))],[strcat(sci2exp(C))],[strcat(sci2exp(D))],[strcat(sci2exp(x0))]];
gr_i=[];
x=standard_define([3,2],model,exprs,gr_i);
-}
-TCLSS_f.prototype.details = function TCLSS_f() {
-}
-TCLSS_f.prototype.get = function TCLSS_f() {
-}
-TCLSS_f.prototype.set = function TCLSS_f() {
+ }
+ TCLSS_f.prototype.details = function TCLSS_f() {
+ }
+ TCLSS_f.prototype.get = function TCLSS_f() {
+ }
+ TCLSS_f.prototype.set = function TCLSS_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -80,5 +80,5 @@ break;
}
}
}
-}
+ }
}
diff --git a/js/Linear/TIME_DELAY.js b/js/Linear/TIME_DELAY.js
index 94678dec..65dc2668 100644
--- a/js/Linear/TIME_DELAY.js
+++ b/js/Linear/TIME_DELAY.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Linear/TIME_DELAY.sci" */
function TIME_DELAY() {
-TIME_DELAY.prototype.define = function TIME_DELAY() {
+ TIME_DELAY.prototype.define = function TIME_DELAY() {
nin=1;
T=1;
init=0;
@@ -16,12 +16,12 @@ model.dep_ut=[false,true];
exprs=[[string(T)],[string(init)],[string(N)]];
gr_i=[];
x=standard_define([3.5,2],model,exprs,gr_i);
-}
-TIME_DELAY.prototype.details = function TIME_DELAY() {
-}
-TIME_DELAY.prototype.get = function TIME_DELAY() {
-}
-TIME_DELAY.prototype.set = function TIME_DELAY() {
+ }
+ TIME_DELAY.prototype.details = function TIME_DELAY() {
+ }
+ TIME_DELAY.prototype.get = function TIME_DELAY() {
+ }
+ TIME_DELAY.prototype.set = function TIME_DELAY() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -53,5 +53,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Linear/VARIABLE_DELAY.js b/js/Linear/VARIABLE_DELAY.js
index d66b25fa..e76d6a04 100644
--- a/js/Linear/VARIABLE_DELAY.js
+++ b/js/Linear/VARIABLE_DELAY.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Linear/VARIABLE_DELAY.sci" */
function VARIABLE_DELAY() {
-VARIABLE_DELAY.prototype.define = function VARIABLE_DELAY() {
+ VARIABLE_DELAY.prototype.define = function VARIABLE_DELAY() {
nin=1;
T=1;
init=0;
@@ -16,12 +16,12 @@ model.dep_ut=[false,false];
exprs=[[string(T)],[string(init)],[string(N)]];
gr_i=[];
x=standard_define([3,2],model,exprs,gr_i);
-}
-VARIABLE_DELAY.prototype.details = function VARIABLE_DELAY() {
-}
-VARIABLE_DELAY.prototype.get = function VARIABLE_DELAY() {
-}
-VARIABLE_DELAY.prototype.set = function VARIABLE_DELAY() {
+ }
+ VARIABLE_DELAY.prototype.details = function VARIABLE_DELAY() {
+ }
+ VARIABLE_DELAY.prototype.get = function VARIABLE_DELAY() {
+ }
+ VARIABLE_DELAY.prototype.set = function VARIABLE_DELAY() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -52,5 +52,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/MatrixOp/CUMSUM.js b/js/MatrixOp/CUMSUM.js
index c7b75fc6..aeedaf26 100644
--- a/js/MatrixOp/CUMSUM.js
+++ b/js/MatrixOp/CUMSUM.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/MatrixOp/CUMSUM.sci" */
function CUMSUM() {
-CUMSUM.prototype.define = function CUMSUM() {
+ CUMSUM.prototype.define = function CUMSUM() {
model=scicos_model();
function_name="cumsum_m";
funtyp=4;
@@ -23,12 +23,12 @@ model.dep_ut=[true,false];
label=[[sci2exp(1)],[sci2exp(0)]];
gr_i=[];
x=standard_define([3,2],model,label,gr_i);
-}
-CUMSUM.prototype.details = function CUMSUM() {
-}
-CUMSUM.prototype.get = function CUMSUM() {
-}
-CUMSUM.prototype.set = function CUMSUM() {
+ }
+ CUMSUM.prototype.details = function CUMSUM() {
+ }
+ CUMSUM.prototype.get = function CUMSUM() {
+ }
+ CUMSUM.prototype.set = function CUMSUM() {
x=arg1;
model=arg1.model;
graphics=arg1.graphics;
@@ -90,5 +90,5 @@ x=arg1;
break;
}
}
-}
+ }
}
diff --git a/js/MatrixOp/EXTRACT.js b/js/MatrixOp/EXTRACT.js
index b3fbbbc0..0f555aee 100644
--- a/js/MatrixOp/EXTRACT.js
+++ b/js/MatrixOp/EXTRACT.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/MatrixOp/EXTRACT.sci" */
function EXTRACT() {
-EXTRACT.prototype.define = function EXTRACT() {
+ EXTRACT.prototype.define = function EXTRACT() {
model=scicos_model();
function_name="extract";
funtyp=4;
@@ -23,12 +23,12 @@ model.dep_ut=[true,false];
label=[[sci2exp(1)],[sci2exp([1])],[sci2exp([1])]];
gr_i=[];
x=standard_define([3,2],model,label,gr_i);
-}
-EXTRACT.prototype.details = function EXTRACT() {
-}
-EXTRACT.prototype.get = function EXTRACT() {
-}
-EXTRACT.prototype.set = function EXTRACT() {
+ }
+ EXTRACT.prototype.details = function EXTRACT() {
+ }
+ EXTRACT.prototype.get = function EXTRACT() {
+ }
+ EXTRACT.prototype.set = function EXTRACT() {
x=arg1;
graphics=arg1.graphics;
label=graphics.exprs;
@@ -88,5 +88,5 @@ x=arg1;
break;
}
}
-}
+ }
}
diff --git a/js/MatrixOp/EXTTRI.js b/js/MatrixOp/EXTTRI.js
index 3cdcfe75..8f158f33 100644
--- a/js/MatrixOp/EXTTRI.js
+++ b/js/MatrixOp/EXTTRI.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/MatrixOp/EXTTRI.sci" */
function EXTTRI() {
-EXTTRI.prototype.define = function EXTTRI() {
+ EXTTRI.prototype.define = function EXTTRI() {
model=scicos_model();
function_name="extrilz";
funtyp=4;
@@ -23,12 +23,12 @@ model.dep_ut=[true,false];
label=[[sci2exp(1)],[sci2exp(1)]];
gr_i=[];
x=standard_define([3,2],model,label,gr_i);
-}
-EXTTRI.prototype.details = function EXTTRI() {
-}
-EXTTRI.prototype.get = function EXTTRI() {
-}
-EXTTRI.prototype.set = function EXTTRI() {
+ }
+ EXTTRI.prototype.details = function EXTTRI() {
+ }
+ EXTTRI.prototype.get = function EXTTRI() {
+ }
+ EXTTRI.prototype.set = function EXTTRI() {
x=arg1;
model=arg1.model;
graphics=arg1.graphics;
@@ -87,5 +87,5 @@ x=arg1;
break;
}
}
-}
+ }
}
diff --git a/js/MatrixOp/MATBKSL.js b/js/MatrixOp/MATBKSL.js
index b26fdd24..09f4ca91 100644
--- a/js/MatrixOp/MATBKSL.js
+++ b/js/MatrixOp/MATBKSL.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/MatrixOp/MATBKSL.sci" */
function MATBKSL() {
-MATBKSL.prototype.define = function MATBKSL() {
+ MATBKSL.prototype.define = function MATBKSL() {
model=scicos_model();
function_name="mat_bksl";
funtyp=4;
@@ -23,12 +23,12 @@ model.dep_ut=[true,false];
label=[sci2exp(1)];
gr_i=[];
x=standard_define([2,2],model,label,gr_i);
-}
-MATBKSL.prototype.details = function MATBKSL() {
-}
-MATBKSL.prototype.get = function MATBKSL() {
-}
-MATBKSL.prototype.set = function MATBKSL() {
+ }
+ MATBKSL.prototype.details = function MATBKSL() {
+ }
+ MATBKSL.prototype.get = function MATBKSL() {
+ }
+ MATBKSL.prototype.set = function MATBKSL() {
x=arg1;
graphics=arg1.graphics;
label=graphics.exprs;
@@ -67,5 +67,5 @@ x=arg1;
break;
}
}
-}
+ }
}
diff --git a/js/MatrixOp/MATCATH.js b/js/MatrixOp/MATCATH.js
index 868e11cd..930bba26 100644
--- a/js/MatrixOp/MATCATH.js
+++ b/js/MatrixOp/MATCATH.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/MatrixOp/MATCATH.sci" */
function MATCATH() {
-MATCATH.prototype.define = function MATCATH() {
+ MATCATH.prototype.define = function MATCATH() {
model=scicos_model();
function_name="mat_cath";
funtyp=4;
@@ -23,12 +23,12 @@ model.dep_ut=[true,false];
label=[sci2exp(2)];
gr_i=[];
x=standard_define([2,3],model,label,gr_i);
-}
-MATCATH.prototype.details = function MATCATH() {
-}
-MATCATH.prototype.get = function MATCATH() {
-}
-MATCATH.prototype.set = function MATCATH() {
+ }
+ MATCATH.prototype.details = function MATCATH() {
+ }
+ MATCATH.prototype.get = function MATCATH() {
+ }
+ MATCATH.prototype.set = function MATCATH() {
x=arg1;
model=arg1.model;
graphics=arg1.graphics;
@@ -57,5 +57,5 @@ x=arg1;
break;
}
}
-}
+ }
}
diff --git a/js/MatrixOp/MATCATV.js b/js/MatrixOp/MATCATV.js
index b6b3b387..9d22c7cd 100644
--- a/js/MatrixOp/MATCATV.js
+++ b/js/MatrixOp/MATCATV.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/MatrixOp/MATCATV.sci" */
function MATCATV() {
-MATCATV.prototype.define = function MATCATV() {
+ MATCATV.prototype.define = function MATCATV() {
l1=[[2],[2]];
model=scicos_model();
function_name="mat_catv";
@@ -24,12 +24,12 @@ model.dep_ut=[true,false];
label=[sci2exp(2)];
gr_i=[];
x=standard_define([2,3],model,label,gr_i);
-}
-MATCATV.prototype.details = function MATCATV() {
-}
-MATCATV.prototype.get = function MATCATV() {
-}
-MATCATV.prototype.set = function MATCATV() {
+ }
+ MATCATV.prototype.details = function MATCATV() {
+ }
+ MATCATV.prototype.get = function MATCATV() {
+ }
+ MATCATV.prototype.set = function MATCATV() {
x=arg1;
model=arg1.model;
graphics=arg1.graphics;
@@ -58,5 +58,5 @@ x=arg1;
break;
}
}
-}
+ }
}
diff --git a/js/MatrixOp/MATDET.js b/js/MatrixOp/MATDET.js
index 94254032..40baf95c 100644
--- a/js/MatrixOp/MATDET.js
+++ b/js/MatrixOp/MATDET.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/MatrixOp/MATDET.sci" */
function MATDET() {
-MATDET.prototype.define = function MATDET() {
+ MATDET.prototype.define = function MATDET() {
model=scicos_model();
function_name="mat_det";
funtyp=4;
@@ -23,12 +23,12 @@ model.dep_ut=[true,false];
label=[sci2exp(1)];
gr_i=[];
x=standard_define([2,2],model,label,gr_i);
-}
-MATDET.prototype.details = function MATDET() {
-}
-MATDET.prototype.get = function MATDET() {
-}
-MATDET.prototype.set = function MATDET() {
+ }
+ MATDET.prototype.details = function MATDET() {
+ }
+ MATDET.prototype.get = function MATDET() {
+ }
+ MATDET.prototype.set = function MATDET() {
x=arg1;
graphics=arg1.graphics;
label=graphics.exprs;
@@ -67,5 +67,5 @@ x=arg1;
break;
}
}
-}
+ }
}
diff --git a/js/MatrixOp/MATDIAG.js b/js/MatrixOp/MATDIAG.js
index eda54d4c..e90fa6db 100644
--- a/js/MatrixOp/MATDIAG.js
+++ b/js/MatrixOp/MATDIAG.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/MatrixOp/MATDIAG.sci" */
function MATDIAG() {
-MATDIAG.prototype.define = function MATDIAG() {
+ MATDIAG.prototype.define = function MATDIAG() {
model=scicos_model();
function_name="mat_diag";
funtyp=4;
@@ -23,12 +23,12 @@ model.dep_ut=[true,false];
label=[sci2exp(1)];
gr_i=[];
x=standard_define([2,2],model,label,gr_i);
-}
-MATDIAG.prototype.details = function MATDIAG() {
-}
-MATDIAG.prototype.get = function MATDIAG() {
-}
-MATDIAG.prototype.set = function MATDIAG() {
+ }
+ MATDIAG.prototype.details = function MATDIAG() {
+ }
+ MATDIAG.prototype.get = function MATDIAG() {
+ }
+ MATDIAG.prototype.set = function MATDIAG() {
x=arg1;
graphics=arg1.graphics;
label=graphics.exprs;
@@ -67,5 +67,5 @@ x=arg1;
break;
}
}
-}
+ }
}
diff --git a/js/MatrixOp/MATDIV.js b/js/MatrixOp/MATDIV.js
index 9b1b5164..9a8b3e48 100644
--- a/js/MatrixOp/MATDIV.js
+++ b/js/MatrixOp/MATDIV.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/MatrixOp/MATDIV.sci" */
function MATDIV() {
-MATDIV.prototype.define = function MATDIV() {
+ MATDIV.prototype.define = function MATDIV() {
model=scicos_model();
function_name="mat_div";
funtyp=4;
@@ -23,12 +23,12 @@ model.dep_ut=[true,false];
label=[sci2exp(1)];
gr_i=[];
x=standard_define([2,2],model,label,gr_i);
-}
-MATDIV.prototype.details = function MATDIV() {
-}
-MATDIV.prototype.get = function MATDIV() {
-}
-MATDIV.prototype.set = function MATDIV() {
+ }
+ MATDIV.prototype.details = function MATDIV() {
+ }
+ MATDIV.prototype.get = function MATDIV() {
+ }
+ MATDIV.prototype.set = function MATDIV() {
x=arg1;
graphics=arg1.graphics;
label=graphics.exprs;
@@ -67,5 +67,5 @@ x=arg1;
break;
}
}
-}
+ }
}
diff --git a/js/MatrixOp/MATEIG.js b/js/MatrixOp/MATEIG.js
index d65c76e0..bacd2d88 100644
--- a/js/MatrixOp/MATEIG.js
+++ b/js/MatrixOp/MATEIG.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/MatrixOp/MATEIG.sci" */
function MATEIG() {
-MATEIG.prototype.define = function MATEIG() {
+ MATEIG.prototype.define = function MATEIG() {
model=scicos_model();
function_name="mat_vps";
funtyp=4;
@@ -23,12 +23,12 @@ model.dep_ut=[true,false];
label=[[sci2exp(1)],[sci2exp(1)]];
gr_i=[];
x=standard_define([2,2],model,label,gr_i);
-}
-MATEIG.prototype.details = function MATEIG() {
-}
-MATEIG.prototype.get = function MATEIG() {
-}
-MATEIG.prototype.set = function MATEIG() {
+ }
+ MATEIG.prototype.details = function MATEIG() {
+ }
+ MATEIG.prototype.get = function MATEIG() {
+ }
+ MATEIG.prototype.set = function MATEIG() {
x=arg1;
model=arg1.model;
graphics=arg1.graphics;
@@ -88,5 +88,5 @@ x=arg1;
break;
}
}
-}
+ }
}
diff --git a/js/MatrixOp/MATEXPM.js b/js/MatrixOp/MATEXPM.js
index 32db0fc5..33d61bdb 100644
--- a/js/MatrixOp/MATEXPM.js
+++ b/js/MatrixOp/MATEXPM.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/MatrixOp/MATEXPM.sci" */
function MATEXPM() {
-MATEXPM.prototype.define = function MATEXPM() {
+ MATEXPM.prototype.define = function MATEXPM() {
model=scicos_model();
function_name="mat_expm";
funtyp=4;
@@ -23,12 +23,12 @@ model.dep_ut=[true,false];
label=[sci2exp(1)];
gr_i=[];
x=standard_define([2,2],model,label,gr_i);
-}
-MATEXPM.prototype.details = function MATEXPM() {
-}
-MATEXPM.prototype.get = function MATEXPM() {
-}
-MATEXPM.prototype.set = function MATEXPM() {
+ }
+ MATEXPM.prototype.details = function MATEXPM() {
+ }
+ MATEXPM.prototype.get = function MATEXPM() {
+ }
+ MATEXPM.prototype.set = function MATEXPM() {
x=arg1;
graphics=arg1.graphics;
label=graphics.exprs;
@@ -67,5 +67,5 @@ x=arg1;
break;
}
}
-}
+ }
}
diff --git a/js/MatrixOp/MATINV.js b/js/MatrixOp/MATINV.js
index 55edb2cb..f7d3d3a0 100644
--- a/js/MatrixOp/MATINV.js
+++ b/js/MatrixOp/MATINV.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/MatrixOp/MATINV.sci" */
function MATINV() {
-MATINV.prototype.define = function MATINV() {
+ MATINV.prototype.define = function MATINV() {
model=scicos_model();
function_name="mat_inv";
funtyp=4;
@@ -23,12 +23,12 @@ model.dep_ut=[true,false];
label=[sci2exp(1)];
gr_i=[];
x=standard_define([2,2],model,label,gr_i);
-}
-MATINV.prototype.details = function MATINV() {
-}
-MATINV.prototype.get = function MATINV() {
-}
-MATINV.prototype.set = function MATINV() {
+ }
+ MATINV.prototype.details = function MATINV() {
+ }
+ MATINV.prototype.get = function MATINV() {
+ }
+ MATINV.prototype.set = function MATINV() {
x=arg1;
graphics=arg1.graphics;
label=graphics.exprs;
@@ -67,5 +67,5 @@ x=arg1;
break;
}
}
-}
+ }
}
diff --git a/js/MatrixOp/MATLU.js b/js/MatrixOp/MATLU.js
index e6a67049..2dd23741 100644
--- a/js/MatrixOp/MATLU.js
+++ b/js/MatrixOp/MATLU.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/MatrixOp/MATLU.sci" */
function MATLU() {
-MATLU.prototype.define = function MATLU() {
+ MATLU.prototype.define = function MATLU() {
model=scicos_model();
function_name="mat_lu";
funtyp=4;
@@ -23,12 +23,12 @@ model.dep_ut=[true,false];
label=sci2exp(1);
gr_i=[];
x=standard_define([2,2],model,label,gr_i);
-}
-MATLU.prototype.details = function MATLU() {
-}
-MATLU.prototype.get = function MATLU() {
-}
-MATLU.prototype.set = function MATLU() {
+ }
+ MATLU.prototype.details = function MATLU() {
+ }
+ MATLU.prototype.get = function MATLU() {
+ }
+ MATLU.prototype.set = function MATLU() {
x=arg1;
model=arg1.model;
graphics=arg1.graphics;
@@ -65,5 +65,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/MatrixOp/MATMAGPHI.js b/js/MatrixOp/MATMAGPHI.js
index ffcb5aa6..9abf841a 100644
--- a/js/MatrixOp/MATMAGPHI.js
+++ b/js/MatrixOp/MATMAGPHI.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/MatrixOp/MATMAGPHI.sci" */
function MATMAGPHI() {
-MATMAGPHI.prototype.define = function MATMAGPHI() {
+ MATMAGPHI.prototype.define = function MATMAGPHI() {
model=scicos_model();
function_name="matz_abs";
funtyp=4;
@@ -23,12 +23,12 @@ model.dep_ut=[true,false];
label=[sci2exp(1)];
gr_i=[];
x=standard_define([3,2],model,label,gr_i);
-}
-MATMAGPHI.prototype.details = function MATMAGPHI() {
-}
-MATMAGPHI.prototype.get = function MATMAGPHI() {
-}
-MATMAGPHI.prototype.set = function MATMAGPHI() {
+ }
+ MATMAGPHI.prototype.details = function MATMAGPHI() {
+ }
+ MATMAGPHI.prototype.get = function MATMAGPHI() {
+ }
+ MATMAGPHI.prototype.set = function MATMAGPHI() {
x=arg1;
model=arg1.model;
graphics=arg1.graphics;
@@ -71,5 +71,5 @@ x=arg1;
break;
}
}
-}
+ }
}
diff --git a/js/MatrixOp/MATMUL.js b/js/MatrixOp/MATMUL.js
index 72933c06..623748a7 100644
--- a/js/MatrixOp/MATMUL.js
+++ b/js/MatrixOp/MATMUL.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/MatrixOp/MATMUL.sci" */
function MATMUL() {
-MATMUL.prototype.define = function MATMUL() {
+ MATMUL.prototype.define = function MATMUL() {
model=scicos_model();
model.sim=list("matmul_m",4);
model.in1=[[-1],[-2]];
@@ -12,12 +12,12 @@ model.ipar=1;
label=[sci2exp(model.ipar)];
gr_i=[];
x=standard_define([3,2],model,label,gr_i);
-}
-MATMUL.prototype.details = function MATMUL() {
-}
-MATMUL.prototype.get = function MATMUL() {
-}
-MATMUL.prototype.set = function MATMUL() {
+ }
+ MATMUL.prototype.details = function MATMUL() {
+ }
+ MATMUL.prototype.get = function MATMUL() {
+ }
+ MATMUL.prototype.set = function MATMUL() {
x=arg1;
graphics=x.graphics;
label=graphics.exprs;
@@ -147,5 +147,5 @@ arg1=x;
break;
}
}
-}
+ }
}
diff --git a/js/MatrixOp/MATPINV.js b/js/MatrixOp/MATPINV.js
index c0ae5fe9..ca39b50c 100644
--- a/js/MatrixOp/MATPINV.js
+++ b/js/MatrixOp/MATPINV.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/MatrixOp/MATPINV.sci" */
function MATPINV() {
-MATPINV.prototype.define = function MATPINV() {
+ MATPINV.prototype.define = function MATPINV() {
model=scicos_model();
function_name="mat_pinv";
funtyp=4;
@@ -23,12 +23,12 @@ model.dep_ut=[true,false];
label=[sci2exp(1)];
gr_i=[];
x=standard_define([2,2],model,label,gr_i);
-}
-MATPINV.prototype.details = function MATPINV() {
-}
-MATPINV.prototype.get = function MATPINV() {
-}
-MATPINV.prototype.set = function MATPINV() {
+ }
+ MATPINV.prototype.details = function MATPINV() {
+ }
+ MATPINV.prototype.get = function MATPINV() {
+ }
+ MATPINV.prototype.set = function MATPINV() {
x=arg1;
graphics=arg1.graphics;
label=graphics.exprs;
@@ -67,5 +67,5 @@ x=arg1;
break;
}
}
-}
+ }
}
diff --git a/js/MatrixOp/MATRESH.js b/js/MatrixOp/MATRESH.js
index f9708e24..eacbd0a0 100644
--- a/js/MatrixOp/MATRESH.js
+++ b/js/MatrixOp/MATRESH.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/MatrixOp/MATRESH.sci" */
function MATRESH() {
-MATRESH.prototype.define = function MATRESH() {
+ MATRESH.prototype.define = function MATRESH() {
model=scicos_model();
function_name="mat_reshape";
funtyp=4;
@@ -23,12 +23,12 @@ model.dep_ut=[true,false];
label=[[sci2exp(1)],[sci2exp([1,1])],[sci2exp([1,1])]];
gr_i=[];
x=standard_define([3,2],model,label,gr_i);
-}
-MATRESH.prototype.details = function MATRESH() {
-}
-MATRESH.prototype.get = function MATRESH() {
-}
-MATRESH.prototype.set = function MATRESH() {
+ }
+ MATRESH.prototype.details = function MATRESH() {
+ }
+ MATRESH.prototype.get = function MATRESH() {
+ }
+ MATRESH.prototype.set = function MATRESH() {
x=arg1;
model=arg1.model;
graphics=arg1.graphics;
@@ -92,5 +92,5 @@ break;
}
}
needcompile=resume(needcompile)
-}
+ }
}
diff --git a/js/MatrixOp/MATSING.js b/js/MatrixOp/MATSING.js
index 49c5c0d3..fa88b00f 100644
--- a/js/MatrixOp/MATSING.js
+++ b/js/MatrixOp/MATSING.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/MatrixOp/MATSING.sci" */
function MATSING() {
-MATSING.prototype.define = function MATSING() {
+ MATSING.prototype.define = function MATSING() {
model=scicos_model();
function_name="mat_sing";
funtyp=4;
@@ -23,12 +23,12 @@ model.dep_ut=[true,false];
label=[[sci2exp(1)],[sci2exp(1)]];
gr_i=[];
x=standard_define([2,2],model,label,gr_i);
-}
-MATSING.prototype.details = function MATSING() {
-}
-MATSING.prototype.get = function MATSING() {
-}
-MATSING.prototype.set = function MATSING() {
+ }
+ MATSING.prototype.details = function MATSING() {
+ }
+ MATSING.prototype.get = function MATSING() {
+ }
+ MATSING.prototype.set = function MATSING() {
x=arg1;
model=arg1.model;
graphics=arg1.graphics;
@@ -91,5 +91,5 @@ x=arg1;
break;
}
}
-}
+ }
}
diff --git a/js/MatrixOp/MATSUM.js b/js/MatrixOp/MATSUM.js
index 203f3c20..d00d796e 100644
--- a/js/MatrixOp/MATSUM.js
+++ b/js/MatrixOp/MATSUM.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/MatrixOp/MATSUM.sci" */
function MATSUM() {
-MATSUM.prototype.define = function MATSUM() {
+ MATSUM.prototype.define = function MATSUM() {
model=scicos_model();
function_name="mat_sum";
funtyp=4;
@@ -23,12 +23,12 @@ model.dep_ut=[true,false];
label=[[sci2exp(1)],[sci2exp(0)]];
gr_i=[];
x=standard_define([3,2],model,label,gr_i);
-}
-MATSUM.prototype.details = function MATSUM() {
-}
-MATSUM.prototype.get = function MATSUM() {
-}
-MATSUM.prototype.set = function MATSUM() {
+ }
+ MATSUM.prototype.details = function MATSUM() {
+ }
+ MATSUM.prototype.get = function MATSUM() {
+ }
+ MATSUM.prototype.set = function MATSUM() {
x=arg1;
model=arg1.model;
graphics=arg1.graphics;
@@ -92,5 +92,5 @@ x=arg1;
break;
}
}
-}
+ }
}
diff --git a/js/MatrixOp/MATTRAN.js b/js/MatrixOp/MATTRAN.js
index c6cf1631..e8bb7ca1 100644
--- a/js/MatrixOp/MATTRAN.js
+++ b/js/MatrixOp/MATTRAN.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/MatrixOp/MATTRAN.sci" */
function MATTRAN() {
-MATTRAN.prototype.define = function MATTRAN() {
+ MATTRAN.prototype.define = function MATTRAN() {
model=scicos_model();
model.sim=list("mattran_m",4);
model.in1=-1;
@@ -11,12 +11,12 @@ model.dep_ut=[true,false];
label=[sci2exp(1)];
gr_i=[];
x=standard_define([3,2],model,label,gr_i);
-}
-MATTRAN.prototype.details = function MATTRAN() {
-}
-MATTRAN.prototype.get = function MATTRAN() {
-}
-MATTRAN.prototype.set = function MATTRAN() {
+ }
+ MATTRAN.prototype.details = function MATTRAN() {
+ }
+ MATTRAN.prototype.get = function MATTRAN() {
+ }
+ MATTRAN.prototype.set = function MATTRAN() {
x=arg1;
graphics=arg1.graphics;
label=graphics.exprs;
@@ -59,5 +59,5 @@ x=arg1;
break;
}
}
-}
+ }
}
diff --git a/js/MatrixOp/MATZCONJ.js b/js/MatrixOp/MATZCONJ.js
index 48845cdb..fba7853b 100644
--- a/js/MatrixOp/MATZCONJ.js
+++ b/js/MatrixOp/MATZCONJ.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/MatrixOp/MATZCONJ.sci" */
function MATZCONJ() {
-MATZCONJ.prototype.define = function MATZCONJ() {
+ MATZCONJ.prototype.define = function MATZCONJ() {
model=scicos_model();
function_name="matz_conj";
funtyp=4;
@@ -23,12 +23,12 @@ model.dep_ut=[true,false];
label=[];
gr_i=[];
x=standard_define([2,2],model,label,gr_i);
-}
-MATZCONJ.prototype.details = function MATZCONJ() {
-}
-MATZCONJ.prototype.get = function MATZCONJ() {
-}
-MATZCONJ.prototype.set = function MATZCONJ() {
+ }
+ MATZCONJ.prototype.details = function MATZCONJ() {
+ }
+ MATZCONJ.prototype.get = function MATZCONJ() {
+ }
+ MATZCONJ.prototype.set = function MATZCONJ() {
x=arg1;
-}
+ }
}
diff --git a/js/MatrixOp/MATZREIM.js b/js/MatrixOp/MATZREIM.js
index 43de8742..e08b333e 100644
--- a/js/MatrixOp/MATZREIM.js
+++ b/js/MatrixOp/MATZREIM.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/MatrixOp/MATZREIM.sci" */
function MATZREIM() {
-MATZREIM.prototype.define = function MATZREIM() {
+ MATZREIM.prototype.define = function MATZREIM() {
model=scicos_model();
function_name="matz_reim";
funtyp=4;
@@ -23,12 +23,12 @@ model.dep_ut=[true,false];
label=sci2exp(1);
gr_i=[];
x=standard_define([3,2],model,label,gr_i);
-}
-MATZREIM.prototype.details = function MATZREIM() {
-}
-MATZREIM.prototype.get = function MATZREIM() {
-}
-MATZREIM.prototype.set = function MATZREIM() {
+ }
+ MATZREIM.prototype.details = function MATZREIM() {
+ }
+ MATZREIM.prototype.get = function MATZREIM() {
+ }
+ MATZREIM.prototype.set = function MATZREIM() {
x=arg1;
model=arg1.model;
graphics=arg1.graphics;
@@ -71,5 +71,5 @@ x=arg1;
break;
}
}
-}
+ }
}
diff --git a/js/MatrixOp/RICC.js b/js/MatrixOp/RICC.js
index 5cbacacf..6dc0cd04 100644
--- a/js/MatrixOp/RICC.js
+++ b/js/MatrixOp/RICC.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/MatrixOp/RICC.sci" */
function RICC() {
-RICC.prototype.define = function RICC() {
+ RICC.prototype.define = function RICC() {
model=scicos_model();
function_name="ricc_m";
funtyp=4;
@@ -23,12 +23,12 @@ model.dep_ut=[true,false];
label=[[sci2exp(1)],[sci2exp(1)]];
gr_i=[];
x=standard_define([2,2],model,label,gr_i);
-}
-RICC.prototype.details = function RICC() {
-}
-RICC.prototype.get = function RICC() {
-}
-RICC.prototype.set = function RICC() {
+ }
+ RICC.prototype.details = function RICC() {
+ }
+ RICC.prototype.get = function RICC() {
+ }
+ RICC.prototype.set = function RICC() {
x=arg1;
graphics=arg1.graphics;
label=graphics.exprs;
@@ -56,5 +56,5 @@ x=arg1;
break;
}
}
-}
+ }
}
diff --git a/js/MatrixOp/ROOTCOEF.js b/js/MatrixOp/ROOTCOEF.js
index 5b3d6e3a..35683a4b 100644
--- a/js/MatrixOp/ROOTCOEF.js
+++ b/js/MatrixOp/ROOTCOEF.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/MatrixOp/ROOTCOEF.sci" */
function ROOTCOEF() {
-ROOTCOEF.prototype.define = function ROOTCOEF() {
+ ROOTCOEF.prototype.define = function ROOTCOEF() {
model=scicos_model();
function_name="root_coef";
funtyp=4;
@@ -23,12 +23,12 @@ model.dep_ut=[true,false];
label=[[sci2exp(1)],[sci2exp(1)]];
gr_i=[];
x=standard_define([3,2],model,label,gr_i);
-}
-ROOTCOEF.prototype.details = function ROOTCOEF() {
-}
-ROOTCOEF.prototype.get = function ROOTCOEF() {
-}
-ROOTCOEF.prototype.set = function ROOTCOEF() {
+ }
+ ROOTCOEF.prototype.details = function ROOTCOEF() {
+ }
+ ROOTCOEF.prototype.get = function ROOTCOEF() {
+ }
+ ROOTCOEF.prototype.set = function ROOTCOEF() {
x=arg1;
graphics=arg1.graphics;
label=graphics.exprs;
@@ -67,5 +67,5 @@ x=arg1;
break;
}
}
-}
+ }
}
diff --git a/js/MatrixOp/SQRT.js b/js/MatrixOp/SQRT.js
index 883b5bc7..b1ed3a4b 100644
--- a/js/MatrixOp/SQRT.js
+++ b/js/MatrixOp/SQRT.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/MatrixOp/SQRT.sci" */
function SQRT() {
-SQRT.prototype.define = function SQRT() {
+ SQRT.prototype.define = function SQRT() {
model=scicos_model();
model.sim=list("mat_sqrt",4);
model.in1=-1;
@@ -13,12 +13,12 @@ model.dep_ut=[true,false];
label=[sci2exp(1)];
gr_i=[];
x=standard_define([2,2],model,label,gr_i);
-}
-SQRT.prototype.details = function SQRT() {
-}
-SQRT.prototype.get = function SQRT() {
-}
-SQRT.prototype.set = function SQRT() {
+ }
+ SQRT.prototype.details = function SQRT() {
+ }
+ SQRT.prototype.get = function SQRT() {
+ }
+ SQRT.prototype.set = function SQRT() {
x=arg1;
graphics=arg1.graphics;
label=graphics.exprs;
@@ -52,5 +52,5 @@ x=arg1;
break;
}
}
-}
+ }
}
diff --git a/js/MatrixOp/SUBMAT.js b/js/MatrixOp/SUBMAT.js
index 77b8cfcd..30a9cd1a 100644
--- a/js/MatrixOp/SUBMAT.js
+++ b/js/MatrixOp/SUBMAT.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/MatrixOp/SUBMAT.sci" */
function SUBMAT() {
-SUBMAT.prototype.define = function SUBMAT() {
+ SUBMAT.prototype.define = function SUBMAT() {
model=scicos_model();
function_name="submat";
funtyp=4;
@@ -23,12 +23,12 @@ model.dep_ut=[true,false];
label=[[sci2exp(1)],[sci2exp(1)],[sci2exp(1)],[sci2exp(1)],[sci2exp(1)]];
gr_i=[];
x=standard_define([2.5,2],model,label,gr_i);
-}
-SUBMAT.prototype.details = function SUBMAT() {
-}
-SUBMAT.prototype.get = function SUBMAT() {
-}
-SUBMAT.prototype.set = function SUBMAT() {
+ }
+ SUBMAT.prototype.details = function SUBMAT() {
+ }
+ SUBMAT.prototype.get = function SUBMAT() {
+ }
+ SUBMAT.prototype.set = function SUBMAT() {
x=arg1;
graphics=arg1.graphics;
label=graphics.exprs;
@@ -88,5 +88,5 @@ x=arg1;
break;
}
}
-}
+ }
}
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)
-}
+ }
}
diff --git a/js/NonLinear/ABSBLK_f.js b/js/NonLinear/ABSBLK_f.js
index 45e702ff..8f7ed9bc 100644
--- a/js/NonLinear/ABSBLK_f.js
+++ b/js/NonLinear/ABSBLK_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/NonLinear/ABSBLK_f.sci" */
function ABSBLK_f() {
-ABSBLK_f.prototype.define = function ABSBLK_f() {
+ ABSBLK_f.prototype.define = function ABSBLK_f() {
model=scicos_model();
model.sim=list("absblk",1);
model.in1=-1;
@@ -9,12 +9,12 @@ model.blocktype="c";
model.dep_ut=[true,false];
gr_i=[];
x=standard_define([2,2],model,[],gr_i);
-}
-ABSBLK_f.prototype.details = function ABSBLK_f() {
-}
-ABSBLK_f.prototype.get = function ABSBLK_f() {
-}
-ABSBLK_f.prototype.set = function ABSBLK_f() {
+ }
+ ABSBLK_f.prototype.details = function ABSBLK_f() {
+ }
+ ABSBLK_f.prototype.get = function ABSBLK_f() {
+ }
+ ABSBLK_f.prototype.set = function ABSBLK_f() {
x=arg1;
-}
+ }
}
diff --git a/js/NonLinear/ABS_VALUE.js b/js/NonLinear/ABS_VALUE.js
index 193b6ed5..2bd8b5f1 100644
--- a/js/NonLinear/ABS_VALUE.js
+++ b/js/NonLinear/ABS_VALUE.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/NonLinear/ABS_VALUE.sci" */
function ABS_VALUE() {
-ABS_VALUE.prototype.define = function ABS_VALUE() {
+ ABS_VALUE.prototype.define = function ABS_VALUE() {
nu=-1;
model=scicos_model();
model.sim=list("absolute_value",4);
@@ -13,12 +13,12 @@ model.dep_ut=[true,false];
exprs=[string([1])];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-ABS_VALUE.prototype.details = function ABS_VALUE() {
-}
-ABS_VALUE.prototype.get = function ABS_VALUE() {
-}
-ABS_VALUE.prototype.set = function ABS_VALUE() {
+ }
+ ABS_VALUE.prototype.details = function ABS_VALUE() {
+ }
+ ABS_VALUE.prototype.get = function ABS_VALUE() {
+ }
+ ABS_VALUE.prototype.set = function ABS_VALUE() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -42,5 +42,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/NonLinear/COSBLK_f.js b/js/NonLinear/COSBLK_f.js
index 3ec4e559..95a693b2 100644
--- a/js/NonLinear/COSBLK_f.js
+++ b/js/NonLinear/COSBLK_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/NonLinear/COSBLK_f.sci" */
function COSBLK_f() {
-COSBLK_f.prototype.define = function COSBLK_f() {
+ COSBLK_f.prototype.define = function COSBLK_f() {
in1=1;
model=scicos_model();
model.sim="cosblk";
@@ -10,12 +10,12 @@ model.blocktype="c";
model.dep_ut=[true,false];
gr_i=[];
x=standard_define([2,2],model,[],gr_i);
-}
-COSBLK_f.prototype.details = function COSBLK_f() {
-}
-COSBLK_f.prototype.get = function COSBLK_f() {
-}
-COSBLK_f.prototype.set = function COSBLK_f() {
+ }
+ COSBLK_f.prototype.details = function COSBLK_f() {
+ }
+ COSBLK_f.prototype.get = function COSBLK_f() {
+ }
+ COSBLK_f.prototype.set = function COSBLK_f() {
x=arg1;
-}
+ }
}
diff --git a/js/NonLinear/DLRADAPT_f.js b/js/NonLinear/DLRADAPT_f.js
index 8d8f4ac2..38d79f15 100644
--- a/js/NonLinear/DLRADAPT_f.js
+++ b/js/NonLinear/DLRADAPT_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/NonLinear/DLRADAPT_f.sci" */
function DLRADAPT_f() {
-DLRADAPT_f.prototype.define = function DLRADAPT_f() {
+ DLRADAPT_f.prototype.define = function DLRADAPT_f() {
p=[[0],[1]];
rn=[];
rd=[[math.complex(0.2,0.8),math.complex(0.2,-0.8)],[math.complex(0.3,0.7),math.complex(0.3,-0.7)]];
@@ -21,12 +21,12 @@ model.dep_ut=[true,false];
exprs=[[sci2exp(p)],[sci2exp(rn)],[sci2exp(rd,0)],[sci2exp(g)],[sci2exp(last_u)],[sci2exp(last_y)]];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-DLRADAPT_f.prototype.details = function DLRADAPT_f() {
-}
-DLRADAPT_f.prototype.get = function DLRADAPT_f() {
-}
-DLRADAPT_f.prototype.set = function DLRADAPT_f() {
+ }
+ DLRADAPT_f.prototype.details = function DLRADAPT_f() {
+ }
+ DLRADAPT_f.prototype.get = function DLRADAPT_f() {
+ }
+ DLRADAPT_f.prototype.set = function DLRADAPT_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -54,5 +54,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/NonLinear/EXPBLK_f.js b/js/NonLinear/EXPBLK_f.js
index 1422f9dc..67333791 100644
--- a/js/NonLinear/EXPBLK_f.js
+++ b/js/NonLinear/EXPBLK_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/NonLinear/EXPBLK_f.sci" */
function EXPBLK_f() {
-EXPBLK_f.prototype.define = function EXPBLK_f() {
+ EXPBLK_f.prototype.define = function EXPBLK_f() {
in1=1;
a=math.E;
model=scicos_model();
@@ -13,12 +13,12 @@ model.dep_ut=[true,false];
exprs=["%e"];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-EXPBLK_f.prototype.details = function EXPBLK_f() {
-}
-EXPBLK_f.prototype.get = function EXPBLK_f() {
-}
-EXPBLK_f.prototype.set = function EXPBLK_f() {
+ }
+ EXPBLK_f.prototype.details = function EXPBLK_f() {
+ }
+ EXPBLK_f.prototype.get = function EXPBLK_f() {
+ }
+ EXPBLK_f.prototype.set = function EXPBLK_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -41,5 +41,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/NonLinear/EXPBLK_m.js b/js/NonLinear/EXPBLK_m.js
index b7334c03..2be7b405 100644
--- a/js/NonLinear/EXPBLK_m.js
+++ b/js/NonLinear/EXPBLK_m.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/NonLinear/EXPBLK_m.sci" */
function EXPBLK_m() {
-EXPBLK_m.prototype.define = function EXPBLK_m() {
+ EXPBLK_m.prototype.define = function EXPBLK_m() {
in1=1;
a=math.E;
model=scicos_model();
@@ -17,12 +17,12 @@ model.dep_ut=[true,false];
exprs=["%e"];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-EXPBLK_m.prototype.details = function EXPBLK_m() {
-}
-EXPBLK_m.prototype.get = function EXPBLK_m() {
-}
-EXPBLK_m.prototype.set = function EXPBLK_m() {
+ }
+ EXPBLK_m.prototype.details = function EXPBLK_m() {
+ }
+ EXPBLK_m.prototype.get = function EXPBLK_m() {
+ }
+ EXPBLK_m.prototype.set = function EXPBLK_m() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -45,5 +45,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/NonLinear/FSV_f.js b/js/NonLinear/FSV_f.js
index afe7dc7f..b3ae1233 100644
--- a/js/NonLinear/FSV_f.js
+++ b/js/NonLinear/FSV_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/NonLinear/FSV_f.sci" */
function FSV_f() {
-FSV_f.prototype.define = function FSV_f() {
+ FSV_f.prototype.define = function FSV_f() {
in1=1;
model=scicos_model();
model.sim=list("fsv",1);
@@ -11,12 +11,12 @@ model.dep_ut=[true,false];
exprs=" ";
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-FSV_f.prototype.details = function FSV_f() {
-}
-FSV_f.prototype.get = function FSV_f() {
-}
-FSV_f.prototype.set = function FSV_f() {
+ }
+ FSV_f.prototype.details = function FSV_f() {
+ }
+ FSV_f.prototype.get = function FSV_f() {
+ }
+ FSV_f.prototype.set = function FSV_f() {
x=arg1;
-}
+ }
}
diff --git a/js/NonLinear/INTRP2BLK_f.js b/js/NonLinear/INTRP2BLK_f.js
index 768f9119..08429dd4 100644
--- a/js/NonLinear/INTRP2BLK_f.js
+++ b/js/NonLinear/INTRP2BLK_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/NonLinear/INTRP2BLK_f.sci" */
function INTRP2BLK_f() {
-INTRP2BLK_f.prototype.define = function INTRP2BLK_f() {
+ INTRP2BLK_f.prototype.define = function INTRP2BLK_f() {
a=[[0],[1]];
b=[[0],[1]];
c=[[0,1],[1,2]];
@@ -15,12 +15,12 @@ model.dep_ut=[true,false];
exprs=[[strcat(sci2exp(a))],[strcat(sci2exp(b))],[strcat(sci2exp(c,0))]];
gr_i=[];
x=standard_define([3,2],model,exprs,gr_i);
-}
-INTRP2BLK_f.prototype.details = function INTRP2BLK_f() {
-}
-INTRP2BLK_f.prototype.get = function INTRP2BLK_f() {
-}
-INTRP2BLK_f.prototype.set = function INTRP2BLK_f() {
+ }
+ INTRP2BLK_f.prototype.details = function INTRP2BLK_f() {
+ }
+ INTRP2BLK_f.prototype.get = function INTRP2BLK_f() {
+ }
+ INTRP2BLK_f.prototype.set = function INTRP2BLK_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -45,5 +45,5 @@ break;
}
}
}
-}
+ }
}
diff --git a/js/NonLinear/INTRPLBLK_f.js b/js/NonLinear/INTRPLBLK_f.js
index a002dd0f..7472a5a9 100644
--- a/js/NonLinear/INTRPLBLK_f.js
+++ b/js/NonLinear/INTRPLBLK_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/NonLinear/INTRPLBLK_f.sci" */
function INTRPLBLK_f() {
-INTRPLBLK_f.prototype.define = function INTRPLBLK_f() {
+ INTRPLBLK_f.prototype.define = function INTRPLBLK_f() {
a=[[0],[1]];
b=[[0],[1]];
model=scicos_model();
@@ -13,12 +13,12 @@ model.dep_ut=[true,false];
exprs=[[strcat(sci2exp(a))],[strcat(sci2exp(b))]];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-INTRPLBLK_f.prototype.details = function INTRPLBLK_f() {
-}
-INTRPLBLK_f.prototype.get = function INTRPLBLK_f() {
-}
-INTRPLBLK_f.prototype.set = function INTRPLBLK_f() {
+ }
+ INTRPLBLK_f.prototype.details = function INTRPLBLK_f() {
+ }
+ INTRPLBLK_f.prototype.get = function INTRPLBLK_f() {
+ }
+ INTRPLBLK_f.prototype.set = function INTRPLBLK_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -42,5 +42,5 @@ break;
}
}
}
-}
+ }
}
diff --git a/js/NonLinear/INVBLK.js b/js/NonLinear/INVBLK.js
index f8cd77f8..440959e8 100644
--- a/js/NonLinear/INVBLK.js
+++ b/js/NonLinear/INVBLK.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/NonLinear/INVBLK.sci" */
function INVBLK() {
-INVBLK.prototype.define = function INVBLK() {
+ INVBLK.prototype.define = function INVBLK() {
in1=-1;
model=scicos_model();
model.sim=list("invblk4",4);
@@ -11,12 +11,12 @@ model.dep_ut=[true,false];
exprs=" ";
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-INVBLK.prototype.details = function INVBLK() {
-}
-INVBLK.prototype.get = function INVBLK() {
-}
-INVBLK.prototype.set = function INVBLK() {
+ }
+ INVBLK.prototype.details = function INVBLK() {
+ }
+ INVBLK.prototype.get = function INVBLK() {
+ }
+ INVBLK.prototype.set = function INVBLK() {
x=arg1;
-}
+ }
}
diff --git a/js/NonLinear/INVBLK_f.js b/js/NonLinear/INVBLK_f.js
index 448e087e..21ea62cb 100644
--- a/js/NonLinear/INVBLK_f.js
+++ b/js/NonLinear/INVBLK_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/NonLinear/INVBLK_f.sci" */
function INVBLK_f() {
-INVBLK_f.prototype.define = function INVBLK_f() {
+ INVBLK_f.prototype.define = function INVBLK_f() {
in1=-1;
model=scicos_model();
model.sim="invblk";
@@ -11,12 +11,12 @@ model.dep_ut=[true,false];
exprs=" ";
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-INVBLK_f.prototype.details = function INVBLK_f() {
-}
-INVBLK_f.prototype.get = function INVBLK_f() {
-}
-INVBLK_f.prototype.set = function INVBLK_f() {
+ }
+ INVBLK_f.prototype.details = function INVBLK_f() {
+ }
+ INVBLK_f.prototype.get = function INVBLK_f() {
+ }
+ INVBLK_f.prototype.set = function INVBLK_f() {
x=arg1;
-}
+ }
}
diff --git a/js/NonLinear/LOGBLK_f.js b/js/NonLinear/LOGBLK_f.js
index d48306b6..bc17f2bf 100644
--- a/js/NonLinear/LOGBLK_f.js
+++ b/js/NonLinear/LOGBLK_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/NonLinear/LOGBLK_f.sci" */
function LOGBLK_f() {
-LOGBLK_f.prototype.define = function LOGBLK_f() {
+ LOGBLK_f.prototype.define = function LOGBLK_f() {
in1=1;
a=math.E;
model=scicos_model();
@@ -13,12 +13,12 @@ model.dep_ut=[true,false];
exprs="%e";
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-LOGBLK_f.prototype.details = function LOGBLK_f() {
-}
-LOGBLK_f.prototype.get = function LOGBLK_f() {
-}
-LOGBLK_f.prototype.set = function LOGBLK_f() {
+ }
+ LOGBLK_f.prototype.details = function LOGBLK_f() {
+ }
+ LOGBLK_f.prototype.get = function LOGBLK_f() {
+ }
+ LOGBLK_f.prototype.set = function LOGBLK_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -43,5 +43,5 @@ break;
}
}
}
-}
+ }
}
diff --git a/js/NonLinear/LOOKUP_f.js b/js/NonLinear/LOOKUP_f.js
index 685d6450..79bf816d 100644
--- a/js/NonLinear/LOOKUP_f.js
+++ b/js/NonLinear/LOOKUP_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/NonLinear/LOOKUP_f.sci" */
function LOOKUP_f() {
-LOOKUP_f.prototype.define = function LOOKUP_f() {
+ LOOKUP_f.prototype.define = function LOOKUP_f() {
model=scicos_model();
model.sim="lookup";
model.in1=1;
@@ -10,12 +10,12 @@ model.blocktype="c";
model.dep_ut=[true,false];
gr_i=[];
x=standard_define([2,2],model,[],gr_i);
-}
-LOOKUP_f.prototype.details = function LOOKUP_f() {
-}
-LOOKUP_f.prototype.get = function LOOKUP_f() {
-}
-LOOKUP_f.prototype.set = function LOOKUP_f() {
+ }
+ LOOKUP_f.prototype.details = function LOOKUP_f() {
+ }
+ LOOKUP_f.prototype.get = function LOOKUP_f() {
+ }
+ LOOKUP_f.prototype.set = function LOOKUP_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -46,5 +46,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/NonLinear/MAXMIN.js b/js/NonLinear/MAXMIN.js
index 301afa58..66a6a999 100644
--- a/js/NonLinear/MAXMIN.js
+++ b/js/NonLinear/MAXMIN.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/NonLinear/MAXMIN.sci" */
function MAXMIN() {
-MAXMIN.prototype.define = function MAXMIN() {
+ MAXMIN.prototype.define = function MAXMIN() {
model=scicos_model();
model.sim=list("minmax",4);
model.out=1;
@@ -12,12 +12,12 @@ exprs=[string(transpose([2,1,1]))];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
x.graphics.style="MAXMIN;displayedLabel=MAX";
-}
-MAXMIN.prototype.details = function MAXMIN() {
-}
-MAXMIN.prototype.get = function MAXMIN() {
-}
-MAXMIN.prototype.set = function MAXMIN() {
+ }
+ MAXMIN.prototype.details = function MAXMIN() {
+ }
+ MAXMIN.prototype.get = function MAXMIN() {
+ }
+ MAXMIN.prototype.set = function MAXMIN() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -64,5 +64,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/NonLinear/MAX_f.js b/js/NonLinear/MAX_f.js
index 076f0dac..f22c9af9 100644
--- a/js/NonLinear/MAX_f.js
+++ b/js/NonLinear/MAX_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/NonLinear/MAX_f.sci" */
function MAX_f() {
-MAX_f.prototype.define = function MAX_f() {
+ MAX_f.prototype.define = function MAX_f() {
in1=-1;
model=scicos_model();
model.sim="maxblk";
@@ -12,12 +12,12 @@ model.dep_ut=[true,false];
exprs=" ";
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-MAX_f.prototype.details = function MAX_f() {
-}
-MAX_f.prototype.get = function MAX_f() {
-}
-MAX_f.prototype.set = function MAX_f() {
+ }
+ MAX_f.prototype.details = function MAX_f() {
+ }
+ MAX_f.prototype.get = function MAX_f() {
+ }
+ MAX_f.prototype.set = function MAX_f() {
x=arg1;
-}
+ }
}
diff --git a/js/NonLinear/MIN_f.js b/js/NonLinear/MIN_f.js
index 208dd248..03eaef5d 100644
--- a/js/NonLinear/MIN_f.js
+++ b/js/NonLinear/MIN_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/NonLinear/MIN_f.sci" */
function MIN_f() {
-MIN_f.prototype.define = function MIN_f() {
+ MIN_f.prototype.define = function MIN_f() {
in1=-1;
model=scicos_model();
model.sim="minblk";
@@ -12,12 +12,12 @@ model.dep_ut=[true,false];
exprs=sci2exp(in1);
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-MIN_f.prototype.details = function MIN_f() {
-}
-MIN_f.prototype.get = function MIN_f() {
-}
-MIN_f.prototype.set = function MIN_f() {
+ }
+ MIN_f.prototype.details = function MIN_f() {
+ }
+ MIN_f.prototype.get = function MIN_f() {
+ }
+ MIN_f.prototype.set = function MIN_f() {
x=arg1;
-}
+ }
}
diff --git a/js/NonLinear/POWBLK_f.js b/js/NonLinear/POWBLK_f.js
index 9112cd55..d766c8c8 100644
--- a/js/NonLinear/POWBLK_f.js
+++ b/js/NonLinear/POWBLK_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/NonLinear/POWBLK_f.sci" */
function POWBLK_f() {
-POWBLK_f.prototype.define = function POWBLK_f() {
+ POWBLK_f.prototype.define = function POWBLK_f() {
in1=1;
a=1.5;
model=scicos_model();
@@ -13,12 +13,12 @@ model.dep_ut=[true,false];
exprs=string(a);
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-POWBLK_f.prototype.details = function POWBLK_f() {
-}
-POWBLK_f.prototype.get = function POWBLK_f() {
-}
-POWBLK_f.prototype.set = function POWBLK_f() {
+ }
+ POWBLK_f.prototype.details = function POWBLK_f() {
+ }
+ POWBLK_f.prototype.get = function POWBLK_f() {
+ }
+ POWBLK_f.prototype.set = function POWBLK_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -44,5 +44,5 @@ x.graphics=graphics;
x.model=model;
break;
}
-}
+ }
}
diff --git a/js/NonLinear/PRODUCT.js b/js/NonLinear/PRODUCT.js
index c1e5cc0b..711602e9 100644
--- a/js/NonLinear/PRODUCT.js
+++ b/js/NonLinear/PRODUCT.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/NonLinear/PRODUCT.sci" */
function PRODUCT() {
-PRODUCT.prototype.define = function PRODUCT() {
+ PRODUCT.prototype.define = function PRODUCT() {
sgn=[[1],[-1]];
model=scicos_model();
model.sim=list("product",4);
@@ -12,12 +12,12 @@ model.dep_ut=[true,false];
exprs=sci2exp(sgn);
gr_i=[];
x=standard_define([2,3],model,exprs,gr_i);
-}
-PRODUCT.prototype.details = function PRODUCT() {
-}
-PRODUCT.prototype.get = function PRODUCT() {
-}
-PRODUCT.prototype.set = function PRODUCT() {
+ }
+ PRODUCT.prototype.details = function PRODUCT() {
+ }
+ PRODUCT.prototype.get = function PRODUCT() {
+ }
+ PRODUCT.prototype.set = function PRODUCT() {
x=arg1;
graphics=arg1.graphics;
model=arg1.model;
@@ -61,5 +61,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/NonLinear/PROD_f.js b/js/NonLinear/PROD_f.js
index 94493621..fbff118c 100644
--- a/js/NonLinear/PROD_f.js
+++ b/js/NonLinear/PROD_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/NonLinear/PROD_f.sci" */
function PROD_f() {
-PROD_f.prototype.define = function PROD_f() {
+ PROD_f.prototype.define = function PROD_f() {
model=scicos_model();
model.sim=list("prod",2);
model.in1=[[-1],[-1]];
@@ -8,12 +8,12 @@ model.out=-1;
model.blocktype="c";
model.dep_ut=[true,false];
x=standard_define([1,1],model,[],[]);
-}
-PROD_f.prototype.details = function PROD_f() {
-}
-PROD_f.prototype.get = function PROD_f() {
-}
-PROD_f.prototype.set = function PROD_f() {
+ }
+ PROD_f.prototype.details = function PROD_f() {
+ }
+ PROD_f.prototype.get = function PROD_f() {
+ }
+ PROD_f.prototype.set = function PROD_f() {
x=arg1;
-}
+ }
}
diff --git a/js/NonLinear/QUANT_f.js b/js/NonLinear/QUANT_f.js
index aad962ee..20616789 100644
--- a/js/NonLinear/QUANT_f.js
+++ b/js/NonLinear/QUANT_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/NonLinear/QUANT_f.sci" */
function QUANT_f() {
-QUANT_f.prototype.define = function QUANT_f() {
+ QUANT_f.prototype.define = function QUANT_f() {
pas=0.1;
meth=1;
model=scicos_model();
@@ -14,12 +14,12 @@ model.dep_ut=[true,false];
exprs=[[string(pas)],[string(meth)]];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-QUANT_f.prototype.details = function QUANT_f() {
-}
-QUANT_f.prototype.get = function QUANT_f() {
-}
-QUANT_f.prototype.set = function QUANT_f() {
+ }
+ QUANT_f.prototype.details = function QUANT_f() {
+ }
+ QUANT_f.prototype.get = function QUANT_f() {
+ }
+ QUANT_f.prototype.set = function QUANT_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -51,5 +51,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/NonLinear/SATURATION.js b/js/NonLinear/SATURATION.js
index 8d21a953..f964564e 100644
--- a/js/NonLinear/SATURATION.js
+++ b/js/NonLinear/SATURATION.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/NonLinear/SATURATION.sci" */
function SATURATION() {
-SATURATION.prototype.define = function SATURATION() {
+ SATURATION.prototype.define = function SATURATION() {
minp=-1;
maxp=1;
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);
-}
-SATURATION.prototype.details = function SATURATION() {
-}
-SATURATION.prototype.get = function SATURATION() {
-}
-SATURATION.prototype.set = function SATURATION() {
+ }
+ SATURATION.prototype.details = function SATURATION() {
+ }
+ SATURATION.prototype.get = function SATURATION() {
+ }
+ SATURATION.prototype.set = function SATURATION() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -49,5 +49,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/NonLinear/SAT_f.js b/js/NonLinear/SAT_f.js
index ab87ba59..52827570 100644
--- a/js/NonLinear/SAT_f.js
+++ b/js/NonLinear/SAT_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/NonLinear/SAT_f.sci" */
function SAT_f() {
-SAT_f.prototype.define = function SAT_f() {
+ SAT_f.prototype.define = function SAT_f() {
minp=-1;
maxp=1;
slope=1;
@@ -16,12 +16,12 @@ model.dep_ut=[true,false];
exprs=[[string(minp)],[string(maxp)],[string(slope)]];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-SAT_f.prototype.details = function SAT_f() {
-}
-SAT_f.prototype.get = function SAT_f() {
-}
-SAT_f.prototype.set = function SAT_f() {
+ }
+ SAT_f.prototype.details = function SAT_f() {
+ }
+ SAT_f.prototype.get = function SAT_f() {
+ }
+ SAT_f.prototype.set = function SAT_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -45,5 +45,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/NonLinear/SIGNUM.js b/js/NonLinear/SIGNUM.js
index c1fe4761..fdf0ba07 100644
--- a/js/NonLinear/SIGNUM.js
+++ b/js/NonLinear/SIGNUM.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/NonLinear/SIGNUM.sci" */
function SIGNUM() {
-SIGNUM.prototype.define = function SIGNUM() {
+ SIGNUM.prototype.define = function SIGNUM() {
nu=-1;
model=scicos_model();
model.sim=list("signum",4);
@@ -13,12 +13,12 @@ model.dep_ut=[true,false];
exprs=[string([1])];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-SIGNUM.prototype.details = function SIGNUM() {
-}
-SIGNUM.prototype.get = function SIGNUM() {
-}
-SIGNUM.prototype.set = function SIGNUM() {
+ }
+ SIGNUM.prototype.details = function SIGNUM() {
+ }
+ SIGNUM.prototype.get = function SIGNUM() {
+ }
+ SIGNUM.prototype.set = function SIGNUM() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -42,5 +42,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/NonLinear/SINBLK_f.js b/js/NonLinear/SINBLK_f.js
index e8d272a8..3ef09cf7 100644
--- a/js/NonLinear/SINBLK_f.js
+++ b/js/NonLinear/SINBLK_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/NonLinear/SINBLK_f.sci" */
function SINBLK_f() {
-SINBLK_f.prototype.define = function SINBLK_f() {
+ SINBLK_f.prototype.define = function SINBLK_f() {
model=scicos_model();
model.sim="sinblk";
model.in1=-1;
@@ -10,12 +10,12 @@ model.dep_ut=[true,false];
exprs=" ";
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-SINBLK_f.prototype.details = function SINBLK_f() {
-}
-SINBLK_f.prototype.get = function SINBLK_f() {
-}
-SINBLK_f.prototype.set = function SINBLK_f() {
+ }
+ SINBLK_f.prototype.details = function SINBLK_f() {
+ }
+ SINBLK_f.prototype.get = function SINBLK_f() {
+ }
+ SINBLK_f.prototype.set = function SINBLK_f() {
x=arg1;
-}
+ }
}
diff --git a/js/NonLinear/TANBLK_f.js b/js/NonLinear/TANBLK_f.js
index dc7ec656..c785c9c9 100644
--- a/js/NonLinear/TANBLK_f.js
+++ b/js/NonLinear/TANBLK_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/NonLinear/TANBLK_f.sci" */
function TANBLK_f() {
-TANBLK_f.prototype.define = function TANBLK_f() {
+ TANBLK_f.prototype.define = function TANBLK_f() {
in1=-1;
model=scicos_model();
model.sim="tanblk";
@@ -11,13 +11,13 @@ model.dep_ut=[true,false];
exprs=sci2exp(in1);
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-TANBLK_f.prototype.details = function TANBLK_f() {
-}
-TANBLK_f.prototype.get = function TANBLK_f() {
-}
-TANBLK_f.prototype.set = function TANBLK_f() {
+ }
+ TANBLK_f.prototype.details = function TANBLK_f() {
+ }
+ TANBLK_f.prototype.get = function TANBLK_f() {
+ }
+ TANBLK_f.prototype.set = function TANBLK_f() {
x=arg1;
x.model.firing=[];
-}
+ }
}
diff --git a/js/NonLinear/TrigFun.js b/js/NonLinear/TrigFun.js
index ea7b3744..73840461 100644
--- a/js/NonLinear/TrigFun.js
+++ b/js/NonLinear/TrigFun.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/NonLinear/TrigFun.sci" */
function TrigFun() {
-TrigFun.prototype.define = function TrigFun() {
+ TrigFun.prototype.define = function TrigFun() {
model=scicos_model();
model.sim=list("sin_blk",4);
model.in1=-1;
@@ -10,12 +10,12 @@ model.dep_ut=[true,false];
exprs="sin";
gr_i=[];
x=standard_define([4,2],model,exprs,gr_i);
-}
-TrigFun.prototype.details = function TrigFun() {
-}
-TrigFun.prototype.get = function TrigFun() {
-}
-TrigFun.prototype.set = function TrigFun() {
+ }
+ TrigFun.prototype.details = function TrigFun() {
+ }
+ TrigFun.prototype.get = function TrigFun() {
+ }
+ TrigFun.prototype.set = function TrigFun() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -37,5 +37,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/PDE/PDE.js b/js/PDE/PDE.js
index 365ce685..7dd04642 100644
--- a/js/PDE/PDE.js
+++ b/js/PDE/PDE.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/PDE/PDE.sci" */
function PDE() {
-PDE.prototype.define = function PDE() {
+ PDE.prototype.define = function PDE() {
model=scicos_model();
model.state=zeros(10,1);
model.sim=list("PDE",0);
@@ -12,12 +12,12 @@ params_pde=tlist([["paramspde"],["a"],["b"],["txt_exp"],["check_op1"],["a1"],["b
label=list(params_pde,[],"");
gr_i=[];
x=standard_define([3,3],model,label,gr_i);
-}
-PDE.prototype.details = function PDE() {
-}
-PDE.prototype.get = function PDE() {
-}
-PDE.prototype.set = function PDE() {
+ }
+ PDE.prototype.details = function PDE() {
+ }
+ PDE.prototype.get = function PDE() {
+ }
+ PDE.prototype.set = function PDE() {
x=arg1;
graphics=arg1.graphics;
label=graphics.exprs;
@@ -128,5 +128,5 @@ x.graphics=graphics;
x.model=model;
break;
}
-}
+ }
}
diff --git a/js/Sinks/AFFICH_m.js b/js/Sinks/AFFICH_m.js
index 451d916d..e4348618 100644
--- a/js/Sinks/AFFICH_m.js
+++ b/js/Sinks/AFFICH_m.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sinks/AFFICH_m.sci" */
function AFFICH_m() {
-AFFICH_m.prototype.define = function AFFICH_m() {
+ AFFICH_m.prototype.define = function AFFICH_m() {
font=1;
fontsize=1;
colr=1;
@@ -21,12 +21,12 @@ model.label="";
exprs=[[sci2exp([model.in1,model.in2])],[string(font)],[string(fontsize)],[string(colr)],[string(nt)],[string(nd)],[string(0)]];
gr_i=[];
x=standard_define([3,2],model,exprs,gr_i);
-}
-AFFICH_m.prototype.details = function AFFICH_m() {
-}
-AFFICH_m.prototype.get = function AFFICH_m() {
-}
-AFFICH_m.prototype.set = function AFFICH_m() {
+ }
+ AFFICH_m.prototype.details = function AFFICH_m() {
+ }
+ AFFICH_m.prototype.get = function AFFICH_m() {
+ }
+ AFFICH_m.prototype.set = function AFFICH_m() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -76,5 +76,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Sinks/BARXY.js b/js/Sinks/BARXY.js
index 7dbe2954..b6400145 100644
--- a/js/Sinks/BARXY.js
+++ b/js/Sinks/BARXY.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sinks/BARXY.sci" */
function BARXY() {
-BARXY.prototype.define = function BARXY() {
+ BARXY.prototype.define = function BARXY() {
model=scicos_model();
xmin=-15;
xmax=15;
@@ -19,12 +19,12 @@ x=standard_define([2,2],model,[],[]);
x.graphics.in_implicit=["E","E"];
x.graphics.out_implicit=[];
x.graphics.exprs=[["-15"],["15"],["-15"],["15"],["1"]];
-}
-BARXY.prototype.details = function BARXY() {
-}
-BARXY.prototype.get = function BARXY() {
-}
-BARXY.prototype.set = function BARXY() {
+ }
+ BARXY.prototype.details = function BARXY() {
+ }
+ BARXY.prototype.get = function BARXY() {
+ }
+ BARXY.prototype.set = function BARXY() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -58,5 +58,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Sinks/CANIMXY.js b/js/Sinks/CANIMXY.js
index 462c840b..b60096d4 100644
--- a/js/Sinks/CANIMXY.js
+++ b/js/Sinks/CANIMXY.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sinks/CANIMXY.sci" */
function CANIMXY() {
-CANIMXY.prototype.define = function CANIMXY() {
+ CANIMXY.prototype.define = function CANIMXY() {
win=-1;
clrs=-4;
N=2;
@@ -26,12 +26,12 @@ model.dep_ut=[false,false];
exprs=[[string(nbr_curves)],[string(clrs)],[string(siz)],[string(win)],["[]"],["[]"],[string(xmin)],[string(xmax)],[string(ymin)],[string(ymax)],[string(N)]];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-CANIMXY.prototype.details = function CANIMXY() {
-}
-CANIMXY.prototype.get = function CANIMXY() {
-}
-CANIMXY.prototype.set = function CANIMXY() {
+ }
+ CANIMXY.prototype.details = function CANIMXY() {
+ }
+ CANIMXY.prototype.get = function CANIMXY() {
+ }
+ CANIMXY.prototype.set = function CANIMXY() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -96,5 +96,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Sinks/CANIMXY3D.js b/js/Sinks/CANIMXY3D.js
index 5c939e03..9c5caacb 100644
--- a/js/Sinks/CANIMXY3D.js
+++ b/js/Sinks/CANIMXY3D.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sinks/CANIMXY3D.sci" */
function CANIMXY3D() {
-CANIMXY3D.prototype.define = function CANIMXY3D() {
+ CANIMXY3D.prototype.define = function CANIMXY3D() {
win=-1;
N=2;
clrs=[[1],[2],[3],[4],[5],[6],[7],[13]];
@@ -26,12 +26,12 @@ model.dep_ut=[false,false];
exprs=[[string(nbr_curves)],[strcat(string(clrs)," ")],[strcat(string(siz)," ")],[string(win)],["[]"],["[]"],[strcat(string(vec_x)," ")],[strcat(string(vec_y)," ")],[strcat(string(vec_z)," ")],[strcat(string(param3ds)," ")],[string(N)]];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-CANIMXY3D.prototype.details = function CANIMXY3D() {
-}
-CANIMXY3D.prototype.get = function CANIMXY3D() {
-}
-CANIMXY3D.prototype.set = function CANIMXY3D() {
+ }
+ CANIMXY3D.prototype.details = function CANIMXY3D() {
+ }
+ CANIMXY3D.prototype.get = function CANIMXY3D() {
+ }
+ CANIMXY3D.prototype.set = function CANIMXY3D() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -113,5 +113,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Sinks/CEVENTSCOPE.js b/js/Sinks/CEVENTSCOPE.js
index d992f039..73e5f90a 100644
--- a/js/Sinks/CEVENTSCOPE.js
+++ b/js/Sinks/CEVENTSCOPE.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sinks/CEVENTSCOPE.sci" */
function CEVENTSCOPE() {
-CEVENTSCOPE.prototype.define = function CEVENTSCOPE() {
+ CEVENTSCOPE.prototype.define = function CEVENTSCOPE() {
nclock=1;
win=-1;
clrs=[[1],[3],[5],[7],[9],[11],[13],[15]];
@@ -17,12 +17,12 @@ model.dep_ut=[false,false];
exprs=[[sci2exp(nclock)],[strcat(sci2exp(clrs[nclock-1])," ")],[string(win)],[sci2exp([])],[sci2exp(wdim)],[string(per)]];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-CEVENTSCOPE.prototype.details = function CEVENTSCOPE() {
-}
-CEVENTSCOPE.prototype.get = function CEVENTSCOPE() {
-}
-CEVENTSCOPE.prototype.set = function CEVENTSCOPE() {
+ }
+ CEVENTSCOPE.prototype.details = function CEVENTSCOPE() {
+ }
+ CEVENTSCOPE.prototype.get = function CEVENTSCOPE() {
+ }
+ CEVENTSCOPE.prototype.set = function CEVENTSCOPE() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -82,5 +82,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Sinks/CFSCOPE.js b/js/Sinks/CFSCOPE.js
index 1ddfb03f..69e91a44 100644
--- a/js/Sinks/CFSCOPE.js
+++ b/js/Sinks/CFSCOPE.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sinks/CFSCOPE.sci" */
function CFSCOPE() {
-CFSCOPE.prototype.define = function CFSCOPE() {
+ CFSCOPE.prototype.define = function CFSCOPE() {
win=-1;
wdim=[[600],[400]];
wpos=[[-1],[-1]];
@@ -19,12 +19,12 @@ model.dep_ut=[true,false];
exprs=[[strcat(string(clrs)," ")],[string(win)],[sci2exp([])],[sci2exp(wdim)],[string(ymin)],[string(ymax)],[string(per)],[string(N)],[string([1])]];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-CFSCOPE.prototype.details = function CFSCOPE() {
-}
-CFSCOPE.prototype.get = function CFSCOPE() {
-}
-CFSCOPE.prototype.set = function CFSCOPE() {
+ }
+ CFSCOPE.prototype.details = function CFSCOPE() {
+ }
+ CFSCOPE.prototype.get = function CFSCOPE() {
+ }
+ CFSCOPE.prototype.set = function CFSCOPE() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -91,5 +91,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Sinks/CLKOUTV_f.js b/js/Sinks/CLKOUTV_f.js
index dad99a07..4f64a8b7 100644
--- a/js/Sinks/CLKOUTV_f.js
+++ b/js/Sinks/CLKOUTV_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sinks/CLKOUTV_f.sci" */
function CLKOUTV_f() {
-CLKOUTV_f.prototype.define = function CLKOUTV_f() {
+ CLKOUTV_f.prototype.define = function CLKOUTV_f() {
prt=1;
model=scicos_model();
model.sim="output";
@@ -11,12 +11,12 @@ model.firing=[];
model.dep_ut=[false,false];
exprs=string(prt);
x=standard_define([1,1],model,exprs," ");
-}
-CLKOUTV_f.prototype.details = function CLKOUTV_f() {
-}
-CLKOUTV_f.prototype.get = function CLKOUTV_f() {
-}
-CLKOUTV_f.prototype.set = function CLKOUTV_f() {
+ }
+ CLKOUTV_f.prototype.details = function CLKOUTV_f() {
+ }
+ CLKOUTV_f.prototype.get = function CLKOUTV_f() {
+ }
+ CLKOUTV_f.prototype.set = function CLKOUTV_f() {
x=arg1;
graphics=arg1.graphics;
model=arg1.model;
@@ -38,5 +38,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Sinks/CLKOUT_f.js b/js/Sinks/CLKOUT_f.js
index 5fbbee0f..a1d85634 100644
--- a/js/Sinks/CLKOUT_f.js
+++ b/js/Sinks/CLKOUT_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sinks/CLKOUT_f.sci" */
function CLKOUT_f() {
-CLKOUT_f.prototype.define = function CLKOUT_f() {
+ CLKOUT_f.prototype.define = function CLKOUT_f() {
prt=1;
model=scicos_model();
model.sim="output";
@@ -11,12 +11,12 @@ model.firing=[];
model.dep_ut=[false,false];
exprs=string(prt);
x=standard_define([1,1],model,exprs," ");
-}
-CLKOUT_f.prototype.details = function CLKOUT_f() {
-}
-CLKOUT_f.prototype.get = function CLKOUT_f() {
-}
-CLKOUT_f.prototype.set = function CLKOUT_f() {
+ }
+ CLKOUT_f.prototype.details = function CLKOUT_f() {
+ }
+ CLKOUT_f.prototype.get = function CLKOUT_f() {
+ }
+ CLKOUT_f.prototype.set = function CLKOUT_f() {
x=arg1;
graphics=arg1.graphics;
model=arg1.model;
@@ -40,5 +40,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Sinks/CMAT3D.js b/js/Sinks/CMAT3D.js
index 22352caa..c00b716d 100644
--- a/js/Sinks/CMAT3D.js
+++ b/js/Sinks/CMAT3D.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sinks/CMAT3D.sci" */
function CMAT3D() {
-CMAT3D.prototype.define = function CMAT3D() {
+ CMAT3D.prototype.define = function CMAT3D() {
cmin=0;
cmax=100;
colormap=jetcolormap(25);
@@ -22,12 +22,12 @@ model.dep_ut=[true,false];
exprs=[[strcat(string(x)," ")],[strcat(string(y)," ")],[string("jetcolormap(25)")],[string(cmin)],[string(cmax)]];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-CMAT3D.prototype.details = function CMAT3D() {
-}
-CMAT3D.prototype.get = function CMAT3D() {
-}
-CMAT3D.prototype.set = function CMAT3D() {
+ }
+ CMAT3D.prototype.details = function CMAT3D() {
+ }
+ CMAT3D.prototype.get = function CMAT3D() {
+ }
+ CMAT3D.prototype.set = function CMAT3D() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -62,5 +62,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Sinks/CMATVIEW.js b/js/Sinks/CMATVIEW.js
index 35a204ec..b7ae62fd 100644
--- a/js/Sinks/CMATVIEW.js
+++ b/js/Sinks/CMATVIEW.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sinks/CMATVIEW.sci" */
function CMATVIEW() {
-CMATVIEW.prototype.define = function CMATVIEW() {
+ CMATVIEW.prototype.define = function CMATVIEW() {
cmin=0;
cmax=100;
size_c=25;
@@ -20,12 +20,12 @@ model.dep_ut=[true,false];
exprs=[[string("jetcolormap(25)")],[string(cmin)],[string(cmax)]];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-CMATVIEW.prototype.details = function CMATVIEW() {
-}
-CMATVIEW.prototype.get = function CMATVIEW() {
-}
-CMATVIEW.prototype.set = function CMATVIEW() {
+ }
+ CMATVIEW.prototype.details = function CMATVIEW() {
+ }
+ CMATVIEW.prototype.get = function CMATVIEW() {
+ }
+ CMATVIEW.prototype.set = function CMATVIEW() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -58,5 +58,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Sinks/CMSCOPE.js b/js/Sinks/CMSCOPE.js
index 40ba209b..65197ee7 100644
--- a/js/Sinks/CMSCOPE.js
+++ b/js/Sinks/CMSCOPE.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sinks/CMSCOPE.sci" */
function CMSCOPE() {
-CMSCOPE.prototype.define = function CMSCOPE() {
+ CMSCOPE.prototype.define = function CMSCOPE() {
win=-1;
in1=[[1],[1]];
wdim=[[-1],[-1]];
@@ -25,12 +25,12 @@ model.dep_ut=[true,false];
exprs=[[strcat(string(in1)," ")],[strcat(string(clrs)," ")],[string(win)],[sci2exp([])],[sci2exp([])],[strcat(string(ymin)," ")],[strcat(string(ymax)," ")],[strcat(string(per)," ")],[string(N)],[string(0)],[emptystr()]];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-CMSCOPE.prototype.details = function CMSCOPE() {
-}
-CMSCOPE.prototype.get = function CMSCOPE() {
-}
-CMSCOPE.prototype.set = function CMSCOPE() {
+ }
+ CMSCOPE.prototype.details = function CMSCOPE() {
+ }
+ CMSCOPE.prototype.get = function CMSCOPE() {
+ }
+ CMSCOPE.prototype.set = function CMSCOPE() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -122,5 +122,5 @@ break;
}
}
}
-}
+ }
}
diff --git a/js/Sinks/CSCOPE.js b/js/Sinks/CSCOPE.js
index 7e126fe5..a1461183 100644
--- a/js/Sinks/CSCOPE.js
+++ b/js/Sinks/CSCOPE.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sinks/CSCOPE.sci" */
function CSCOPE() {
-CSCOPE.prototype.define = function CSCOPE() {
+ CSCOPE.prototype.define = function CSCOPE() {
win=-1;
wdim=[[600],[400]];
wpos=[[-1],[-1]];
@@ -21,12 +21,12 @@ model.dep_ut=[true,false];
exprs=[[strcat(string(clrs)," ")],[string(win)],[sci2exp([])],[sci2exp(wdim)],[string(ymin)],[string(ymax)],[string(per)],[string(N)],[transpose(string(0))],[emptystr()]];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-CSCOPE.prototype.details = function CSCOPE() {
-}
-CSCOPE.prototype.get = function CSCOPE() {
-}
-CSCOPE.prototype.set = function CSCOPE() {
+ }
+ CSCOPE.prototype.details = function CSCOPE() {
+ }
+ CSCOPE.prototype.get = function CSCOPE() {
+ }
+ CSCOPE.prototype.set = function CSCOPE() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -91,5 +91,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Sinks/CSCOPXY.js b/js/Sinks/CSCOPXY.js
index 8478a721..da57c497 100644
--- a/js/Sinks/CSCOPXY.js
+++ b/js/Sinks/CSCOPXY.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sinks/CSCOPXY.sci" */
function CSCOPXY() {
-CSCOPXY.prototype.define = function CSCOPXY() {
+ CSCOPXY.prototype.define = function CSCOPXY() {
win=-1;
clrs=4;
siz=1;
@@ -25,12 +25,12 @@ model.dep_ut=[false,false];
exprs=[[string(nbr_curves)],[sci2exp(clrs)],[sci2exp(siz)],[string(win)],[sci2exp([])],[sci2exp(wdim)],[string(xmin)],[string(xmax)],[string(ymin)],[string(ymax)],[string(N)]];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-CSCOPXY.prototype.details = function CSCOPXY() {
-}
-CSCOPXY.prototype.get = function CSCOPXY() {
-}
-CSCOPXY.prototype.set = function CSCOPXY() {
+ }
+ CSCOPXY.prototype.details = function CSCOPXY() {
+ }
+ CSCOPXY.prototype.get = function CSCOPXY() {
+ }
+ CSCOPXY.prototype.set = function CSCOPXY() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -95,5 +95,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Sinks/CSCOPXY3D.js b/js/Sinks/CSCOPXY3D.js
index 0f79bba5..7b7787f7 100644
--- a/js/Sinks/CSCOPXY3D.js
+++ b/js/Sinks/CSCOPXY3D.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sinks/CSCOPXY3D.sci" */
function CSCOPXY3D() {
-CSCOPXY3D.prototype.define = function CSCOPXY3D() {
+ CSCOPXY3D.prototype.define = function CSCOPXY3D() {
win=-1;
clrs=[[1],[2],[3],[4],[5],[6],[7],[13]];
siz=[[1],[1],[1],[1],[1],[1],[1],[1]];
@@ -25,12 +25,12 @@ model.dep_ut=[false,false];
exprs=[[string(nbr_curves)],[strcat(string(clrs)," ")],[strcat(string(siz)," ")],[string(win)],[sci2exp([])],[sci2exp(wdim)],[strcat(string(vec_x)," ")],[strcat(string(vec_y)," ")],[strcat(string(vec_z)," ")],[strcat(string(param3ds)," ")],[string(N)]];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-CSCOPXY3D.prototype.details = function CSCOPXY3D() {
-}
-CSCOPXY3D.prototype.get = function CSCOPXY3D() {
-}
-CSCOPXY3D.prototype.set = function CSCOPXY3D() {
+ }
+ CSCOPXY3D.prototype.details = function CSCOPXY3D() {
+ }
+ CSCOPXY3D.prototype.get = function CSCOPXY3D() {
+ }
+ CSCOPXY3D.prototype.set = function CSCOPXY3D() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -108,5 +108,5 @@ break;
message(mess);
}
}
-}
+ }
}
diff --git a/js/Sinks/OUTIMPL_f.js b/js/Sinks/OUTIMPL_f.js
index fc422586..ba56dbeb 100644
--- a/js/Sinks/OUTIMPL_f.js
+++ b/js/Sinks/OUTIMPL_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sinks/OUTIMPL_f.sci" */
function OUTIMPL_f() {
-OUTIMPL_f.prototype.define = function OUTIMPL_f() {
+ OUTIMPL_f.prototype.define = function OUTIMPL_f() {
model=scicos_model();
model.in1=[-1];
model.in2=[1];
@@ -17,12 +17,12 @@ exprs="1";
gr_i=[];
x=standard_define([1,1],model,exprs,gr_i);
x.graphics.in_implicit=["I"];
-}
-OUTIMPL_f.prototype.details = function OUTIMPL_f() {
-}
-OUTIMPL_f.prototype.get = function OUTIMPL_f() {
-}
-OUTIMPL_f.prototype.set = function OUTIMPL_f() {
+ }
+ OUTIMPL_f.prototype.details = function OUTIMPL_f() {
+ }
+ OUTIMPL_f.prototype.get = function OUTIMPL_f() {
+ }
+ OUTIMPL_f.prototype.set = function OUTIMPL_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -50,5 +50,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Sinks/OUT_f.js b/js/Sinks/OUT_f.js
index 5182de0a..0a620928 100644
--- a/js/Sinks/OUT_f.js
+++ b/js/Sinks/OUT_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sinks/OUT_f.sci" */
function OUT_f() {
-OUT_f.prototype.define = function OUT_f() {
+ OUT_f.prototype.define = function OUT_f() {
n=-1;
prt=1;
model=scicos_model();
@@ -14,12 +14,12 @@ model.dep_ut=[false,false];
exprs=string(prt);
gr_i=[];
x=standard_define([1,1],model,exprs,gr_i);
-}
-OUT_f.prototype.details = function OUT_f() {
-}
-OUT_f.prototype.get = function OUT_f() {
-}
-OUT_f.prototype.set = function OUT_f() {
+ }
+ OUT_f.prototype.details = function OUT_f() {
+ }
+ OUT_f.prototype.get = function OUT_f() {
+ }
+ OUT_f.prototype.set = function OUT_f() {
x=arg1;
graphics=arg1.graphics;
model=arg1.model;
@@ -43,5 +43,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Sinks/TOWS_c.js b/js/Sinks/TOWS_c.js
index 9df07c67..32a8c9e0 100644
--- a/js/Sinks/TOWS_c.js
+++ b/js/Sinks/TOWS_c.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sinks/TOWS_c.sci" */
function TOWS_c() {
-TOWS_c.prototype.define = function TOWS_c() {
+ TOWS_c.prototype.define = function TOWS_c() {
nu=-1;
nz=128;
varnam="A";
@@ -21,12 +21,12 @@ model.dep_ut=[false,false];
gr_i=[];
exprs=[[string(nz)],[string(varnam)],[string(herit)]];
x=standard_define([4,2],model,exprs,gr_i);
-}
-TOWS_c.prototype.details = function TOWS_c() {
-}
-TOWS_c.prototype.get = function TOWS_c() {
-}
-TOWS_c.prototype.set = function TOWS_c() {
+ }
+ TOWS_c.prototype.details = function TOWS_c() {
+ }
+ TOWS_c.prototype.get = function TOWS_c() {
+ }
+ TOWS_c.prototype.set = function TOWS_c() {
x=arg1;
graphics=arg1.graphics;
model=arg1.model;
@@ -61,5 +61,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Sinks/TRASH_f.js b/js/Sinks/TRASH_f.js
index a67aaa64..00fb8452 100644
--- a/js/Sinks/TRASH_f.js
+++ b/js/Sinks/TRASH_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sinks/TRASH_f.sci" */
function TRASH_f() {
-TRASH_f.prototype.define = function TRASH_f() {
+ TRASH_f.prototype.define = function TRASH_f() {
in1=-1;
model=scicos_model();
model.sim="trash";
@@ -11,12 +11,12 @@ model.dep_ut=[false,false];
exprs=" ";
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-TRASH_f.prototype.details = function TRASH_f() {
-}
-TRASH_f.prototype.get = function TRASH_f() {
-}
-TRASH_f.prototype.set = function TRASH_f() {
+ }
+ TRASH_f.prototype.details = function TRASH_f() {
+ }
+ TRASH_f.prototype.get = function TRASH_f() {
+ }
+ TRASH_f.prototype.set = function TRASH_f() {
x=arg1;
-}
+ }
}
diff --git a/js/Sinks/WFILE_f.js b/js/Sinks/WFILE_f.js
index 4c8225b4..1f5d0223 100644
--- a/js/Sinks/WFILE_f.js
+++ b/js/Sinks/WFILE_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sinks/WFILE_f.sci" */
function WFILE_f() {
-WFILE_f.prototype.define = function WFILE_f() {
+ WFILE_f.prototype.define = function WFILE_f() {
in1=1;
nin=sum(in1);
frmt="(7(e10.3,1x))";
@@ -18,12 +18,12 @@ model.dep_ut=[true,false];
exprs=[[sci2exp(in1)],[fname],[frmt],[string(N)]];
gr_i=[];
x=standard_define([3,2],model,exprs,gr_i);
-}
-WFILE_f.prototype.details = function WFILE_f() {
-}
-WFILE_f.prototype.get = function WFILE_f() {
-}
-WFILE_f.prototype.set = function WFILE_f() {
+ }
+ WFILE_f.prototype.details = function WFILE_f() {
+ }
+ WFILE_f.prototype.get = function WFILE_f() {
+ }
+ WFILE_f.prototype.set = function WFILE_f() {
warnobsolete("WRITEC_f","6.0.0");
warnMessage=msprintf(_("Feature %s is obsolete."),"WFILE_f");
warnAdvise=msprintf(_("Please use %s instead."),"WRITEC_f");
@@ -86,5 +86,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Sinks/WRITEAU_f.js b/js/Sinks/WRITEAU_f.js
index ad34ab59..a574c66f 100644
--- a/js/Sinks/WRITEAU_f.js
+++ b/js/Sinks/WRITEAU_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sinks/WRITEAU_f.sci" */
function WRITEAU_f() {
-WRITEAU_f.prototype.define = function WRITEAU_f() {
+ WRITEAU_f.prototype.define = function WRITEAU_f() {
in1=1;
nin=sum(in1);
frmt="uc ";
@@ -19,12 +19,12 @@ model.dep_ut=[true,false];
exprs=[string(N),string(swap)];
gr_i=[];
x=standard_define([4,2],model,exprs,gr_i);
-}
-WRITEAU_f.prototype.details = function WRITEAU_f() {
-}
-WRITEAU_f.prototype.get = function WRITEAU_f() {
-}
-WRITEAU_f.prototype.set = function WRITEAU_f() {
+ }
+ WRITEAU_f.prototype.details = function WRITEAU_f() {
+ }
+ WRITEAU_f.prototype.get = function WRITEAU_f() {
+ }
+ WRITEAU_f.prototype.set = function WRITEAU_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -65,5 +65,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Sinks/WRITEC_f.js b/js/Sinks/WRITEC_f.js
index 4e01e104..8ae4b3c8 100644
--- a/js/Sinks/WRITEC_f.js
+++ b/js/Sinks/WRITEC_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sinks/WRITEC_f.sci" */
function WRITEC_f() {
-WRITEC_f.prototype.define = function WRITEC_f() {
+ WRITEC_f.prototype.define = function WRITEC_f() {
in1=1;
nin=sum(in1);
frmt="c ";
@@ -19,12 +19,12 @@ model.dep_ut=[true,false];
exprs=[[sci2exp(in1)],[fname],[frmt],[string(N),string(swap)]];
gr_i=[];
x=standard_define([4,2],model,exprs,gr_i);
-}
-WRITEC_f.prototype.details = function WRITEC_f() {
-}
-WRITEC_f.prototype.get = function WRITEC_f() {
-}
-WRITEC_f.prototype.set = function WRITEC_f() {
+ }
+ WRITEC_f.prototype.details = function WRITEC_f() {
+ }
+ WRITEC_f.prototype.get = function WRITEC_f() {
+ }
+ WRITEC_f.prototype.set = function WRITEC_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -86,5 +86,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Sources/CLKINV_f.js b/js/Sources/CLKINV_f.js
index 2c1d03b7..c508c199 100644
--- a/js/Sources/CLKINV_f.js
+++ b/js/Sources/CLKINV_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sources/CLKINV_f.sci" */
function CLKINV_f() {
-CLKINV_f.prototype.define = function CLKINV_f() {
+ CLKINV_f.prototype.define = function CLKINV_f() {
prt=1;
model=scicos_model();
model.sim="input";
@@ -12,12 +12,12 @@ model.dep_ut=[false,false];
exprs=string(prt);
gr_i=[];
x=standard_define([1,1],model,exprs,gr_i);
-}
-CLKINV_f.prototype.details = function CLKINV_f() {
-}
-CLKINV_f.prototype.get = function CLKINV_f() {
-}
-CLKINV_f.prototype.set = function CLKINV_f() {
+ }
+ CLKINV_f.prototype.details = function CLKINV_f() {
+ }
+ CLKINV_f.prototype.get = function CLKINV_f() {
+ }
+ CLKINV_f.prototype.set = function CLKINV_f() {
x=arg1;
graphics=arg1.graphics;
model=arg1.model;
@@ -41,5 +41,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Sources/CLKIN_f.js b/js/Sources/CLKIN_f.js
index 90fe3204..8ca204ea 100644
--- a/js/Sources/CLKIN_f.js
+++ b/js/Sources/CLKIN_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sources/CLKIN_f.sci" */
function CLKIN_f() {
-CLKIN_f.prototype.define = function CLKIN_f() {
+ CLKIN_f.prototype.define = function CLKIN_f() {
prt=1;
model=scicos_model();
model.sim="input";
@@ -11,12 +11,12 @@ model.firing=-1;
model.dep_ut=[false,false];
exprs=string(prt);
x=standard_define([1,1],model,exprs," ");
-}
-CLKIN_f.prototype.details = function CLKIN_f() {
-}
-CLKIN_f.prototype.get = function CLKIN_f() {
-}
-CLKIN_f.prototype.set = function CLKIN_f() {
+ }
+ CLKIN_f.prototype.details = function CLKIN_f() {
+ }
+ CLKIN_f.prototype.get = function CLKIN_f() {
+ }
+ CLKIN_f.prototype.set = function CLKIN_f() {
x=arg1;
graphics=arg1.graphics;
model=arg1.model;
@@ -40,5 +40,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Sources/CLOCK_c.js b/js/Sources/CLOCK_c.js
index 95bf9650..cad67ad4 100644
--- a/js/Sources/CLOCK_c.js
+++ b/js/Sources/CLOCK_c.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sources/CLOCK_c.sci" */
function CLOCK_c() {
-CLOCK_c.prototype.define = function CLOCK_c() {
+ CLOCK_c.prototype.define = function CLOCK_c() {
evtdly=EVTDLY_c("define");
evtdly.graphics.orig=[320,232];
evtdly.graphics.sz=[40,40];
@@ -40,12 +40,12 @@ x.model.blocktype="h";
x.model.firing=false;
x.model.dep_ut=[false,false];
x.model.rpar=diagram;
-}
-CLOCK_c.prototype.details = function CLOCK_c() {
-}
-CLOCK_c.prototype.get = function CLOCK_c() {
-}
-CLOCK_c.prototype.set = function CLOCK_c() {
+ }
+ CLOCK_c.prototype.details = function CLOCK_c() {
+ }
+ CLOCK_c.prototype.get = function CLOCK_c() {
+ }
+ CLOCK_c.prototype.set = function CLOCK_c() {
for (i=1;i<=length(arg1.model.rpar.objs);i+=1) {
o=arg1.model.rpar.objs(i);
if (typeof(o)=="Block"&&o.gui=="EVTDLY_c") {
@@ -89,5 +89,5 @@ needcompile=0;
x=arg1;
y=needcompile;
typ=newpar;
-}
+ }
}
diff --git a/js/Sources/CLOCK_f.js b/js/Sources/CLOCK_f.js
index 39a002b3..dd3a158a 100644
--- a/js/Sources/CLOCK_f.js
+++ b/js/Sources/CLOCK_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sources/CLOCK_f.sci" */
function CLOCK_f() {
-CLOCK_f.prototype.define = function CLOCK_f() {
+ CLOCK_f.prototype.define = function CLOCK_f() {
evtdly=EVTDLY_f("define");
evtdly.graphics.orig=[320,232];
evtdly.graphics.sz=[40,40];
@@ -40,12 +40,12 @@ x.model.blocktype="h";
x.model.firing=false;
x.model.dep_ut=[false,false];
x.model.rpar=diagram;
-}
-CLOCK_f.prototype.details = function CLOCK_f() {
-}
-CLOCK_f.prototype.get = function CLOCK_f() {
-}
-CLOCK_f.prototype.set = function CLOCK_f() {
+ }
+ CLOCK_f.prototype.details = function CLOCK_f() {
+ }
+ CLOCK_f.prototype.get = function CLOCK_f() {
+ }
+ CLOCK_f.prototype.set = function CLOCK_f() {
for (i=1;i<=length(arg1.model.rpar.objs);i+=1) {
o=arg1.model.rpar.objs(i);
if (typeof(o)=="Block"&&o.gui=="EVTDLY_f") {
@@ -89,5 +89,5 @@ needcompile=0;
x=arg1;
y=needcompile;
typ=newpar;
-}
+ }
}
diff --git a/js/Sources/CONST.js b/js/Sources/CONST.js
index 096e96f7..7293695b 100644
--- a/js/Sources/CONST.js
+++ b/js/Sources/CONST.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sources/CONST.sci" */
function CONST() {
-CONST.prototype.define = function CONST() {
+ CONST.prototype.define = function CONST() {
C=1;
model=scicos_model();
model.sim=list("cstblk4",4);
@@ -12,12 +12,12 @@ model.dep_ut=[false,false];
exprs=strcat(sci2exp(C));
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-CONST.prototype.details = function CONST() {
-}
-CONST.prototype.get = function CONST() {
-}
-CONST.prototype.set = function CONST() {
+ }
+ CONST.prototype.details = function CONST() {
+ }
+ CONST.prototype.get = function CONST() {
+ }
+ CONST.prototype.set = function CONST() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -42,5 +42,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Sources/CONST_f.js b/js/Sources/CONST_f.js
index ade7e3f2..e87172fb 100644
--- a/js/Sources/CONST_f.js
+++ b/js/Sources/CONST_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sources/CONST_f.sci" */
function CONST_f() {
-CONST_f.prototype.define = function CONST_f() {
+ CONST_f.prototype.define = function CONST_f() {
C=1;
model=scicos_model();
model.sim=list("cstblk",1);
@@ -12,12 +12,12 @@ model.dep_ut=[false,false];
exprs=strcat(sci2exp(C));
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-CONST_f.prototype.details = function CONST_f() {
-}
-CONST_f.prototype.get = function CONST_f() {
-}
-CONST_f.prototype.set = function CONST_f() {
+ }
+ CONST_f.prototype.details = function CONST_f() {
+ }
+ CONST_f.prototype.get = function CONST_f() {
+ }
+ CONST_f.prototype.set = function CONST_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -39,5 +39,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Sources/CONST_m.js b/js/Sources/CONST_m.js
index 2bd85408..f84ab287 100644
--- a/js/Sources/CONST_m.js
+++ b/js/Sources/CONST_m.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sources/CONST_m.sci" */
function CONST_m() {
-CONST_m.prototype.define = function CONST_m() {
+ CONST_m.prototype.define = function CONST_m() {
C=[1];
model=scicos_model();
model.sim=list("cstblk4",4);
@@ -15,12 +15,12 @@ model.dep_ut=[false,false];
exprs=sci2exp(C);
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-CONST_m.prototype.details = function CONST_m() {
-}
-CONST_m.prototype.get = function CONST_m() {
-}
-CONST_m.prototype.set = function CONST_m() {
+ }
+ CONST_m.prototype.details = function CONST_m() {
+ }
+ CONST_m.prototype.get = function CONST_m() {
+ }
+ CONST_m.prototype.set = function CONST_m() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -68,5 +68,5 @@ break;
}
}
}
-}
+ }
}
diff --git a/js/Sources/CURV_f.js b/js/Sources/CURV_f.js
index f95ae1c2..396c38b5 100644
--- a/js/Sources/CURV_f.js
+++ b/js/Sources/CURV_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sources/CURV_f.sci" */
function CURV_f() {
-CURV_f.prototype.define = function CURV_f() {
+ CURV_f.prototype.define = function CURV_f() {
xx=[[0],[1],[2]];
yy=[[-5],[5],[0]];
rect=[0,-5,2,5];
@@ -17,12 +17,12 @@ model.blocktype="c";
model.dep_ut=[false,true];
gr_i=[];
x=standard_define([2,2],model,[],gr_i);
-}
-CURV_f.prototype.details = function CURV_f() {
-}
-CURV_f.prototype.get = function CURV_f() {
-}
-CURV_f.prototype.set = function CURV_f() {
+ }
+ CURV_f.prototype.details = function CURV_f() {
+ }
+ CURV_f.prototype.get = function CURV_f() {
+ }
+ CURV_f.prototype.set = function CURV_f() {
x=arg1;
model=arg1.model;
graphics=arg1.graphics;
@@ -59,5 +59,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Sources/Counter.js b/js/Sources/Counter.js
index 8d918694..41a4f57a 100644
--- a/js/Sources/Counter.js
+++ b/js/Sources/Counter.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sources/Counter.sci" */
function Counter() {
-Counter.prototype.define = function Counter() {
+ Counter.prototype.define = function Counter() {
minim=0;
maxim=2;
rule=1;
@@ -16,12 +16,12 @@ model.dep_ut=[false,false];
exprs=[[string(minim)],[string(maxim)],[string(rule)]];
gr_i=[];
x=standard_define([3,2],model,exprs,gr_i);
-}
-Counter.prototype.details = function Counter() {
-}
-Counter.prototype.get = function Counter() {
-}
-Counter.prototype.set = function Counter() {
+ }
+ Counter.prototype.details = function Counter() {
+ }
+ Counter.prototype.get = function Counter() {
+ }
+ Counter.prototype.set = function Counter() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -46,5 +46,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Sources/FROMWSB.js b/js/Sources/FROMWSB.js
index 44d6c073..9a1d2288 100644
--- a/js/Sources/FROMWSB.js
+++ b/js/Sources/FROMWSB.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sources/FROMWSB.sci" */
function FROMWSB() {
-FROMWSB.prototype.define = function FROMWSB() {
+ FROMWSB.prototype.define = function FROMWSB() {
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,1426,231,1.4],Title="FROMWSB",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="FROMWS_c",graphics=scicos_graphics(orig=[260.37067,261.584],sz=[70,40],flip=true,theta=0,exprs=[["V"],["1"],["1"],["0"]],pin=[],pout=4,pein=2,peout=2,gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim=list("fromws_c",4),in1=[],in2=[],intyp=1,out=-1,out2=-2,outtyp=-1,evtin=1,evtout=1,state=[],dstate=[],odstate=list(),rpar=[],ipar=[[1],[-31],[1],[1],[0]],opar=list(),blocktype="d",firing=0,dep_ut=[false,true],label="",nzcross=0,nmode=0,equations=list()),doc=list());
scs_m_1.objs[2-1]=scicos_link(xx=[[295.37067],[295.37067],[233.23733],[233.23733],[295.37067],[295.37067]],yy=[[255.86971],[223.45067],[223.45067],[337.85067],[337.85067],[307.29829]],id="drawlink",thick=[0,0],ct=[5,-1],from=[1,1,0],to=[1,1,1]);
@@ -9,12 +9,12 @@ scs_m_1.objs[4-1]=scicos_link(xx=[[338.9421],[358.9421]],yy=[[281.584],[281.584]
model=scicos_model(sim="csuper",in1=[],in2=[],intyp=1,out=-1,out2=-2,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([5,2],model,[],gr_i);
-}
-FROMWSB.prototype.details = function FROMWSB() {
-}
-FROMWSB.prototype.get = function FROMWSB() {
-}
-FROMWSB.prototype.set = function FROMWSB() {
+ }
+ FROMWSB.prototype.details = function FROMWSB() {
+ }
+ FROMWSB.prototype.get = function FROMWSB() {
+ }
+ FROMWSB.prototype.set = function FROMWSB() {
for (i=1;i<=length(arg1.model.rpar.objs);i+=1) {
o=arg1.model.rpar.objs(i);
if (typeof(o)=="Block"&&o.gui=="FROMWS_c") {
@@ -82,5 +82,5 @@ y=max(y,needcompile);
}
x=arg1;
typ=newpar;
-}
+ }
}
diff --git a/js/Sources/FROMWS_c.js b/js/Sources/FROMWS_c.js
index 0607731f..caf3a034 100644
--- a/js/Sources/FROMWS_c.js
+++ b/js/Sources/FROMWS_c.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sources/FROMWS_c.sci" */
function FROMWS_c() {
-FROMWS_c.prototype.define = function FROMWS_c() {
+ FROMWS_c.prototype.define = function FROMWS_c() {
varnam="V";
Method=1;
ZC=1;
@@ -19,12 +19,12 @@ model.dep_ut=[false,true];
gr_i=[];
exprs=[[string(varnam)],[string(Method)],[string(ZC)],[string(OutEnd)]];
x=standard_define([3.5,2],model,exprs,gr_i);
-}
-FROMWS_c.prototype.details = function FROMWS_c() {
-}
-FROMWS_c.prototype.get = function FROMWS_c() {
-}
-FROMWS_c.prototype.set = function FROMWS_c() {
+ }
+ FROMWS_c.prototype.details = function FROMWS_c() {
+ }
+ FROMWS_c.prototype.get = function FROMWS_c() {
+ }
+ FROMWS_c.prototype.set = function FROMWS_c() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -63,5 +63,5 @@ break;
}
}
}
-}
+ }
}
diff --git a/js/Sources/GENSIN_f.js b/js/Sources/GENSIN_f.js
index 263fc9ee..b34da787 100644
--- a/js/Sources/GENSIN_f.js
+++ b/js/Sources/GENSIN_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sources/GENSIN_f.sci" */
function GENSIN_f() {
-GENSIN_f.prototype.define = function GENSIN_f() {
+ GENSIN_f.prototype.define = function GENSIN_f() {
rpar=[[1],[1],[0]];
model=scicos_model();
model.sim="gensin";
@@ -14,12 +14,12 @@ model.dep_ut=[false,true];
exprs=[[string(rpar(1))],[string(rpar(2))],[string(rpar(3))]];
gr_i=[];
x=standard_define([3,2],model,exprs,gr_i);
-}
-GENSIN_f.prototype.details = function GENSIN_f() {
-}
-GENSIN_f.prototype.get = function GENSIN_f() {
-}
-GENSIN_f.prototype.set = function GENSIN_f() {
+ }
+ GENSIN_f.prototype.details = function GENSIN_f() {
+ }
+ GENSIN_f.prototype.get = function GENSIN_f() {
+ }
+ GENSIN_f.prototype.set = function GENSIN_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -44,5 +44,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Sources/GENSQR_f.js b/js/Sources/GENSQR_f.js
index 0584ccb7..2532c7dc 100644
--- a/js/Sources/GENSQR_f.js
+++ b/js/Sources/GENSQR_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sources/GENSQR_f.sci" */
function GENSQR_f() {
-GENSQR_f.prototype.define = function GENSQR_f() {
+ GENSQR_f.prototype.define = function GENSQR_f() {
Amplitude=1;
model=scicos_model();
model.sim="gensqr";
@@ -14,12 +14,12 @@ model.dep_ut=[false,false];
exprs=string(Amplitude);
gr_i=[];
x=standard_define([3,2],model,exprs,gr_i);
-}
-GENSQR_f.prototype.details = function GENSQR_f() {
-}
-GENSQR_f.prototype.get = function GENSQR_f() {
-}
-GENSQR_f.prototype.set = function GENSQR_f() {
+ }
+ GENSQR_f.prototype.details = function GENSQR_f() {
+ }
+ GENSQR_f.prototype.get = function GENSQR_f() {
+ }
+ GENSQR_f.prototype.set = function GENSQR_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -40,5 +40,5 @@ x.graphics=graphics;
x.model=model;
break;
}
-}
+ }
}
diff --git a/js/Sources/GEN_SQR.js b/js/Sources/GEN_SQR.js
index 7bab957c..040f40c4 100644
--- a/js/Sources/GEN_SQR.js
+++ b/js/Sources/GEN_SQR.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sources/GEN_SQR.sci" */
function GEN_SQR() {
-GEN_SQR.prototype.define = function GEN_SQR() {
+ GEN_SQR.prototype.define = function GEN_SQR() {
scs_m_1=scicos_diagram(version="scicos4.2",props=scicos_params(wpar=[-176.97473,421.18646,173.61587,524.41503,827,480,0,15,827,480,755,614,1.4],Title="SuperBlock",tol=[0.0001,0.000001,1.000e-10,100001,0,0],tf=100000,context=[["if typeof(Amin)<>typeof(Amax) then error(\'Minimum value and Maximum value must have the same type\');end"],["if and(rule<>[1;2]) then error(\'Initial Value must be 1 (for Min) or 2 (for Max)\');end"],["if Amin>Amax then error(\'Maximum value must be greater than the Minimum Value\');end"],["P=%pi/F"],[""]],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="Counter",graphics=scicos_graphics(orig=[18.229901,339.5057],sz=[60,40],flip=true,theta=0,exprs=[["1"],["2"],["rule"]],pin=[],pout=8,pein=16,peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim=list("counter",4),in1=[],in2=[],intyp=1,out=1,out2=1,outtyp=1,evtin=1,evtout=[],state=[],dstate=0,odstate=list(),rpar=[],ipar=[[1],[2],[1]],opar=list(),blocktype="c",firing=[],dep_ut=[false,false],label="",nzcross=0,nmode=0,equations=list()),doc=list());
scs_m_1.objs[2-1]=scicos_block(gui="CONST_m",graphics=scicos_graphics(orig=[38.096074,293.82198],sz=[40,40],flip=true,theta=0,exprs="Amin",pin=[],pout=5,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim=list("cstblk4_m",4),in1=[],in2=[],intyp=1,out=1,out2=1,outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(-1),blocktype="d",firing=[],dep_ut=[false,false],label="",nzcross=0,nmode=0,equations=list()),doc=list());
@@ -48,12 +48,12 @@ F=1;
exprs=[sci2exp(Amin),sci2exp(Amax),sci2exp(rule),sci2exp(F)];
gr_i=[];
x=standard_define([3,2],model,exprs,gr_i);
-}
-GEN_SQR.prototype.details = function GEN_SQR() {
-}
-GEN_SQR.prototype.get = function GEN_SQR() {
-}
-GEN_SQR.prototype.set = function GEN_SQR() {
+ }
+ GEN_SQR.prototype.details = function GEN_SQR() {
+ }
+ GEN_SQR.prototype.get = function GEN_SQR() {
+ }
+ GEN_SQR.prototype.set = function GEN_SQR() {
y=needcompile;
arg1.model.ipar=1;
typ=list();
@@ -87,5 +87,5 @@ message(lasterror());
ok=false;
}
}
-}
+ }
}
diff --git a/js/Sources/Ground_g.js b/js/Sources/Ground_g.js
index d7bb8482..680db464 100644
--- a/js/Sources/Ground_g.js
+++ b/js/Sources/Ground_g.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sources/Ground_g.sci" */
function Ground_g() {
-Ground_g.prototype.define = function Ground_g() {
+ Ground_g.prototype.define = function Ground_g() {
C=[0];
model=scicos_model();
model.sim=list("cstblk4_m",4);
@@ -16,12 +16,12 @@ model.dep_ut=[false,false];
exprs=[];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-Ground_g.prototype.details = function Ground_g() {
-}
-Ground_g.prototype.get = function Ground_g() {
-}
-Ground_g.prototype.set = function Ground_g() {
+ }
+ Ground_g.prototype.details = function Ground_g() {
+ }
+ Ground_g.prototype.get = function Ground_g() {
+ }
+ Ground_g.prototype.set = function Ground_g() {
x=arg1;
-}
+ }
}
diff --git a/js/Sources/INIMPL_f.js b/js/Sources/INIMPL_f.js
index c2f90f7f..bfa017a0 100644
--- a/js/Sources/INIMPL_f.js
+++ b/js/Sources/INIMPL_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sources/INIMPL_f.sci" */
function INIMPL_f() {
-INIMPL_f.prototype.define = function INIMPL_f() {
+ INIMPL_f.prototype.define = function INIMPL_f() {
model=scicos_model();
model.sim="inimpl";
model.out=[-1];
@@ -17,12 +17,12 @@ exprs="1";
gr_i=[];
x=standard_define([1,1],model,exprs,gr_i);
x.graphics.out_implicit=["I"];
-}
-INIMPL_f.prototype.details = function INIMPL_f() {
-}
-INIMPL_f.prototype.get = function INIMPL_f() {
-}
-INIMPL_f.prototype.set = function INIMPL_f() {
+ }
+ INIMPL_f.prototype.details = function INIMPL_f() {
+ }
+ INIMPL_f.prototype.get = function INIMPL_f() {
+ }
+ INIMPL_f.prototype.set = function INIMPL_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -50,5 +50,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Sources/IN_f.js b/js/Sources/IN_f.js
index 30c2ea4d..53193f1a 100644
--- a/js/Sources/IN_f.js
+++ b/js/Sources/IN_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sources/IN_f.sci" */
function IN_f() {
-IN_f.prototype.define = function IN_f() {
+ IN_f.prototype.define = function IN_f() {
prt=1;
model=scicos_model();
model.sim="input";
@@ -13,12 +13,12 @@ model.dep_ut=[false,false];
exprs=sci2exp(prt);
gr_i=[];
x=standard_define([1,1],model,exprs,gr_i);
-}
-IN_f.prototype.details = function IN_f() {
-}
-IN_f.prototype.get = function IN_f() {
-}
-IN_f.prototype.set = function IN_f() {
+ }
+ IN_f.prototype.details = function IN_f() {
+ }
+ IN_f.prototype.get = function IN_f() {
+ }
+ IN_f.prototype.set = function IN_f() {
x=arg1;
graphics=arg1.graphics;
model=arg1.model;
@@ -57,5 +57,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Sources/Modulo_Count.js b/js/Sources/Modulo_Count.js
index 9edd0b9d..06b77c73 100644
--- a/js/Sources/Modulo_Count.js
+++ b/js/Sources/Modulo_Count.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sources/Modulo_Count.sci" */
function Modulo_Count() {
-Modulo_Count.prototype.define = function Modulo_Count() {
+ Modulo_Count.prototype.define = function Modulo_Count() {
ini_c=0;
base=3;
model=scicos_model();
@@ -14,12 +14,12 @@ model.dep_ut=[false,false];
exprs=[[string(ini_c)],[string(base)]];
gr_i=[];
x=standard_define([3,2],model,exprs,gr_i);
-}
-Modulo_Count.prototype.details = function Modulo_Count() {
-}
-Modulo_Count.prototype.get = function Modulo_Count() {
-}
-Modulo_Count.prototype.set = function Modulo_Count() {
+ }
+ Modulo_Count.prototype.details = function Modulo_Count() {
+ }
+ Modulo_Count.prototype.get = function Modulo_Count() {
+ }
+ Modulo_Count.prototype.set = function Modulo_Count() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -44,5 +44,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Sources/PULSE_SC.js b/js/Sources/PULSE_SC.js
index f7a048e4..12f227e4 100644
--- a/js/Sources/PULSE_SC.js
+++ b/js/Sources/PULSE_SC.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sources/PULSE_SC.sci" */
function PULSE_SC() {
-PULSE_SC.prototype.define = function PULSE_SC() {
+ PULSE_SC.prototype.define = function PULSE_SC() {
scs_m_1=scicos_diagram(version="scicos4.2",props=scicos_params(wpar=[-162.7581,435.54369,67.607292,416.67644,827,479,0,15,827,480,715,167,1.4],Title=["SuperBlock","/home/fady/Scicos_examples/"],tol=[[0.0001],[0.000001],[1.000e-10],[100001],[0],[0],[0]],tf=10,context=[["E2=E+W/100*F"],["if (W<0 | W>100) then error(\'Width must be between 0 and 100\');end"],["if (E2 >= F) then error (\'Offset must be lower than (frequency*(1-Width/100))\'); end"]],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="CONST_m",graphics=scicos_graphics(orig=[30.801202,158.91733],sz=[40,40],flip=true,theta=0,exprs="A",pin=[],pout=5,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim=list("cstblk4_m",4),in1=[],in2=[],intyp=1,out=1,out2=1,outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(1),blocktype="d",firing=[],dep_ut=[false,false],label="",nzcross=0,nmode=0,equations=list()),doc=list());
scs_m_1.objs[2-1]=scicos_block(gui="Ground_g",graphics=scicos_graphics(orig=[31.534535,215.384],sz=[40,40],flip=true,theta=0,exprs=[],pin=[],pout=4,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim=list("cstblk4_m",4),in1=[],in2=[],intyp=1,out=1,out2=1,outtyp=-1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(0),blocktype="d",firing=[],dep_ut=[false,false],label="",nzcross=0,nmode=0,equations=list()),doc=list());
@@ -43,12 +43,12 @@ A=1;
exprs=[sci2exp(E),sci2exp(W),sci2exp(F),sci2exp(A)];
gr_i=[];
x=standard_define([3,2],model,exprs,gr_i);
-}
-PULSE_SC.prototype.details = function PULSE_SC() {
-}
-PULSE_SC.prototype.get = function PULSE_SC() {
-}
-PULSE_SC.prototype.set = function PULSE_SC() {
+ }
+ PULSE_SC.prototype.details = function PULSE_SC() {
+ }
+ PULSE_SC.prototype.get = function PULSE_SC() {
+ }
+ PULSE_SC.prototype.set = function PULSE_SC() {
y=needcompile;
arg1.model.ipar=1;
typ=list();
@@ -84,5 +84,5 @@ messagebox(lasterror());
ok=false;
}
}
-}
+ }
}
diff --git a/js/Sources/RAMP.js b/js/Sources/RAMP.js
index 36e051bb..2868c2f9 100644
--- a/js/Sources/RAMP.js
+++ b/js/Sources/RAMP.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sources/RAMP.sci" */
function RAMP() {
-RAMP.prototype.define = function RAMP() {
+ RAMP.prototype.define = function RAMP() {
slope=0;
iout=0;
stt=0;
@@ -17,12 +17,12 @@ model.dep_ut=[false,true];
exprs=[string(rpar)];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-RAMP.prototype.details = function RAMP() {
-}
-RAMP.prototype.get = function RAMP() {
-}
-RAMP.prototype.set = function RAMP() {
+ }
+ RAMP.prototype.details = function RAMP() {
+ }
+ RAMP.prototype.get = function RAMP() {
+ }
+ RAMP.prototype.set = function RAMP() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -42,5 +42,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Sources/RAND_f.js b/js/Sources/RAND_f.js
index 6f49228d..bf85ac44 100644
--- a/js/Sources/RAND_f.js
+++ b/js/Sources/RAND_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sources/RAND_f.sci" */
function RAND_f() {
-RAND_f.prototype.define = function RAND_f() {
+ RAND_f.prototype.define = function RAND_f() {
a=0;
b=1;
dt=0;
@@ -18,12 +18,12 @@ model.dep_ut=[false,false];
exprs=[[string(flag)],[sci2exp(a.slice())],[sci2exp(b.slice())],[string(model.dstate(1))]];
gr_i=[];
x=standard_define([3,2],model,exprs,gr_i);
-}
-RAND_f.prototype.details = function RAND_f() {
-}
-RAND_f.prototype.get = function RAND_f() {
-}
-RAND_f.prototype.set = function RAND_f() {
+ }
+ RAND_f.prototype.details = function RAND_f() {
+ }
+ RAND_f.prototype.get = function RAND_f() {
+ }
+ RAND_f.prototype.set = function RAND_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -53,5 +53,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Sources/RAND_m.js b/js/Sources/RAND_m.js
index 1573b9f3..7d9ad0e9 100644
--- a/js/Sources/RAND_m.js
+++ b/js/Sources/RAND_m.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sources/RAND_m.sci" */
function RAND_m() {
-RAND_m.prototype.define = function RAND_m() {
+ RAND_m.prototype.define = function RAND_m() {
a=0;
b=1;
dt=0;
@@ -27,12 +27,12 @@ model.dep_ut=[false,false];
exprs=[[sci2exp(1)],[string(flag)],[sci2exp([a])],[sci2exp([b])],[sci2exp([model.dstate(1),int(rand()*(10^7-1))])]];
gr_i=[];
x=standard_define([3,2],model,exprs,gr_i);
-}
-RAND_m.prototype.details = function RAND_m() {
-}
-RAND_m.prototype.get = function RAND_m() {
-}
-RAND_m.prototype.set = function RAND_m() {
+ }
+ RAND_m.prototype.details = function RAND_m() {
+ }
+ RAND_m.prototype.get = function RAND_m() {
+ }
+ RAND_m.prototype.set = function RAND_m() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -76,5 +76,5 @@ break;
}
}
}
-}
+ }
}
diff --git a/js/Sources/READAU_f.js b/js/Sources/READAU_f.js
index ed891f22..da984c61 100644
--- a/js/Sources/READAU_f.js
+++ b/js/Sources/READAU_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sources/READAU_f.sci" */
function READAU_f() {
-READAU_f.prototype.define = function READAU_f() {
+ READAU_f.prototype.define = function READAU_f() {
frmt="uc ";
fname="test.au";
lunit=0;
@@ -23,12 +23,12 @@ model.dep_ut=[false,false];
exprs=[[fname],[string(N)],[string(swap)]];
gr_i=[];
x=standard_define([5,2],model,exprs,gr_i);
-}
-READAU_f.prototype.details = function READAU_f() {
-}
-READAU_f.prototype.get = function READAU_f() {
-}
-READAU_f.prototype.set = function READAU_f() {
+ }
+ READAU_f.prototype.details = function READAU_f() {
+ }
+ READAU_f.prototype.get = function READAU_f() {
+ }
+ READAU_f.prototype.set = function READAU_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -79,5 +79,5 @@ break;
}
}
}
-}
+ }
}
diff --git a/js/Sources/READC_f.js b/js/Sources/READC_f.js
index 60cf42d7..8d9ce6f2 100644
--- a/js/Sources/READC_f.js
+++ b/js/Sources/READC_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sources/READC_f.sci" */
function READC_f() {
-READC_f.prototype.define = function READC_f() {
+ READC_f.prototype.define = function READC_f() {
frmt="d ";
fname="foo";
lunit=0;
@@ -27,12 +27,12 @@ model.dep_ut=[false,false];
exprs=[["[]"],[sci2exp(outmask)],[fname],[frmt],[string(M)],[string(N)],[string(offset)],[string(swap)]];
gr_i=[];
x=standard_define([4,2],model,exprs,gr_i);
-}
-READC_f.prototype.details = function READC_f() {
-}
-READC_f.prototype.get = function READC_f() {
-}
-READC_f.prototype.set = function READC_f() {
+ }
+ READC_f.prototype.details = function READC_f() {
+ }
+ READC_f.prototype.get = function READC_f() {
+ }
+ READC_f.prototype.set = function READC_f() {
x=arg1;
model=x.model;
graphics=arg1.graphics;
@@ -113,5 +113,5 @@ break;
}
}
}
-}
+ }
}
diff --git a/js/Sources/RFILE_f.js b/js/Sources/RFILE_f.js
index a5e13f89..f844b789 100644
--- a/js/Sources/RFILE_f.js
+++ b/js/Sources/RFILE_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sources/RFILE_f.sci" */
function RFILE_f() {
-RFILE_f.prototype.define = function RFILE_f() {
+ RFILE_f.prototype.define = function RFILE_f() {
out=1;
nout=sum(out);
frmt="(7(e10.3,1x))";
@@ -23,12 +23,12 @@ model.dep_ut=[false,false];
exprs=[[sci2exp([])],[sci2exp(outmask)],[fname],[frmt],[string(N)],[sci2exp(out)]];
gr_i=[];
x=standard_define([3,2],model,exprs,gr_i);
-}
-RFILE_f.prototype.details = function RFILE_f() {
-}
-RFILE_f.prototype.get = function RFILE_f() {
-}
-RFILE_f.prototype.set = function RFILE_f() {
+ }
+ RFILE_f.prototype.details = function RFILE_f() {
+ }
+ RFILE_f.prototype.get = function RFILE_f() {
+ }
+ RFILE_f.prototype.set = function RFILE_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -102,5 +102,5 @@ break;
}
}
}
-}
+ }
}
diff --git a/js/Sources/SAWTOOTH_f.js b/js/Sources/SAWTOOTH_f.js
index cae82edb..2494971a 100644
--- a/js/Sources/SAWTOOTH_f.js
+++ b/js/Sources/SAWTOOTH_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sources/SAWTOOTH_f.sci" */
function SAWTOOTH_f() {
-SAWTOOTH_f.prototype.define = function SAWTOOTH_f() {
+ SAWTOOTH_f.prototype.define = function SAWTOOTH_f() {
model=scicos_model();
model.sim="sawtth";
model.out=1;
@@ -11,12 +11,12 @@ model.dep_ut=[false,true];
exprs=" ";
gr_i=[];
x=standard_define([3,2],model,exprs,gr_i);
-}
-SAWTOOTH_f.prototype.details = function SAWTOOTH_f() {
-}
-SAWTOOTH_f.prototype.get = function SAWTOOTH_f() {
-}
-SAWTOOTH_f.prototype.set = function SAWTOOTH_f() {
+ }
+ SAWTOOTH_f.prototype.details = function SAWTOOTH_f() {
+ }
+ SAWTOOTH_f.prototype.get = function SAWTOOTH_f() {
+ }
+ SAWTOOTH_f.prototype.set = function SAWTOOTH_f() {
x=arg1;
-}
+ }
}
diff --git a/js/Sources/STEP.js b/js/Sources/STEP.js
index c1b4a6be..009b7bda 100644
--- a/js/Sources/STEP.js
+++ b/js/Sources/STEP.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sources/STEP.sci" */
function STEP() {
-STEP.prototype.define = function STEP() {
+ STEP.prototype.define = function STEP() {
rpar=[[0],[1]];
model=scicos_model();
model.sim=list("step_func",4);
@@ -16,12 +16,12 @@ model.dep_ut=[false,false];
exprs=[[string(1)],[string(rpar)]];
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-STEP.prototype.details = function STEP() {
-}
-STEP.prototype.get = function STEP() {
-}
-STEP.prototype.set = function STEP() {
+ }
+ STEP.prototype.details = function STEP() {
+ }
+ STEP.prototype.get = function STEP() {
+ }
+ STEP.prototype.set = function STEP() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -62,5 +62,5 @@ x.model=model;
break;
}
}
-}
+ }
}
diff --git a/js/Sources/STEP_FUNCTION.js b/js/Sources/STEP_FUNCTION.js
index 54120d80..8307e904 100644
--- a/js/Sources/STEP_FUNCTION.js
+++ b/js/Sources/STEP_FUNCTION.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sources/STEP_FUNCTION.sci" */
function STEP_FUNCTION() {
-STEP_FUNCTION.prototype.define = function STEP_FUNCTION() {
+ STEP_FUNCTION.prototype.define = function STEP_FUNCTION() {
scs_m_1=scicos_diagram();
scs_m_1.objs[1-1]=STEP("define");
scs_m_1.objs[2-1]=OUT_f("define");
@@ -49,12 +49,12 @@ model.outtyp=1;
model.rpar=scs_m_1;
gr_i=[];
x=standard_define([2,2],model,[],gr_i);
-}
-STEP_FUNCTION.prototype.details = function STEP_FUNCTION() {
-}
-STEP_FUNCTION.prototype.get = function STEP_FUNCTION() {
-}
-STEP_FUNCTION.prototype.set = function STEP_FUNCTION() {
+ }
+ STEP_FUNCTION.prototype.details = function STEP_FUNCTION() {
+ }
+ STEP_FUNCTION.prototype.get = function STEP_FUNCTION() {
+ }
+ STEP_FUNCTION.prototype.set = function STEP_FUNCTION() {
for (i=1;i<=length(arg1.model.rpar.objs);i+=1) {
o=arg1.model.rpar.objs(i);
if (typeof(o)=="Block"&&o.gui=="STEP") {
@@ -118,5 +118,5 @@ newpar[size(newpar)+1-1]=path;
x=arg1;
y=needcompile;
typ=newpar;
-}
+ }
}
diff --git a/js/Sources/SampleCLK.js b/js/Sources/SampleCLK.js
index b59b7e84..3e7a81a7 100644
--- a/js/Sources/SampleCLK.js
+++ b/js/Sources/SampleCLK.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sources/SampleCLK.sci" */
function SampleCLK() {
-SampleCLK.prototype.define = function SampleCLK() {
+ SampleCLK.prototype.define = function SampleCLK() {
model=scicos_model();
model.sim="sampleclk";
model.evtout=1;
@@ -10,12 +10,12 @@ model.firing=-1;
model.dep_ut=[false,false];
exprs=[[sci2exp(1)],[sci2exp(0)]];
x=standard_define([2,2],model,exprs," ");
-}
-SampleCLK.prototype.details = function SampleCLK() {
-}
-SampleCLK.prototype.get = function SampleCLK() {
-}
-SampleCLK.prototype.set = function SampleCLK() {
+ }
+ SampleCLK.prototype.details = function SampleCLK() {
+ }
+ SampleCLK.prototype.get = function SampleCLK() {
+ }
+ SampleCLK.prototype.set = function SampleCLK() {
x=arg1;
graphics=arg1.graphics;
model=arg1.model;
@@ -48,5 +48,5 @@ break;
}
}
needcompile=resume(needcompile)
-}
+ }
}
diff --git a/js/Sources/TIME_f.js b/js/Sources/TIME_f.js
index 6e10cdda..e9dba55c 100644
--- a/js/Sources/TIME_f.js
+++ b/js/Sources/TIME_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sources/TIME_f.sci" */
function TIME_f() {
-TIME_f.prototype.define = function TIME_f() {
+ TIME_f.prototype.define = function TIME_f() {
model=scicos_model();
model.sim="timblk";
model.out=1;
@@ -8,12 +8,12 @@ model.blocktype="c";
model.dep_ut=[false,true];
gr_i=[];
x=standard_define([2,2],model,[],gr_i);
-}
-TIME_f.prototype.details = function TIME_f() {
-}
-TIME_f.prototype.get = function TIME_f() {
-}
-TIME_f.prototype.set = function TIME_f() {
+ }
+ TIME_f.prototype.details = function TIME_f() {
+ }
+ TIME_f.prototype.get = function TIME_f() {
+ }
+ TIME_f.prototype.set = function TIME_f() {
x=arg1;
-}
+ }
}
diff --git a/js/Sources/TKSCALE.js b/js/Sources/TKSCALE.js
index 697a4293..3a7f0070 100644
--- a/js/Sources/TKSCALE.js
+++ b/js/Sources/TKSCALE.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Sources/TKSCALE.sci" */
function TKSCALE() {
-TKSCALE.prototype.define = function TKSCALE() {
+ TKSCALE.prototype.define = function TKSCALE() {
a=-10;
b=10;
f=1;
@@ -14,12 +14,12 @@ model.dep_ut=[false,false];
exprs=[[sci2exp(a)],[sci2exp(b)],[sci2exp(f)]];
gr_i=[];
x=standard_define([3,2],model,exprs,gr_i);
-}
-TKSCALE.prototype.details = function TKSCALE() {
-}
-TKSCALE.prototype.get = function TKSCALE() {
-}
-TKSCALE.prototype.set = function TKSCALE() {
+ }
+ TKSCALE.prototype.details = function TKSCALE() {
+ }
+ TKSCALE.prototype.get = function TKSCALE() {
+ }
+ TKSCALE.prototype.set = function TKSCALE() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -31,5 +31,5 @@ model.rpar=[[a],[b],[f]];
x.graphics=graphics;
x.model=model;
}
-}
+ }
}
diff --git a/js/Threshold/GENERAL_f.js b/js/Threshold/GENERAL_f.js
index 9cb344fd..fbcf1cf8 100644
--- a/js/Threshold/GENERAL_f.js
+++ b/js/Threshold/GENERAL_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Threshold/GENERAL_f.sci" */
function GENERAL_f() {
-GENERAL_f.prototype.define = function GENERAL_f() {
+ GENERAL_f.prototype.define = function GENERAL_f() {
rpar=[[0],[0],[0],[0]];
in1=1;
out=1;
@@ -16,12 +16,12 @@ model.dep_ut=[true,false];
exprs=[[strcat(sci2exp(in1))],[strcat(sci2exp(out))]];
gr_i=[];
x=standard_define([3,2],model,exprs,gr_i);
-}
-GENERAL_f.prototype.details = function GENERAL_f() {
-}
-GENERAL_f.prototype.get = function GENERAL_f() {
-}
-GENERAL_f.prototype.set = function GENERAL_f() {
+ }
+ GENERAL_f.prototype.details = function GENERAL_f() {
+ }
+ GENERAL_f.prototype.get = function GENERAL_f() {
+ }
+ GENERAL_f.prototype.set = function GENERAL_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -55,5 +55,5 @@ x.model=model;
}
}
}
-}
+ }
}
diff --git a/js/Threshold/NEGTOPOS_f.js b/js/Threshold/NEGTOPOS_f.js
index 9e86ae7e..ae16877b 100644
--- a/js/Threshold/NEGTOPOS_f.js
+++ b/js/Threshold/NEGTOPOS_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Threshold/NEGTOPOS_f.sci" */
function NEGTOPOS_f() {
-NEGTOPOS_f.prototype.define = function NEGTOPOS_f() {
+ NEGTOPOS_f.prototype.define = function NEGTOPOS_f() {
model=scicos_model();
model.sim=list("zcross",1);
model.nzcross=1;
@@ -12,13 +12,13 @@ model.firing=-1;
model.dep_ut=[true,false];
gr_i=[];
x=standard_define([2,2],model,[],gr_i);
-}
-NEGTOPOS_f.prototype.details = function NEGTOPOS_f() {
-}
-NEGTOPOS_f.prototype.get = function NEGTOPOS_f() {
-}
-NEGTOPOS_f.prototype.set = function NEGTOPOS_f() {
+ }
+ NEGTOPOS_f.prototype.details = function NEGTOPOS_f() {
+ }
+ NEGTOPOS_f.prototype.get = function NEGTOPOS_f() {
+ }
+ NEGTOPOS_f.prototype.set = function NEGTOPOS_f() {
x=arg1;
x.model.firing=-1;
-}
+ }
}
diff --git a/js/Threshold/POSTONEG_f.js b/js/Threshold/POSTONEG_f.js
index 838318bc..18649a50 100644
--- a/js/Threshold/POSTONEG_f.js
+++ b/js/Threshold/POSTONEG_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Threshold/POSTONEG_f.sci" */
function POSTONEG_f() {
-POSTONEG_f.prototype.define = function POSTONEG_f() {
+ POSTONEG_f.prototype.define = function POSTONEG_f() {
rpar=[[-1],[-1],[-1],[0]];
model=scicos_model();
model.sim=list("zcross",1);
@@ -13,13 +13,13 @@ model.dep_ut=[true,false];
model.firing=[-1];
gr_i=[];
x=standard_define([2,2],model,[],gr_i);
-}
-POSTONEG_f.prototype.details = function POSTONEG_f() {
-}
-POSTONEG_f.prototype.get = function POSTONEG_f() {
-}
-POSTONEG_f.prototype.set = function POSTONEG_f() {
+ }
+ POSTONEG_f.prototype.details = function POSTONEG_f() {
+ }
+ POSTONEG_f.prototype.get = function POSTONEG_f() {
+ }
+ POSTONEG_f.prototype.set = function POSTONEG_f() {
x=arg1;
x.model.firing=[-1];
-}
+ }
}
diff --git a/js/Threshold/ZCROSS_f.js b/js/Threshold/ZCROSS_f.js
index 35da7709..3d77edcc 100644
--- a/js/Threshold/ZCROSS_f.js
+++ b/js/Threshold/ZCROSS_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Threshold/ZCROSS_f.sci" */
function ZCROSS_f() {
-ZCROSS_f.prototype.define = function ZCROSS_f() {
+ ZCROSS_f.prototype.define = function ZCROSS_f() {
rpar=[[-1],[-1],[0],[0]];
in1=1;
model=scicos_model();
@@ -15,12 +15,12 @@ model.dep_ut=[true,false];
exprs=strcat(sci2exp(in1));
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-ZCROSS_f.prototype.details = function ZCROSS_f() {
-}
-ZCROSS_f.prototype.get = function ZCROSS_f() {
-}
-ZCROSS_f.prototype.set = function ZCROSS_f() {
+ }
+ ZCROSS_f.prototype.details = function ZCROSS_f() {
+ }
+ ZCROSS_f.prototype.get = function ZCROSS_f() {
+ }
+ ZCROSS_f.prototype.set = function ZCROSS_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -48,5 +48,5 @@ x.model=model;
break;
}
}
-}
+ }
}