/* autogenerated from "macros/Electrical/Ground.sci" */ function Ground() { Ground.prototype.define = function Ground() { this.model = scicos_model(); this.model.in = new ScilabDouble([1]); this.model.out = new ScilabDouble([]); this.model.sim = new ScilabString(["Ground"]); this.model.blocktype = new ScilabString(["c"]); this.model.dep_ut = new ScilabBoolean([true,false]); var mo = modelica(); mo.model = "Ground"; mo.inputs = "p"; this.model.equations = new ScilabDouble([mo]); var exprs = ""; var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"Ground\",sz(1),sz(2));"]); this.x = new standard_define(new ScilabDouble([1,1]),this.model,new ScilabString([exprs]),list(gr_i,0)); this.x.graphics.in_implicit = ["I"]; this.x.graphics.out_implicit = ["I"]; return new GroundBlock(this.x); } Ground.prototype.details = function Ground() { return this.x; } Ground.prototype.get = function Ground() { alert("parameters cannot be modified"); } Ground.prototype.set = function Ground() { return new GroundBlock(this.x); } Ground.prototype.get_popup_title = function Ground() { return; } }