parameters: (config)
return_statement: return
docstring: run SU2_DEF
          partitions set by config.NUMBER_PART
          forced to run in serial, expects merged mesh input
docstring_summary: run SU2_DEF
          partitions set by config.NUMBER_PART
          forced to run in serial, expects merged mesh input
docstring_tokens: run SU2_DEF partitions set by config . NUMBER_PART forced to run in serial expects merged mesh input
function: def DEF(config):
      """ run SU2_DEF
          partitions set by config.NUMBER_PART
          forced to run in serial, expects merged mesh input
      """
      konfig = copy.deepcopy(config)
      
      tempname = 'config_DEF.cfg'
      konfig.dump(tempname) 
      
      # must run with rank 1
      processes = konfig['NUMBER_PART']
      
      the_Command = 'SU2_DEF%s %s' % (quote, tempname)
      the_Command = build_command( the_Command, processes )
      run_command( the_Command )
      
      #os.remove(tempname)
      
      return
function_tokens: def DEF ( config ) : konfig = copy . deepcopy ( config ) tempname = 'config_DEF.cfg' konfig . dump ( tempname ) # must run with rank 1 processes = konfig [ 'NUMBER_PART' ] the_Command = 'SU2_DEF%s %s' % ( quote , tempname ) the_Command = build_command ( the_Command , processes ) run_command ( the_Command ) #os.remove(tempname) return