From 0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Mon, 18 Jun 2018 17:08:56 +0530 Subject: change order of functions --- js/Misc/CONSTRAINT2_c.js | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'js/Misc/CONSTRAINT2_c.js') diff --git a/js/Misc/CONSTRAINT2_c.js b/js/Misc/CONSTRAINT2_c.js index 1b46dd38..a01c102f 100644 --- a/js/Misc/CONSTRAINT2_c.js +++ b/js/Misc/CONSTRAINT2_c.js @@ -1,5 +1,23 @@ /* autogenerated from "macros/Misc/CONSTRAINT2_c.sci" */ function CONSTRAINT2_c() { +CONSTRAINT2_c.prototype.define = function CONSTRAINT2_c() { +x0=[0]; +xd0=[0]; +id=[0]; +model=scicos_model(); +model.sim=list("constraint_c",10004); +model.in1=1; +model.out=[1,1]; +model.state=[x0,xd0]; +model.ipar=id; +model.blocktype="c"; +model.dep_ut=[false,true]; +exprs=list(strcat(sci2exp(x0)),strcat(sci2exp(xd0)),strcat(sci2exp(id))); +gr_i=[]; +x=standard_define([3,2],model,exprs,gr_i); +} +CONSTRAINT2_c.prototype.details = function CONSTRAINT2_c() { +} CONSTRAINT2_c.prototype.get = function CONSTRAINT2_c() { } CONSTRAINT2_c.prototype.set = function CONSTRAINT2_c() { @@ -51,22 +69,4 @@ break } } } -CONSTRAINT2_c.prototype.define = function CONSTRAINT2_c() { -x0=[0]; -xd0=[0]; -id=[0]; -model=scicos_model(); -model.sim=list("constraint_c",10004); -model.in1=1; -model.out=[1,1]; -model.state=[x0,xd0]; -model.ipar=id; -model.blocktype="c"; -model.dep_ut=[false,true]; -exprs=list(strcat(sci2exp(x0)),strcat(sci2exp(xd0)),strcat(sci2exp(id))); -gr_i=[]; -x=standard_define([3,2],model,exprs,gr_i); -} -CONSTRAINT2_c.prototype.details = function CONSTRAINT2_c() { -} } -- cgit