Page 17 - Demo
P. 17
Interface to Gauss%uf09f%uf09fRCPConsult2022-2025Page 1711.Generation of a Run ScriptIf some module of STRUREL performs a calculation, it operates with three states of analysis: Deterministic Solution(StrurelMode=0), Intermediate States(StrurelMode=1)and final Stochastic Solution(StrurelMode=2). An additional Run Script, covering all steps of analysis in terms of Gaussengine, can be created. Together with a Gaussscript, containing definitionof thestate function, this comprisesa bundle of two files whichcan be executed independently of STRUREL software on any computer platform (Windows, Linuxor macOS) that supportsthe Gaussengine.To activate generation of Run Script use Resultscategory in Preferencesdialog box of STRUREL module.If a generation of Run Script is activated,two kinds of script can be produced. For external interface script withdefinition ofstate function, for example: Stone.g, a script with name: run$Stone.gwill be created on a run event. If thestate function definitionis a direct expression,then a script with name: run$expressionN.gwill be generated, where N is some sequential number.The bundle of run$Stone.gand Stone.gscripts or the single script run$expressionN.gcontains all data of the analysisand can be executed fromcommand line or in terminal mode independly ofSTRUREL software.For example in Windowsenvironmentyou can use commands: engauss-b\correspondingly.Attention:in the unlicensed version of Gauss Interface creation of data forIntermediate Statesis disabled.