3.5.5. Settings

ACErxn also offers a few functions that allow interaction with the ACErxn Settings object.

amsinput_from_settings(settings, minimal=False, default_settings=None)

Convert PLAMS Settings object with ACErxn settings to AMS input string

  • settings :: PLAMS Settings object containing the settings for an ACErxn job. Only the settings present in the object will be written.

  • minimal :: If set to True, ony non-default settings in the settings object will be written to file.

Note

Uses PLAMS AMSJob behind the scenes

settings_from_amsinput(text)

Convert AMS input text to settings for ACE (text can contain maximum 2 engine blocks)

  • text – String containing ACErxn keywords in AMS block format. Can also contain system blocks, and up to two engine blocks.