Versions Compared

Key

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

...

Auxiliary keyword arguments:dbgmode = kwargs.get('dbgmode', False)

if kwargs.get('lib_opt',False):

...

  • mpi_processes

...

  •   - integer - number of MPI processes
  • lib_opt  - boolean - determines of alternative user library should be used, instead of the default one
  • get_output_idss

...

  •   - boolean - determines, what actually will be returned if returned argument is IDS: an IDS object, or metadata describing it
  • strip_output  - boolean - it determines (if returned argument is a string) it it should be stripped or not
  • dbgmode  - boolean - unknown purpose

Returned values

Output values:

  • None - if nothing is returned from called F/C++ method 
  • A single object -  if called method returns only one value
  • A tuple of objects - if called methods returns more than one value. It contains also diagnostic_info if being used.

Weaknesses of current solution


Wrapper API - new design

only kwargs !!!!

...