Types of Global Variables

Discussion about coding and new developments
Post Reply
tetraeder
Posts: 44
Joined: 27 Sep 2012, 13:09
Antispam: Yes

Types of Global Variables

Post by tetraeder »

Hello,

i have a question about global variables. At the moment i can only define global variables with the type of REAL by using:

Code: Select all

      CALL VariableAdd( Model % Variables, Mesh, Solver, 'myglobalvariable', 1, WrkPntr )
...
      Var => VariableGet( Model % Variables, 'myglobalvariable' )  
      Var % Values(1) = myglobalvariable
Is there a way to use other types than REAL. For example Logical?
raback
Site Admin
Posts: 4827
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: Types of Global Variables

Post by raback »

Hi, Unfortunately not. -Peter
tetraeder
Posts: 44
Joined: 27 Sep 2012, 13:09
Antispam: Yes

Re: Types of Global Variables

Post by tetraeder »

Okay. Thank you.
Post Reply