summaryrefslogtreecommitdiff
path: root/js/Electrical/Gyrator.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Electrical/Gyrator.js')
-rw-r--r--js/Electrical/Gyrator.js38
1 files changed, 19 insertions, 19 deletions
diff --git a/js/Electrical/Gyrator.js b/js/Electrical/Gyrator.js
index f7890c6d..7d246e9f 100644
--- a/js/Electrical/Gyrator.js
+++ b/js/Electrical/Gyrator.js
@@ -1,24 +1,5 @@
/* autogenerated from "macros/Electrical/Gyrator.sci" */
function Gyrator() {
-Gyrator.prototype.get = function Gyrator() {
-}
-Gyrator.prototype.set = function Gyrator() {
-x=arg1;
-graphics=arg1.graphics;
-exprs=graphics.exprs;
-model=arg1.model;
-x=arg1;
-exprs=x.graphics.exprs;
-while (true) {
-[ok,G1,G2,exprs]=scicos_getvalue(["Set Gyrator block parameters:","","G1: Gyration conductance","G2: Gyration conductance"],["G1","G2"],list("vec",1,"vec",1),exprs);
-if (!ok) {
-break
-}
-x.model.equations.parameters[2-1]=list(G1,G2);
-x.graphics.exprs=exprs;
-break
-}
-}
Gyrator.prototype.define = function Gyrator() {
ModelName="Gyrator";
PrametersValue=[1,1];
@@ -69,4 +50,23 @@ x.graphics.out_implicit=Typeout;
}
Gyrator.prototype.details = function Gyrator() {
}
+Gyrator.prototype.get = function Gyrator() {
+}
+Gyrator.prototype.set = function Gyrator() {
+x=arg1;
+graphics=arg1.graphics;
+exprs=graphics.exprs;
+model=arg1.model;
+x=arg1;
+exprs=x.graphics.exprs;
+while (true) {
+[ok,G1,G2,exprs]=scicos_getvalue(["Set Gyrator block parameters:","","G1: Gyration conductance","G2: Gyration conductance"],["G1","G2"],list("vec",1,"vec",1),exprs);
+if (!ok) {
+break
+}
+x.model.equations.parameters[2-1]=list(G1,G2);
+x.graphics.exprs=exprs;
+break
+}
+}
}