asimtools.asimmodules package

asimtools.asimmodules.do_nothing module

asimmodule for unit tests and debugging, does nothing for specified duration, mostly used for tests

asimtools.asimmodules.do_nothing.do_nothing(duration: int | None = 5) Dict[source]

Sleep for the specified duration

Parameters:

duration (int, optional) – time in seconds, defaults to 60

Returns:

Dictionary with duration slept for

Return type:

Dict

asimtools.asimmodules.singlepoint module

Calculates single point energy

Author: mkphuthi@github.com

asimtools.asimmodules.singlepoint.singlepoint(calculator: Dict, image: Dict, properties: Tuple[str] = ('energy', 'forces'), prefix: str | None = None) Dict[source]

Evaluates the properties of a single image, currently implemented properties are energy, forces and stress

Parameters:
  • calculator (Dict) – Calculator specification with either a calc_id key to look up from the global calc_input or a calc_params key to use directly, see asimtools.calculators.load_calc()

  • image (Dict) – Image specification, see asimtools.utils.get_atoms()

  • properties (Tuple[str], optional) – properties to evaluate, defaults to (‘energy’, ‘forces’)

Returns:

Dictionary of results

Return type:

Dict

Module contents