Ticket #85 (new Feature)

Opened 16 years ago

Common variables between processors

Reported by: Guillaume Laurens (Airbus) Owned by:
Priority: major Milestone: Unknown
Component: framework Version:
Keywords: Cc:

Description

I need common variables between processors.

An example :

  • I made a XML file with 4 processors.
  • I wand to use a resource that is the same for the 4 processors.
    • I need just one global variable that each processor know.
    • Impossible : variables in .sc files are local to each processor.
    • If I define my variable in .sc file, each processor have a variable : therefore we get 4 variables (one per processor).

I sugest this solution : the user must have the possibility to define a global .sc file. It must be a parameter of the simulation and not a parameter of one processor. And this file must just contain an equivalent of "start_section".
This allow user to define global variables : known for all processor in .sc files.

Note: See TracTickets for help on using tickets.