matcalc.backend package

Provides various backends of running simulations.

run_pes_calc(*arg, **kwargs) SimulationResult[source]

Executes the potential energy surface (PES) calculation using the appropriate backend.

This function determines the backend to use for the PES calculation based on the environment variable MATCALC_BACKEND. If the variable is set to “ASE” (case-insensitive) or is not explicitly provided, the ASE backend is used. Otherwise, the LAMMPS backend is selected. The function then forwards the arguments and keyword arguments to the respective backend function for execution.

Parameters:
  • *arg – Positional arguments forwarded to the selected backend.

  • **kwargs – Keyword arguments forwarded to the selected backend.

Returns:

SimulationResult from the ASE or LAMMPS backend.

Submodules