.. _settings: General settings ================ .. role:: red .. admonition:: Command: cosys(*type*) Definition of the global reference system **Parameter** :red:`type`: | "cartes" cartesian coordinates | "polar" polar coordinates | "cylind" cylindrical coordinates .. admonition:: Command: global_unit(*unit*) Global scaling of units **Parameter** :red:`unit`: | "mm" Specified coordinates are multiplied by 0.001 | "cm" Specified coordinates are multiplied by 0.01 | "m" Specified coordinates are applied immediately .. admonition:: Function: *actual* = state_of_problem(*type*) Determines the nature of the finite element problem **Parameter** :red:`type` Type (optional) **Return** Momentary assigned type (assignment optional) **Types** | magstatic = 0 | elestatic = 1 | magdynamic = 2 | magtransient = 3 | mechstatic = 4 | thermstatic = 5 **Examples** :: state_of_problem("mag_dynamic") --Defines the model as magnetodynamic state_of_problem(2) --Alternative syntax actual = state_of_problem() --Returns current state .. admonition:: Command: pickdist(*x*) Assign the distance for snaps to next nodes. **Parameter** :red:`x` Distance in global units .. admonition:: Command: blow_up_wind(*x1, y1, x2, y2*) Adjustment of the visible screen Parameter | :red:`x1,y1` Lower left corner | :red:`x2,y2` Upper right corner