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
- matcalc.backend._ase module
- matcalc.backend._base module
SimulationResultSimulationResult._asdict()SimulationResult._field_defaultsSimulationResult._fieldsSimulationResult._make()SimulationResult._replace()SimulationResult.energySimulationResult.forcesSimulationResult.kinetic_energySimulationResult.potential_energySimulationResult.stressSimulationResult.structure
- matcalc.backend._lammps module