Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • GUI development
    • simplification of architecture
    • table is resizable
  • Integration of NewExtraNamelistPanel  class:
    • Integrated: 
      • Jetto
      • Sanco
      • Mishka
      • Helena
      • Elite
    • Not integrated (not handled by a common class - see below)
      • Grid2D
      • Edge2D
  • Conversion of extrainput.cfg  → YAML
    • working ('dirty') mechanism for conversion of configs prepared (can be extracted)
    • default value of meta_type  - 'array' (out of scalar/array/choice)
    • default value of type  (if not specified in cfg file
      • string' (float?) for scalars (question)
      • float for arrays (question)
    • overview  - short description
Code Block
languageyml
 # any comments can be put here (manually!!!) .... e.g.: 
 ###############################################    
 ###           ITRFASTIONS.                  ### 
 ###############################################   
 - variable: 
      name: ITRFASTIONS
      name_list: NLIST3
      model: 
      tab: 
      link: 
      meta_type: array
      type: integer
      default_value: 
      obsolete: false
      min_value: 
      max_value: 
      overview: 
      description: ' -1 combine fast ions. 0 (default) legacy ps+ns. 1 beams only.
        2 beams+RF minority as thermal Maxwellians'


  • Active variables saved to settings


 Open points

...

Config files

 YAML file format


Code Block
languageyml
 # any comments can be put here (manually!!!) .... e.g.: 
 ###############################################    
 ###           ITRFASTIONS.                  ### 
 ###############################################   
 - variable: 
      name: ITRFASTIONS
      overview: Short description of variable 
	obsolete: false
 - specification      	specification:
           	name_list: NLIST3
           	model: ""
           	tab: ""
    	    obsolete	data: false !<array>
      - data  
 		    meta_type: array
    	   	type: integer
   	    	default_value: ""
  	    	min_value: 
  	    	max_value: 
      - info 
   info:
     	link: http://documentation.server/link/to/documentation/page
        	description: ' -1Weiland combine fast ions. 0 (default) legacy ps+ns. 1 beams only.
            	2 beams+RF minority as thermal Maxwellians'

Outputs:

  • settings (startup.jset) 
  • namelist (jetto.in)
  • anything else?

...

model switches'

 Conversions of config files

  • Working ('dirty') mechanism for conversion of configs prepared (can be extracted)
  • Every time 'old' config file is read, the new one is saved
  • Files saved to  "jams/v210321_gateway_v5/java/lib/jet/misc/extranamelist/resources/" + config_name + ".yaml"  
    • What should be an 'final' destination for them?

Setting files

 File format


Code Block
OutputExtraNamelist.selItems.cell[0][0]                     : EUP
OutputExtraNamelist.selItems.cell[0][1]                     : 1
OutputExtraNamelist.selItems.cell[0][2]                     : 2.5
...
OutputExtraNamelist.selItems.columns                        : 3
OutputExtraNamelist.selItems.rows                           : 17
OutputExtraNamelist.select                                  : true

...