28.07.2013 Views

On the OMFIT modeling framework and the development of steady ...

On the OMFIT modeling framework and the development of steady ...

On the OMFIT modeling framework and the development of steady ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Unified data structure inherently defines a memory space<br />

where inter-tasks communication can dynamically occur<br />

ONETWO<br />

(modules)<br />

Gfile<br />

(EFIT file)<br />

…<br />

FILES<br />

(directory)<br />

CASE (str)<br />

<strong>OMFIT</strong><br />

RMAXIS (float)<br />

NW (int)<br />

PSIRZ (array)<br />

Kfile<br />

(namelist)<br />

EFIT<br />

(module)<br />

SCRIPTS<br />

(directory)<br />

runEFIT<br />

(python)<br />

myExample<br />

(python)<br />

GUIS<br />

(directory)<br />

PLOTS<br />

(directory)<br />

SETTINGS<br />

(namelist)<br />

<strong>OMFIT</strong>[’ONETWO']['SCRIPTS'][’ONETWOexec'].run()<br />

for scale in [0.9,1.0,1.1]:<br />

<strong>OMFIT</strong>[‘EFIT’]['FILES'][‘Kfile']['IN1']['PRESSR']=\<br />

<strong>OMFIT</strong>[’ONETWO’]['FILES']['statefile']['press’]*scale<br />

<strong>OMFIT</strong>['EFIT'][’SCRIPTS']['EFITexec'].run()<br />

print(<strong>OMFIT</strong>[‘EFIT’]['FILES'][‘Gfile’][‘RMAXIS’])

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!