Previous Next Contents

14  Data Structures

14.1   scicos_main Scicos editor main data structure




DEFINITION :

scs_m=list(params,o_1,....,o_n)





PARAMETERS :




DESCRIPTION :

Scicos editor uses and modifies the Scicos editor main data structure to keep all information relative to the edited diagram. Scicos compiler uses it as a input.




See Also : scicos X, scicos_block X, scicos_link X



14.2   scicos_block Scicos block data structure




DEFINITION :

blk=list('Block',graphics,model,void,gui)



PARAMETERS :




DESCRIPTION :

Scicos editor creates and uses for each block a data structure containing all information relative to the graphic interface and simulation part of the block. Each of them are stored in the Scicos editor main data structure. Index of these in Scicos editor main data structure is given by the creation order.

For Super blocks model(8)
contains a data structure similar to the scicos_main data structure.




See Also : scicos_graphics X, scicos_model X



14.3   scicos_graphics Scicos block graphics data structure




DEFINITION :

graphics=list(orig,sz,flip,exprs,pin,pout,pein,peout,gr_i)



PARAMETERS :




DESCRIPTION :

Scicos block graphics data structure contains all information relative to graphical display of the block and to user dialogue. Fields may be fixed by block definition or set as a result of user dialogue or connections.




See Also : scicos X, scicos_model X, scicos_main X



14.4   scicos_model Scicos block functionality data structure




DEFINITION :

model=list(sim,in,out,evtin,evtout,state,dstate,..
      rpar,ipar,blocktype,firing,dep_ut,label,import,ID)



PARAMETERS :




DESCRIPTION :

Scicos block model data structure contains all information relative to the simulation functionality of the block. Fields may be fixed by block definition or set.

If block is a super block, the fields state
,dstate,ipar,blocktype,firing, dep_ut, are unused.

The rpar
field contains a data structure similar to the scicos_main data structure.




See Also : scicos X, scicos_model X, scicos_main X



14.5   scicos_link Scicos link data structure




DEFINITION :

lnk=list('Link',xx,yy,'drawlink',id,[0,0],ct,from,to)



PARAMETERS :




DESCRIPTION :

Scicos editor creates and uses for each link a data structure containing all information relative to the graphic interface and interconnection information. Each of them are stored in the Scicos editor main data structure. Index of these in Scicos editor main data structure is given by the creation order.


See Also : scicos X, scicos_main X, scicos_graphics X, scicos_model X



14.6   scicos_cpr Scicos compiled diagram data structure




DEFINITION :

cpr=list(state,sim,cor,corinv)



PARAMETERS :




DESCRIPTION :

Scicos compiled diagram data structure contains all information needed to simulate the system (see scicosim).


See Also : scicos X, scicos_model X, scicos_main X, scicosim X




Previous Next Contents